/* ============================================================
   migono动漫完整版在线观看 — 全站样式表
   专题档案风：米白纸面 / 深墨绿档案色 / 暖橙索引点缀
   目录：
   01 base        — 基础变量、重置、排版、通用工具
   02 layout      — 页头、页脚、主容器、面包屑、页标题区
   03 components  — 卡片、标签、列表、表格、FAQ、步骤、按钮
   04 pages       — 首页与各内页业务模块布局
   05 responsive  — 1024px / 768px / 390px 断点适配
   ============================================================ */

/* ============================================================
   01 base
   ============================================================ */
:root {
  --paper: #f7f4ee;
  --ink-green: #2f4f4f;
  --ink-orange: #c15f3c;
  --ink-dark: #2b2b2b;
  --card-bg: #eae4d8;
  --footer-bg: #243b37;
  --line: rgba(47, 79, 79, 0.16);
  --line-soft: rgba(47, 79, 79, 0.08);
  --white: #fffdf8;
  --container: 1120px;
  --radius: 6px;
  --radius-sm: 4px;
  --shadow: 0 1px 4px rgba(36, 59, 55, 0.06);
  --shadow-hover: 0 4px 14px rgba(36, 59, 55, 0.1);
  --font-serif: Georgia, "Songti SC", "Noto Serif SC", serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", 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 {
  background-color: var(--paper);
  color: var(--ink-dark);
  font-family: var(--font-sans);
  line-height: 1.75;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ink-green);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--ink-orange);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  color: var(--ink-green);
  line-height: 1.35;
  font-weight: 700;
}

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

details summary {
  cursor: pointer;
  list-style: none;
}

details summary::-webkit-details-marker {
  display: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* 通用容器 */
.site-main {
  flex: 1 0 auto;
}

/* ============================================================
   02 layout — 页头 / 页脚 / 面包屑 / 页标题区
   ============================================================ */
.site-header {
  background-color: var(--white);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 100;
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink-green);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-list li a {
  display: block;
  padding: 8px 14px;
  font-size: 0.92rem;
  color: var(--ink-dark);
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-list li a:hover {
  background-color: rgba(47, 79, 79, 0.08);
  color: var(--ink-green);
}

.nav-list li a.is-current {
  background-color: var(--ink-green);
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--ink-green);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* 页脚 */
.site-footer {
  background-color: var(--footer-bg);
  color: rgba(255, 255, 255, 0.85);
  margin-top: auto;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 20px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-col h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
  margin-bottom: 0;
}

/* 面包屑 */
.breadcrumb {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 20px 0;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-green);
}

.breadcrumb a {
  color: var(--ink-green);
}

.breadcrumb a:hover {
  color: var(--ink-orange);
}

.breadcrumb-sep {
  color: rgba(47, 79, 79, 0.4);
}

.breadcrumb-current {
  color: var(--ink-dark);
  font-weight: 500;
}

/* 内页主容器 */
.inner-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px 64px;
  width: 100%;
}

/* 页标题区 */
.page-header {
  padding: 36px 0 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}

.page-header .archive-tag,
.page-header .page-tag {
  display: inline-block;
  background-color: var(--ink-orange);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 2px;
  margin-bottom: 14px;
  letter-spacing: 0.06em;
}

.page-title {
  font-size: 2rem;
  color: var(--ink-green);
  margin-bottom: 14px;
}

.page-description {
  font-size: 1rem;
  color: rgba(43, 43, 43, 0.78);
  max-width: 720px;
  margin-bottom: 0;
}

/* ============================================================
   03 components — 卡片 / 标签 / 列表 / 表格 / FAQ / 步骤
   ============================================================ */

/* 区块标题（含编号） */
.section-heading {
  margin-bottom: 28px;
}

.section-heading .section-index,
.section-heading .section-number,
.section-title .section-number,
.section-title .section-no {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-orange);
  margin-right: 10px;
  letter-spacing: 0.04em;
}

.section-heading h2,
.section-title {
  display: inline-block;
  font-size: 1.45rem;
  color: var(--ink-green);
  margin-bottom: 0;
}

.section-note,
.section-lead {
  font-size: 0.95rem;
  color: rgba(43, 43, 43, 0.72);
  margin-top: 8px;
  margin-bottom: 0;
}

/* 通用卡片 */
.board-card,
.topic-card,
.related-card,
.board-link-card,
.audience-card,
.scope-card,
.feedback-card,
.mechanism-item,
.revision-step,
.rule-card,
.form-card,
.template-card,
.announcement-item,
.guide-step {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.board-card:hover,
.topic-card:hover,
.related-card:hover,
.board-link-card:hover,
.audience-card:hover,
.scope-card:hover,
.feedback-card:hover,
.mechanism-item:hover,
.revision-step:hover,
.rule-card:hover,
.form-card:hover,
.template-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(47, 79, 79, 0.28);
  transform: translateY(-2px);
}

/* 标签 */
.board-tag,
.direction-tag {
  display: inline-block;
  background-color: var(--card-bg);
  color: var(--ink-green);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 2px;
  letter-spacing: 0.04em;
}

.tag-item {
  display: inline-block;
  background-color: var(--card-bg);
  color: var(--ink-green);
  font-size: 0.9rem;
  padding: 6px 18px;
  border-radius: 20px;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tag-item:hover {
  background-color: var(--ink-green);
  color: #fff;
  border-color: var(--ink-green);
}

/* 编号徽标 */
.card-num,
.entry-num,
.step-num,
.step-no,
.step-number {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--ink-orange);
  line-height: 1;
}

/* FAQ */
.faq-item {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--ink-green);
  font-size: 1rem;
  position: relative;
  padding-right: 48px;
  transition: background-color 0.2s ease;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--ink-orange);
  font-weight: 400;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item[open] summary {
  background-color: rgba(47, 79, 79, 0.04);
}

.faq-item p {
  padding: 0 20px 16px;
  font-size: 0.95rem;
  color: rgba(43, 43, 43, 0.8);
}

/* 表格 */
.table-scroll {
  overflow-x: auto;
  margin-bottom: 24px;
}

.dimensions-table,
.board-table {
  min-width: 560px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.dimensions-table th,
.dimensions-table td,
.board-table th,
.board-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.95rem;
  vertical-align: top;
}

.dimensions-table thead th,
.board-table thead th {
  background-color: var(--ink-green);
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.95rem;
}

.dimensions-table tbody tr:last-child td,
.board-table tbody tr:last-child td {
  border-bottom: none;
}

.dimensions-table tbody th,
.board-table tbody th {
  background-color: rgba(47, 79, 79, 0.06);
  font-family: var(--font-serif);
  color: var(--ink-green);
  white-space: nowrap;
}

/* 步骤条 */
.guide-steps,
.path-steps,
.writing-steps,
.revision-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.guide-step,
.path-step,
.writing-step,
.revision-step {
  padding: 24px;
  position: relative;
}

.step-num,
.step-no,
.step-number {
  display: inline-block;
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.guide-step h3,
.path-step h3,
.writing-step h3,
.revision-step h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.guide-step p,
.path-step p,
.writing-step p,
.revision-step p {
  font-size: 0.92rem;
  color: rgba(43, 43, 43, 0.75);
  margin-bottom: 0;
}

/* 链接入口 */
.guide-entry,
.faq-all-link,
.faq-more a {
  display: inline-block;
  margin-top: 20px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-orange);
}

.guide-entry::after,
.faq-all-link::after,
.faq-more a::after,
.link-more::after {
  content: "→";
  margin-left: 6px;
  transition: transform 0.2s ease;
}

.guide-entry:hover::after,
.faq-all-link:hover::after,
.faq-more a:hover::after,
.link-more:hover::after {
  transform: translateX(4px);
}

/* 图片容器 */
figure {
  margin: 0;
}

figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
}

figure figcaption {
  font-size: 0.85rem;
  color: rgba(43, 43, 43, 0.6);
  margin-top: 8px;
  text-align: center;
}

/* ============================================================
   04 pages — 首页
   ============================================================ */
.home-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px 64px;
  width: 100%;
}

/* 首屏上部分栏 */
.hero-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  padding: 56px 0 40px;
  align-items: center;
}

.hero-copy {
  max-width: 640px;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-orange);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  border-left: 3px solid var(--ink-orange);
  padding-left: 12px;
}

.hero-top h1 {
  font-size: 2.1rem;
  line-height: 1.3;
  margin-bottom: 14px;
}

.hero-slogan {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--ink-green);
  margin-bottom: 12px;
}

.hero-intro {
  font-size: 0.98rem;
  color: rgba(43, 43, 43, 0.78);
  margin-bottom: 0;
}

.hero-entries {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-entry {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.hero-entry:hover {
  border-color: rgba(47, 79, 79, 0.3);
  box-shadow: var(--shadow-hover);
  transform: translateX(4px);
}

.entry-num {
  font-size: 1.1rem;
  min-width: 32px;
}

.entry-text {
  font-size: 0.95rem;
  color: var(--ink-dark);
  font-weight: 500;
}

/* 首屏主图 */
.content-media-primary {
  margin-bottom: 20px;
}

.content-media-primary img {
  aspect-ratio: 4 / 3;
}

.content-media-inline img {
  aspect-ratio: 16 / 9;
}

/* 首屏下部：正在讨论 */
.hero-content {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.topic-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.topic-card {
  padding: 24px;
}

.topic-card .board-tag {
  margin-bottom: 12px;
}

.topic-card h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.topic-card p {
  font-size: 0.92rem;
  color: rgba(43, 43, 43, 0.75);
  margin-bottom: 16px;
}

.topic-card a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-orange);
}

.topic-card a::after {
  content: "→";
  margin-left: 4px;
}

/* 版块索引四卡 */
.board-index {
  padding: 40px 0;
}

.board-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.board-card {
  padding: 24px;
  position: relative;
  border-left: 3px solid var(--ink-green);
}

.board-card .card-num {
  display: inline-block;
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.board-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.board-goal {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-green);
  margin-bottom: 6px;
}

.board-angle {
  font-size: 0.88rem;
  color: rgba(43, 43, 43, 0.7);
  margin-bottom: 16px;
}

.board-card a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-orange);
}

.board-card a::after {
  content: "→";
  margin-left: 4px;
}

/* 双栏区 */
.home-dual {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.topic-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.topic-item {
  padding: 20px 24px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-left: 3px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.topic-item:hover {
  border-left-color: var(--ink-orange);
  transform: translateX(4px);
}

.topic-item .board-tag {
  margin-bottom: 8px;
}

.topic-item h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.topic-item p {
  font-size: 0.9rem;
  color: rgba(43, 43, 43, 0.7);
  margin-bottom: 0;
}

/* 公告侧栏 */
.announcement-sidebar {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  align-self: start;
}

.announcement-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.announcement-item {
  padding: 16px;
  background-color: rgba(234, 228, 216, 0.4);
  border: none;
}

.announcement-item h3 {
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.announcement-item p {
  font-size: 0.88rem;
  color: rgba(43, 43, 43, 0.72);
  margin-bottom: 8px;
}

.announcement-item a {
  font-size: 0.85rem;
  color: var(--ink-orange);
  font-weight: 600;
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.sidebar-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-green);
}

.sidebar-links a::after {
  content: "→";
  margin-left: 4px;
  color: var(--ink-orange);
}

/* 发帖指南 */
.posting-guide {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.guide-steps {
  grid-template-columns: repeat(3, 1fr);
}

.guide-step {
  text-align: center;
  padding: 32px 24px;
}

.guide-step .step-num {
  font-size: 1.8rem;
}

.guide-step h3 {
  font-size: 1.05rem;
}

.guide-entry {
  text-align: center;
  display: block;
  margin-top: 28px;
}

/* FAQ 折叠 */
.faq-fold {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.faq-list {
  max-width: 760px;
}

/* ============================================================
   04 pages — 内页通用
   ============================================================ */

/* 新手指南 */
.path-steps {
  grid-template-columns: repeat(4, 1fr);
}

.board-table {
  margin-bottom: 32px;
}

.posting-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}

.posting-list ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.posting-list ul li {
  padding: 14px 18px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.posting-list ul li strong {
  color: var(--ink-green);
  margin-right: 8px;
}

.posting-list p {
  font-size: 0.92rem;
  color: rgba(43, 43, 43, 0.75);
}

.posting-list p a {
  font-weight: 600;
  color: var(--ink-orange);
}

.posting-figure img {
  aspect-ratio: 4 / 3;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.related-card {
  padding: 24px;
}

.related-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.related-card p {
  font-size: 0.92rem;
  color: rgba(43, 43, 43, 0.72);
  margin-bottom: 0;
}

/* 作品档案 */
.topic-tags-section {
  margin-bottom: 40px;
}

.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.grouped-works-section {
  margin-bottom: 40px;
}

.work-group {
  margin-bottom: 32px;
}

.group-title {
  font-size: 1.15rem;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.work-item-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.work-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 20px;
  padding: 14px 18px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.work-item:hover {
  border-color: rgba(47, 79, 79, 0.3);
  transform: translateX(4px);
}

.work-name {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--ink-green);
  min-width: 160px;
}

.work-angle {
  font-size: 0.9rem;
  color: rgba(43, 43, 43, 0.72);
  flex: 1;
  min-width: 240px;
}

.archive-rules-section {
  margin-bottom: 40px;
}

.rules-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.rules-list li {
  padding: 18px 20px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.rule-title {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--ink-green);
  margin-bottom: 6px;
}

.rule-desc {
  font-size: 0.9rem;
  color: rgba(43, 43, 43, 0.72);
}

.board-link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.board-link-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.board-link-name {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--ink-green);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.board-link-desc {
  font-size: 0.9rem;
  color: rgba(43, 43, 43, 0.72);
  margin-bottom: 12px;
}

.board-link-card::after {
  content: "→";
  color: var(--ink-orange);
  font-weight: 700;
  margin-top: auto;
}

.archive-figure {
  margin-top: 40px;
}

.archive-hero-img {
  aspect-ratio: 21 / 9;
}

/* 追更情报 */
.template-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.template-card {
  padding: 22px;
}

.template-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
}

.template-card p {
  font-size: 0.88rem;
  color: rgba(43, 43, 43, 0.72);
  margin-bottom: 0;
}

.direction-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.direction-item {
  padding: 18px 22px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-left: 3px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.direction-item:hover {
  border-left-color: var(--ink-orange);
  transform: translateX(4px);
}

.direction-item .direction-tag {
  margin-bottom: 8px;
}

.direction-item h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.direction-item p {
  font-size: 0.9rem;
  color: rgba(43, 43, 43, 0.7);
  margin-bottom: 0;
}

.source-note-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.source-note-item {
  padding: 16px 18px;
  background-color: rgba(234, 228, 216, 0.5);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: rgba(43, 43, 43, 0.75);
}

.section-figure {
  margin-top: 40px;
}

.section-figure img {
  aspect-ratio: 21 / 9;
}

/* 番剧安利 */
.dimensions-section {
  margin-bottom: 40px;
}

.writing-steps {
  grid-template-columns: repeat(4, 1fr);
}

.writing-step {
  padding: 22px;
}

.writing-step .step-no {
  font-size: 1.4rem;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.audience-card {
  padding: 22px;
}

.audience-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.audience-card p {
  font-size: 0.9rem;
  color: rgba(43, 43, 43, 0.72);
  margin-bottom: 0;
}

.recommend-figure img {
  aspect-ratio: 21 / 9;
}

.board-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.board-links .board-link-card {
  display: flex;
  flex-direction: column;
}

.link-label {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--ink-green);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.link-desc {
  font-size: 0.9rem;
  color: rgba(43, 43, 43, 0.72);
  margin-bottom: 12px;
}

.board-links .board-link-card::after {
  content: "→";
  color: var(--ink-orange);
  font-weight: 700;
  margin-top: auto;
}

/* 剧情讨论 */
.spoiler-rule {
  margin-bottom: 40px;
}

.rule-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.rule-card {
  padding: 22px;
}

.rule-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.rule-card p {
  font-size: 0.9rem;
  color: rgba(43, 43, 43, 0.72);
  margin-bottom: 0;
}

.forms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.form-card {
  padding: 22px;
}

.form-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.form-card p {
  font-size: 0.9rem;
  color: rgba(43, 43, 43, 0.72);
  margin-bottom: 0;
}

.structure-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.structure-list li {
  padding: 22px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: structure-counter;
  position: relative;
}

.structure-list li h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.structure-list li p {
  font-size: 0.9rem;
  color: rgba(43, 43, 43, 0.72);
  margin-bottom: 0;
}

.structure-list li::before {
  content: counter(structure-counter, decimal-leading-zero);
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--ink-orange);
  font-size: 1.3rem;
  display: block;
  margin-bottom: 8px;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.links-grid .board-link-card {
  display: flex;
  flex-direction: column;
}

.links-grid .board-link-card::after {
  content: "→";
  color: var(--ink-orange);
  font-weight: 700;
  margin-top: auto;
}

.discussion-figure img {
  aspect-ratio: 21 / 9;
}

/* 社区规范 */
.rule-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}

.rule-item {
  padding: 20px 24px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-left: 3px solid var(--ink-green);
}

.rule-item h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.rule-item p {
  font-size: 0.92rem;
  color: rgba(43, 43, 43, 0.75);
  margin-bottom: 0;
}

.violation-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.violation-item {
  padding: 20px 24px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.violation-item h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.violation-item p {
  font-size: 0.9rem;
  color: rgba(43, 43, 43, 0.75);
}

.faq-accordion {
  margin-bottom: 24px;
}

.faq-more {
  margin-bottom: 40px;
}

.feedback-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.feedback-item {
  padding: 22px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feedback-item h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.feedback-item p {
  font-size: 0.9rem;
  color: rgba(43, 43, 43, 0.72);
  margin-bottom: 12px;
}

.feedback-item a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-orange);
}

.feedback-item a::after {
  content: "→";
  margin-left: 4px;
}

.related-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.related-links .related-card {
  display: flex;
  flex-direction: column;
}

.related-links .related-card .link-more {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-orange);
}

.rule-figure img {
  aspect-ratio: 21 / 9;
}

/* 站务动态 */
.scope-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.scope-card {
  padding: 22px;
}

.scope-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.scope-card p {
  font-size: 0.9rem;
  color: rgba(43, 43, 43, 0.72);
  margin-bottom: 0;
}

.mechanism-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}

.mechanism-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding: 18px 24px;
  align-items: baseline;
}

.mechanism-item h3 {
  font-size: 1rem;
  margin-bottom: 0;
}

.mechanism-item p {
  font-size: 0.9rem;
  color: rgba(43, 43, 43, 0.72);
  margin-bottom: 0;
}

.revision-steps {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 32px;
}

.revision-figure img {
  aspect-ratio: 21 / 9;
  margin-bottom: 40px;
}

.feedback-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.feedback-card {
  padding: 22px;
}

.feedback-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.feedback-card p {
  font-size: 0.9rem;
  color: rgba(43, 43, 43, 0.72);
  margin-bottom: 0;
}

.related-link-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.related-link-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.related-link-title {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--ink-green);
  font-size: 1rem;
  margin-bottom: 8px;
}

.related-link-desc {
  font-size: 0.9rem;
  color: rgba(43, 43, 43, 0.72);
  margin-bottom: 12px;
}

.related-link-card::after {
  content: "→";
  color: var(--ink-orange);
  font-weight: 700;
  margin-top: auto;
}

/* 404 页面 */
.error-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 20px;
  width: 100%;
  text-align: center;
}

.error-code {
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 700;
  color: var(--ink-orange);
  line-height: 1;
  margin-bottom: 16px;
}

.error-content h1 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.error-desc {
  font-size: 1rem;
  color: rgba(43, 43, 43, 0.75);
  max-width: 520px;
  margin: 0 auto 24px;
}

.error-actions {
  margin-bottom: 20px;
}

.error-btn {
  display: inline-block;
  padding: 12px 32px;
  background-color: var(--ink-green);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.error-btn:hover {
  background-color: var(--ink-orange);
  color: #fff;
}

.error-help {
  font-size: 0.9rem;
  color: rgba(43, 43, 43, 0.6);
}

/* ============================================================
   05 responsive
   ============================================================ */

/* 1024px 断点：平板竖屏与小笔记本 */
@media (max-width: 1024px) {
  .header-inner {
    padding: 0 16px;
  }

  .nav-list li a {
    padding: 8px 10px;
    font-size: 0.85rem;
  }

  .home-main,
  .inner-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-top {
    gap: 32px;
    padding: 40px 0 32px;
  }

  .hero-top h1 {
    font-size: 1.8rem;
  }

  .topic-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .topic-card:last-child {
    grid-column: span 2;
  }

  .board-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-dual {
    grid-template-columns: 1fr 320px;
    gap: 28px;
  }

  .template-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .path-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .writing-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .structure-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

/* 768px 断点：手机横屏与小平板 */
@media (max-width: 768px) {
  .header-inner {
    min-height: 60px;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    order: 3;
    width: 100%;
    display: block;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 12px 0;
    border-top: 1px solid var(--line);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list li a {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    width: 100%;
  }

  .hero-top {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0 24px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-entries {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-entry {
    flex: 1 1 calc(50% - 8px);
    padding: 14px 16px;
  }

  .topic-cards {
    grid-template-columns: 1fr;
  }

  .topic-card:last-child {
    grid-column: span 1;
  }

  .board-cards {
    grid-template-columns: 1fr;
  }

  .home-dual {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .announcement-sidebar {
    order: -1;
  }

  .guide-steps {
    grid-template-columns: 1fr;
  }

  .posting-layout {
    grid-template-columns: 1fr;
  }

  .posting-figure {
    order: -1;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .rules-list {
    grid-template-columns: 1fr;
  }

  .board-link-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .template-grid {
    grid-template-columns: 1fr;
  }

  .source-note-list {
    grid-template-columns: 1fr;
  }

  .writing-steps {
    grid-template-columns: 1fr;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .board-links {
    grid-template-columns: 1fr;
  }

  .rule-grid {
    grid-template-columns: 1fr;
  }

  .forms-grid {
    grid-template-columns: 1fr;
  }

  .structure-list {
    grid-template-columns: 1fr;
  }

  .links-grid {
    grid-template-columns: 1fr;
  }

  .violation-list {
    grid-template-columns: 1fr;
  }

  .feedback-list {
    grid-template-columns: 1fr;
  }

  .related-links {
    grid-template-columns: 1fr;
  }

  .scope-grid {
    grid-template-columns: 1fr;
  }

  .mechanism-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .revision-steps {
    grid-template-columns: 1fr;
  }

  .feedback-grid {
    grid-template-columns: 1fr;
  }

  .path-steps {
    grid-template-columns: 1fr;
  }

  .page-header {
    padding: 24px 0 20px;
    margin-bottom: 28px;
  }

  .page-title {
    font-size: 1.6rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 16px 24px;
  }

  .breadcrumb {
    padding: 14px 16px 0;
  }

  .inner-main {
    padding-bottom: 40px;
  }
}

/* 390px 断点：小屏手机 */
@media (max-width: 390px) {
  .brand-name {
    font-size: 0.95rem;
  }

  .hero-top h1 {
    font-size: 1.5rem;
  }

  .hero-slogan {
    font-size: 1rem;
  }

  .hero-intro {
    font-size: 0.92rem;
  }

  .hero-entry {
    flex: 1 1 100%;
  }

  .section-heading h2,
  .section-title {
    font-size: 1.25rem;
  }

  .topic-card,
  .board-card,
  .announcement-sidebar,
  .guide-step {
    padding: 18px;
  }

  .work-item {
    flex-direction: column;
    gap: 4px;
  }

  .work-name {
    min-width: 0;
  }

  .work-angle {
    min-width: 0;
  }

  .board-link-grid {
    grid-template-columns: 1fr;
  }

  .dimensions-table,
  .board-table {
    min-width: 480px;
  }

  .footer-bottom {
    padding: 16px;
    font-size: 0.8rem;
  }
}

/* 滚动进入视口动画（渐进增强，不影响初始可见性） */
@media (prefers-reduced-motion: no-preference) {
  .board-card,
  .topic-card,
  .guide-step,
  .related-card,
  .audience-card,
  .scope-card,
  .feedback-card,
  .form-card,
  .template-card,
  .rule-card {
    animation: fade-up 0.5s ease both;
    animation-play-state: paused;
  }

  .board-card:nth-child(1),
  .topic-card:nth-child(1),
  .guide-step:nth-child(1),
  .related-card:nth-child(1),
  .audience-card:nth-child(1),
  .scope-card:nth-child(1),
  .feedback-card:nth-child(1),
  .form-card:nth-child(1),
  .template-card:nth-child(1),
  .rule-card:nth-child(1) {
    animation-play-state: running;
  }

  @keyframes fade-up {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* 程序验收反馈：修复网格孤项 */
@media (min-width: 769px) {
  .board-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
