/* ============================================================
   91短剧 · langershow.com 全站样式表
   单色品牌风：黑底页头 + 暖白正文 + 识别黄点缀
   ============================================================ */

/* --------------------------------------------
   Base · 基础变量与重置
-------------------------------------------- */
:root {
  --ink: #111214;
  --ink-soft: #1c1e21;
  --paper: #F4F5F0;
  --paper-deep: #eceee6;
  --yellow: #E8B92E;
  --yellow-soft: #f5df9e;
  --gray: #6A6D75;
  --line: #D8DAD3;
  --white: #ffffff;
  --container: 1160px;
  --read-width: 760px;
  --radius: 6px;
  --font-stack: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", -apple-system, "Segoe UI", sans-serif;
  --mono: "SF Mono", "JetBrains Mono", Consolas, "Courier New", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-stack);
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

a:hover {
  color: #8a6a12;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

/* --------------------------------------------
   Layout · 通用布局骨架
-------------------------------------------- */
.site-header {
  background: var(--ink);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  color: var(--white);
  flex-shrink: 0;
}

.brand-link:hover {
  color: var(--yellow);
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.site-nav {
  display: block;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  border-bottom: 2px solid transparent;
  line-height: 1.4;
}

.nav-link:hover {
  color: var(--white);
  border-bottom-color: var(--yellow);
}

.nav-link.is-current {
  color: var(--white);
  border-bottom-color: var(--yellow);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  color: var(--white);
  padding: 8px 12px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
}

.nav-toggle:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.nav-toggle-text {
  font-size: 14px;
  font-weight: 600;
}

.site-main {
  min-height: 60vh;
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  margin-top: 0;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

.footer-heading {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  display: inline-block;
  padding: 2px 0;
}

.footer-links a:hover {
  color: var(--yellow);
}

.footer-note {
  padding-left: 8px;
}

.footer-brand {
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom .copyright {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

/* --------------------------------------------
   Components · 通用组件
-------------------------------------------- */
/* 面包屑 */
.breadcrumb {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px 0;
  font-size: 13px;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--gray);
}

.breadcrumb a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--line);
  font-size: 12px;
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 600;
}

/* 内页标题区 */
.page-header {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 24px 32px;
}

.page-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 10px;
}

.page-description {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.8;
  max-width: var(--read-width);
}

/* 区块标题 */
.section-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 10px;
}

.section-note,
.section-desc,
.section-intro,
.section-lead {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
}

/* 文字链接 */
.text-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 2px;
  line-height: 1.5;
}

.text-link:hover {
  color: #8a6a12;
  border-bottom-color: #8a6a12;
}

/* 黄色状态标签 */
.status-pill,
.result-count,
.entry-tag,
.row-tag,
.direction-number,
.type-num,
.genre-number,
.step-num,
.task-num {
  font-family: var(--mono);
  font-weight: 700;
}

.status-pill {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 2px;
  letter-spacing: 0.05em;
}

/* 内页正文容器 */
.inner-main {
  background: var(--paper);
}

.inner-main .page-header {
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}

/* 内页各 section 通用容器 */
.inner-main > section,
.inner-main > .content-section {
  max-width: var(--container);
  margin: 0 auto 56px;
  padding: 0 24px;
}

/* --------------------------------------------
   Pages · 首页
-------------------------------------------- */
.home-main {
  background: var(--paper);
}

/* ---- 首屏收录任务桌 ---- */
.hero-task {
  background: var(--ink);
  color: var(--white);
  padding: 64px 24px 72px;
}

.hero-task > * {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.status-pill {
  margin-bottom: 4px;
}

.home-title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
  max-width: 600px;
}

.hero-lead {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  max-width: 540px;
}

.task-status-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
  width: 100%;
  max-width: 560px;
}

.task-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-left: 3px solid var(--yellow);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.task-num {
  color: var(--yellow);
  font-size: 13px;
  line-height: 2;
  flex-shrink: 0;
  width: 24px;
}

.task-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

/* 首页 hero 主视觉（桌面两栏） */
.hero-task {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(17, 18, 20, 0.82);
  color: var(--white);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 2px;
  border-left: 2px solid var(--yellow);
}

/* ---- 频道对象索引带 ---- */
.channel-index-section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px 24px 56px;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading .section-title {
  margin-bottom: 6px;
}

.channel-card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.channel-card {
  border: 1px solid var(--line);
  border-top: 3px solid var(--yellow);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.channel-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}

.channel-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
  flex-grow: 1;
}

.channel-card .text-link {
  align-self: flex-start;
  margin-top: 4px;
}

/* ---- 当前目录结果区 ---- */
.catalog-result-section {
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 56px 24px 64px;
}

.catalog-result-section > * {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.filter-text {
  font-size: 14px;
  color: var(--gray);
}

.result-count {
  background: var(--yellow);
  color: var(--ink);
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 2px;
}

.result-list {
  display: flex;
  flex-direction: column;
}

.result-row {
  display: grid;
  grid-template-columns: 72px 96px 1fr 140px;
  gap: 16px;
  align-items: center;
  padding: 16px 8px;
  border-bottom: 1px solid var(--line);
}

.result-row:last-child {
  border-bottom: none;
}

.result-row:hover {
  background: rgba(232, 185, 46, 0.05);
}

.row-index {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gray);
  font-weight: 600;
}

.row-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 2px 8px;
  border-radius: 2px;
  text-align: center;
  white-space: nowrap;
}

.row-desc {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.7;
}

.row-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--yellow);
  padding-bottom: 1px;
  text-align: right;
  justify-self: end;
}

.row-link:hover {
  color: #8a6a12;
}

/* ---- 题材类型快捷网格 ---- */
.genre-grid-section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px 24px 56px;
}

.genre-grid-section .section-heading {
  max-width: var(--read-width);
}

.genre-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.genre-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  background: var(--white);
  min-height: 88px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.genre-cell:hover {
  border-color: var(--yellow);
  box-shadow: 0 2px 8px rgba(232, 185, 46, 0.15);
}

.genre-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}

.genre-scene {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}

.genre-figure {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.genre-image {
  width: 100%;
  aspect-ratio: 21 / 6;
  object-fit: cover;
}

/* ---- 观前确认窄带 ---- */
.preview-check-strip {
  background: var(--yellow);
  padding: 48px 24px;
}

.preview-check-strip > * {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.strip-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 24px;
}

.strip-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.strip-step {
  background: rgba(255, 255, 255, 0.4);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.strip-step .step-num {
  font-size: 13px;
  color: var(--ink);
  opacity: 0.6;
}

.strip-step .step-text {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.7;
  font-weight: 500;
}

.strip-step .step-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: 4px;
}

.strip-step .step-link:hover {
  text-decoration: none;
  background: var(--ink);
  color: var(--yellow);
  padding: 2px 6px;
  border-radius: 2px;
}

.strip-cta {
  display: inline-block;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--radius);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.strip-cta:hover {
  background: var(--white);
  color: var(--ink);
}

/* --------------------------------------------
   Pages · 内页公共模块
-------------------------------------------- */
/* 内页 section 间距统一下沉 */
.inner-main section {
  margin-bottom: 56px;
}

.inner-main section:last-of-type {
  margin-bottom: 64px;
}

/* --------------------------------------------
   Pages · 最新收录 latest.html
-------------------------------------------- */
.archive-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.archive-text h2 {
  margin-bottom: 12px;
}

.archive-text p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 10px;
}

.archive-text p:last-child {
  margin-bottom: 0;
}

.archive-figure {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.archive-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.archive-figure figcaption {
  font-size: 12px;
  color: var(--gray);
  padding: 8px 12px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.entries-section h2 {
  margin-bottom: 6px;
}

.entries-note {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 20px;
}

.entry-list {
  border-top: 2px solid var(--ink);
}

.entry-item {
  display: grid;
  grid-template-columns: 64px 100px 1fr;
  gap: 16px;
  padding: 18px 8px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.entry-index {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  padding-top: 2px;
}

.entry-tag {
  font-size: 12px;
  font-weight: 600;
  background: var(--yellow);
  color: var(--ink);
  padding: 2px 8px;
  border-radius: 2px;
  text-align: center;
  justify-self: start;
  white-space: nowrap;
}

.entry-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 4px;
}

.entry-body p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 6px;
}

.entry-body a {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--yellow);
  padding-bottom: 1px;
}

.entry-body a:hover {
  color: #8a6a12;
}

.pagination-tip {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
}

.pagination-tip h2 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.pagination-tip p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 6px;
}

.tip-links {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.tip-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 2px;
}

.tip-links a:hover {
  color: #8a6a12;
}

/* --------------------------------------------
   Pages · 类型速查 genres.html
-------------------------------------------- */
.filter-note {
  background: var(--paper-deep);
  border-left: 3px solid var(--yellow);
  padding: 16px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.filter-note .section-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.filter-note p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
}

.section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.section-heading-row .section-title {
  margin-bottom: 0;
}

.section-subtitle {
  font-size: 14px;
  color: var(--gray);
  max-width: 520px;
}

.genre-grid-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

.genre-grid-wrap .genre-grid {
  margin-bottom: 0;
}

.genre-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.18s ease;
}

.genre-item:hover {
  border-color: var(--yellow);
}

.genre-number {
  font-size: 12px;
  color: var(--gray);
  font-weight: 600;
}

.genre-item .genre-name {
  font-size: 16px;
  font-weight: 700;
}

.genre-item .genre-scene {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
  flex-grow: 1;
}

.genre-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--yellow);
  align-self: flex-start;
  padding-bottom: 1px;
  margin-top: 6px;
}

.genre-link:hover {
  color: #8a6a12;
}

.genre-visual {
  position: sticky;
  top: 88px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}

.genre-visual-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.genre-visual figcaption {
  font-size: 12px;
  color: var(--gray);
  padding: 8px 12px;
  border-top: 1px solid var(--line);
  line-height: 1.6;
}

.genre-channel-map {
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 40px 24px;
  max-width: none !important;
}

.genre-channel-map > * {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.genre-channel-map .section-title {
  margin-bottom: 6px;
}

.genre-channel-map > p {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 20px;
  max-width: var(--read-width);
}

.map-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.map-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--yellow);
  border-radius: var(--radius);
  padding: 16px 20px;
}

.map-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.map-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
}

.reverse-hint {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  background: var(--white);
}

.reverse-hint .section-title {
  font-size: 18px;
}

.reverse-hint p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
}

.reverse-hint p a {
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--yellow);
  padding-bottom: 1px;
  margin-right: 12px;
  display: inline-block;
}

.reverse-hint p a:hover {
  color: #8a6a12;
}

/* --------------------------------------------
   Pages · 创作者索引 creators.html
-------------------------------------------- */
.creator-overview .section-heading-row {
  align-items: center;
}

.section-heading-text {
  flex: 1;
  min-width: 280px;
}

.section-heading-text .section-title {
  margin-bottom: 6px;
}

.overview-media {
  width: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.overview-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.overview-media figcaption {
  font-size: 12px;
  color: var(--gray);
  padding: 6px 10px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.direction-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.direction-number {
  font-size: 13px;
  color: var(--yellow);
  font-weight: 700;
}

.direction-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}

.direction-desc {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.8;
}

.direction-note {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-top: 4px;
}

.match-section .section-heading {
  margin-bottom: 20px;
}

.match-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.match-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.match-table th {
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  text-align: left;
  padding: 14px 16px;
  font-size: 13px;
  white-space: nowrap;
}

.match-table td {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.7;
  color: var(--ink);
}

.match-table tbody tr:nth-child(even) {
  background: var(--paper);
}

.match-table tbody tr:hover {
  background: rgba(232, 185, 46, 0.08);
}

.channel-link-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.channel-link-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  background: var(--white);
}

.channel-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  grid-column: 1 / -1;
}

.channel-text {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
  grid-column: 1;
}

.channel-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--yellow);
  padding-bottom: 1px;
  grid-column: 2;
  grid-row: 2;
  white-space: nowrap;
}

.channel-link:hover {
  color: #8a6a12;
}

/* --------------------------------------------
   Pages · 幕后资料 backstage.html
-------------------------------------------- */
.section.backstage-scope {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.scope-copy .section-title {
  margin-bottom: 12px;
}

.scope-copy p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 12px;
}

.scope-copy p:last-child {
  margin-bottom: 0;
}

.scope-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.media-figure {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}

.media-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.media-figure figcaption {
  font-size: 12px;
  color: var(--gray);
  padding: 6px 10px;
  border-top: 1px solid var(--line);
  line-height: 1.5;
}

.backstage-types .section-title {
  margin-bottom: 20px;
}

.types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.type-card {
  border: 1px solid var(--line);
  border-left: 3px solid var(--yellow);
  border-radius: var(--radius);
  padding: 20px 24px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.type-num {
  font-size: 12px;
  color: var(--gray);
  font-weight: 600;
}

.type-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}

.type-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
}

.backstage-next {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.next-intro {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 20px;
  max-width: var(--read-width);
}

.next-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.next-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  background: var(--white);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.next-card:hover {
  border-color: var(--yellow);
  box-shadow: 0 2px 10px rgba(232, 185, 46, 0.12);
}

.next-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.next-card-title::after {
  content: "→";
  color: var(--yellow);
  font-size: 18px;
  font-weight: 400;
  margin-left: 8px;
}

.next-card-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
}

.related-links {
  max-width: var(--container);
  margin: 0 auto 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
}

.related-links-label {
  color: var(--gray);
  font-weight: 600;
}

.related-links-item {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--yellow);
  padding-bottom: 1px;
}

.related-links-item:hover {
  color: #8a6a12;
}

/* --------------------------------------------
   Pages · 观看指南 guide.html
-------------------------------------------- */
/* 指南页每个模块：纵向堆叠，避免网格列错位 */
.guide-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.section-copy {
  width: 100%;
  max-width: var(--read-width);
}

.section-copy .section-title {
  margin-bottom: 8px;
}

.section-lead {
  margin-bottom: 16px;
}

.goal-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.goal-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.7;
  padding: 10px 14px;
  border-left: 3px solid var(--yellow);
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.goal-item strong {
  font-weight: 700;
  color: var(--ink);
  flex-shrink: 0;
}

.guide-figure {
  width: 100%;
  max-width: 560px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}

.guide-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.guide-figure figcaption {
  font-size: 12px;
  color: var(--gray);
  padding: 8px 12px;
  border-top: 1px solid var(--line);
  line-height: 1.6;
}

/* 指南页第 2、3、4 模块内部 */
.prepare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.prepare-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  background: var(--white);
}

.prepare-card .card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.prepare-card .card-text {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
}

.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
  width: 100%;
  max-width: var(--read-width);
}

.guide-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.step-number {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--yellow);
  background: var(--ink);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.5;
}

.step-text {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
}

/* 完成检查表 */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
  width: 100%;
  max-width: var(--read-width);
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.check-mark {
  color: var(--yellow);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.6;
  flex-shrink: 0;
}

.check-copy {
  flex: 1;
}

.check-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.check-text {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
}

.check-note {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
  margin-top: 12px;
  padding: 12px 16px;
  border-left: 3px solid var(--yellow);
  background: var(--paper-deep);
}

/* --------------------------------------------
   Pages · 反馈说明 feedback.html
-------------------------------------------- */
.content-section .section-title {
  margin-bottom: 8px;
}

.content-section .section-intro {
  margin-bottom: 20px;
  max-width: var(--read-width);
}

.scope-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.scope-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  background: var(--white);
}

.scope-item-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.scope-item-title::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--yellow);
  display: inline-block;
  flex-shrink: 0;
}

.scope-item-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
}

.content-figure {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  max-width: 560px;
}

.content-figure img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.content-figure figcaption {
  font-size: 12px;
  color: var(--gray);
  padding: 8px 12px;
  border-top: 1px solid var(--line);
}

.direction-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.direction-block {
  border-top: 3px solid var(--yellow);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--white);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.direction-block-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.direction-block-text {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.8;
}

.update-note {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  background: var(--white);
}

.update-note-text {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.8;
  margin-bottom: 8px;
}

.update-note-text:last-child {
  margin-bottom: 0;
}

.update-note-text a {
  font-weight: 600;
  border-bottom: 1px solid var(--yellow);
  padding-bottom: 1px;
}

.update-note-text a:hover {
  color: #8a6a12;
}

/* --------------------------------------------
   Pages · 404
-------------------------------------------- */
.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 48px 24px;
}

.error-panel {
  text-align: center;
  max-width: 480px;
  padding: 48px 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.error-code {
  font-family: var(--mono);
  font-size: 64px;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}

.error-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 10px;
}

.error-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 20px;
}

.error-link {
  display: inline-block;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius);
}

.error-link:hover {
  background: var(--yellow);
  color: var(--ink);
}

/* --------------------------------------------
   Responsive · 响应式
-------------------------------------------- */
/* 平板 980px */
@media (max-width: 980px) {
  .header-inner {
    padding: 0 20px;
  }

  .channel-card-row {
    gap: 14px;
  }

  .channel-card {
    padding: 20px 16px;
  }

  .result-row {
    grid-template-columns: 56px 84px 1fr;
    gap: 12px;
  }

  .row-link {
    grid-column: 3;
    justify-self: start;
    margin-top: -4px;
  }

  .hero-task {
    gap: 32px;
  }

  .genre-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .genre-grid-wrap {
    grid-template-columns: 1fr;
  }

  .genre-visual {
    position: static;
    max-width: 480px;
  }

  .genre-visual-img {
    aspect-ratio: 16 / 9;
  }

  .map-list {
    grid-template-columns: 1fr;
  }

  .archive-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section.backstage-scope {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .scope-media {
    max-width: 560px;
  }

  .direction-grid {
    gap: 14px;
  }

  .direction-card {
    padding: 18px 16px;
  }

  .overview-media {
    width: 240px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-note {
    grid-column: 1 / -1;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
  }
}

/* 手机横屏与平板竖屏 720px */
@media (max-width: 720px) {
  .header-inner {
    height: 56px;
    padding: 0 16px;
  }

  .brand-name {
    font-size: 18px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
  }

  .nav-list.is-open {
    max-height: none;
    overflow: visible;
  }

  .nav-link {
    display: block;
    padding: 14px 8px;
    font-size: 15px;
    border-bottom: none;
    border-left: 3px solid transparent;
  }

  .nav-link:hover {
    border-bottom: none;
    border-left-color: var(--yellow);
    background: rgba(255, 255, 255, 0.04);
  }

  .nav-link.is-current {
    border-bottom: none;
    border-left-color: var(--yellow);
    background: rgba(255, 255, 255, 0.04);
  }

  .nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-item:last-child {
    border-bottom: none;
  }

  /* 页面标题区 */
  .page-header {
    padding: 20px 16px 24px;
  }

  .page-title {
    font-size: 1.6rem;
  }

  .breadcrumb {
    padding: 14px 16px 0;
  }

  .inner-main > section,
  .inner-main > .content-section {
    padding: 0 16px;
    margin-bottom: 40px;
  }

  /* 首页 */
  .hero-task {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 16px 48px;
  }

  .home-title {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .channel-index-section,
  .genre-grid-section {
    padding: 40px 16px;
  }

  .channel-card-row {
    grid-template-columns: 1fr;
  }

  .channel-card {
    padding: 20px;
  }

  .catalog-result-section {
    padding: 40px 16px;
  }

  .filter-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .result-row {
    grid-template-columns: 40px 1fr;
    padding: 14px 4px;
  }

  .row-index {
    grid-column: 1;
    grid-row: 1;
  }

  .row-tag {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
  }

  .row-desc {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .row-link {
    grid-column: 2;
    grid-row: 3;
    justify-self: start;
    margin-top: 0;
  }

  .genre-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .genre-cell {
    padding: 14px;
    min-height: 0;
  }

  .preview-check-strip {
    padding: 36px 16px;
  }

  .strip-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .strip-title {
    font-size: 1.3rem;
  }

  /* 最新收录 */
  .entry-item {
    grid-template-columns: 48px 1fr;
    gap: 8px 12px;
    padding: 16px 0;
  }

  .entry-index {
    grid-column: 1;
    grid-row: 1;
  }

  .entry-tag {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
  }

  .entry-body {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .pagination-tip {
    padding: 18px;
  }

  /* 类型速查 */
  .section-heading-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .genre-grid-wrap {
    grid-template-columns: 1fr;
  }

  .genre-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .genre-item {
    padding: 14px;
  }

  .map-list {
    grid-template-columns: 1fr;
  }

  .reverse-hint {
    padding: 18px;
  }

  /* 创作者 */
  .direction-grid {
    grid-template-columns: 1fr;
  }

  .overview-media {
    width: 100%;
    max-width: 360px;
  }

  .match-table-wrap {
    overflow-x: auto;
  }

  .match-table {
    min-width: 560px;
  }

  .channel-link-list {
    grid-template-columns: 1fr;
  }

  .channel-link-item {
    grid-template-columns: 1fr auto;
  }

  /* 幕后 */
  .scope-media {
    grid-template-columns: 1fr;
  }

  .types-grid {
    grid-template-columns: 1fr;
  }

  .next-links {
    grid-template-columns: 1fr;
  }

  .related-links {
    padding: 0 16px;
    margin-bottom: 40px;
  }

  /* 观看指南 */
  .guide-section {
    gap: 16px;
  }

  .prepare-grid {
    grid-template-columns: 1fr;
  }

  .guide-step {
    flex-direction: column;
    gap: 10px;
  }

  .step-number {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  /* 反馈 */
  .scope-list {
    grid-template-columns: 1fr;
  }

  .direction-blocks {
    grid-template-columns: 1fr;
  }

  /* 页脚 */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px 16px 24px;
  }

  .footer-note {
    grid-column: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 16px;
  }

  .footer-bottom .copyright {
    padding: 14px 16px;
  }
}

/* 小屏手机 520px */
@media (max-width: 520px) {
  .genre-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .genre-cell {
    padding: 12px 10px;
    gap: 2px;
  }

  .genre-name {
    font-size: 15px;
  }

  .genre-scene {
    font-size: 12px;
  }

  .result-row {
    grid-template-columns: 32px 1fr;
    gap: 6px 10px;
  }

  .row-tag {
    font-size: 11px;
    padding: 1px 6px;
  }

  .row-desc {
    font-size: 13px;
  }

  .home-title {
    font-size: 1.9rem;
  }

  .hero-lead {
    font-size: 14px;
  }

  .task-item {
    padding: 10px 12px;
  }

  .task-text {
    font-size: 13px;
  }

  .entry-item {
    grid-template-columns: 40px 1fr;
  }

  .entry-index {
    font-size: 12px;
  }

  .entry-tag {
    font-size: 11px;
  }

  .entry-body h3 {
    font-size: 15px;
  }

  .entry-body p {
    font-size: 13px;
  }

  .page-title {
    font-size: 1.4rem;
  }

  .page-description {
    font-size: 14px;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .type-card,
  .direction-block,
  .scope-item {
    padding: 16px;
  }

  .genre-item .genre-name {
    font-size: 15px;
  }

  .genre-item .genre-scene {
    font-size: 12px;
  }

  .pagination-tip {
    padding: 16px;
  }

  .pagination-tip h2 {
    font-size: 15px;
  }

  .filter-note {
    padding: 14px 16px;
  }

  .reverse-hint p a {
    display: block;
    margin-right: 0;
    margin-bottom: 6px;
  }

  .channel-link-item {
    grid-template-columns: 1fr;
  }

  .channel-link {
    grid-column: 1;
    grid-row: auto;
    margin-top: 4px;
    justify-self: start;
  }

  .channel-text {
    grid-column: 1;
  }

  .channel-label {
    grid-column: 1;
  }

  .strip-cta {
    width: 100%;
    text-align: center;
  }

  .check-item {
    padding: 12px 14px;
  }

  .error-panel {
    padding: 36px 20px;
  }

  .error-code {
    font-size: 48px;
  }
}

/* --------------------------------------------
   Reduced Motion
-------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
