/* ==========================================================================
   动漫美女爆羞羞动漫在线蜜桃 · 全站样式表
   分组：base / layout / components / pages / responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. base —— 变量、重置、排版基线
   -------------------------------------------------------------------------- */

:root {
  --paper: #F5F3EE;
  --surface: #FFFFFF;
  --ink: #1B1A17;
  --ink-soft: #5A574F;
  --accent: #B4462F;
  --accent-deep: #8E3522;
  --steel: #2F4858;
  --line: #DAD5C9;
  --line-soft: #E7E3D9;
  --tint: #EDEAE1;

  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --sans: system-ui, -apple-system, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;

  --shell: 1120px;
  --read: 720px;
  --gutter: 32px;
  --radius: 6px;
  --header-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  font-weight: 400;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

h1 {
  font-size: clamp(28px, 3.4vw, 40px);
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 18px;
}

p {
  margin: 0 0 16px;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease;
}

a:hover {
  color: var(--accent);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

table {
  border-collapse: collapse;
  width: 100%;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   2. layout —— 骨架：页头、主导航、主容器、内页容器、面包屑、页脚
   -------------------------------------------------------------------------- */

.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--paper);
}

/* --- 页头与主导航（全站统一） --- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background-color: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(27, 26, 23, .04);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: var(--shell);
  min-height: var(--header-h);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.brand {
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: .01em;
}

.brand:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
  position: relative;
}

.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background-color: var(--ink);
}

.nav-toggle::before {
  top: 16px;
  box-shadow: 0 6px 0 var(--ink);
}

.nav-toggle::after {
  top: 28px;
}

.primary-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  font-size: 15px;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
}

.nav-item > a:hover {
  color: var(--ink);
  border-bottom-color: var(--line);
}

.nav-item.is-current > a,
.nav-item > a.is-current {
  color: var(--accent);
  font-weight: 500;
  border-bottom-color: var(--accent);
}

.nav-item--has-panel > a::after {
  content: "";
  width: 5px;
  height: 5px;
  margin-left: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.nav-panel {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 70;
  display: none;
  grid-template-columns: repeat(2, minmax(170px, 1fr));
  gap: 8px 24px;
  min-width: 420px;
  padding: 20px 22px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(27, 26, 23, .08);
}

.nav-item--has-panel:hover .nav-panel,
.nav-item--has-panel:focus-within .nav-panel {
  display: grid;
}

.nav-panel-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-panel-title {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: .04em;
}

.nav-panel-col a {
  display: block;
  min-height: 34px;
  padding: 6px 8px;
  font-size: 14px;
  color: var(--ink);
  border-left: 2px solid var(--line-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.nav-panel-col a:hover {
  color: var(--accent);
  border-left-color: var(--accent);
  background-color: var(--tint);
}

.header-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--surface);
  background-color: var(--steel);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  transition: background-color .18s ease, border-color .18s ease;
}

.header-cta:hover {
  color: var(--surface);
  background-color: var(--accent);
  border-color: var(--accent);
}

/* --- 主内容容器 --- */

.site-main {
  flex: 1 1 auto;
  display: block;
}

.inner-main {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter) 72px;
}

/* --- 面包屑（全站统一） --- */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 22px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
}

.breadcrumb a {
  color: var(--ink-soft);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-sep::before {
  content: "/";
}

.breadcrumb-current {
  color: var(--ink);
}

/* --- 内页标题区（全站统一字号与间距） --- */

.page-header {
  padding: 14px 0 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}

.page-title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  color: var(--ink);
}

/* --- 通用两栏布局 --- */

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 48px;
  align-items: start;
}

/* 首页与创作方式页：侧栏在左，主内容在右 */
.sidebar-left .page-layout,
.page-layout.sidebar-left {
  grid-template-columns: 240px minmax(0, 1fr);
}

.layout-main,
.page-content,
.content-main,
.faq-body {
  min-width: 0;
}

/* --- 页脚（全站统一） --- */

.site-footer {
  margin-top: 56px;
  background-color: var(--tint);
  border-top: 1px solid var(--line);
}

.footer-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 44px var(--gutter) 26px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 32px;
}

.footer-col-title {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col li a {
  display: inline-block;
  min-height: 24px;
  font-size: 14px;
  color: var(--ink-soft);
}

.footer-col li a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 20px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  margin: 0;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.footer-note {
  margin: 0;
  flex: 1 1 320px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.footer-copy {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   3. components —— 通用组件
   -------------------------------------------------------------------------- */

/* --- 区块头：编号 + 标题 + 结论句 --- */

.section {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.section:first-child {
  border-top: 0;
}

.section-head {
  margin-bottom: 24px;
}

.section-index {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .06em;
}

.section-title,
.section h2 {
  margin-bottom: 10px;
}

.section-conclusion,
.section-lead,
.section-note {
  margin: 0;
  max-width: var(--read);
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.section-note {
  margin-top: 18px;
}

.section-note a {
  color: var(--accent);
  border-bottom: 1px solid var(--line);
}

.section-note a:hover {
  border-bottom-color: var(--accent);
}

.section-link {
  margin-top: 18px;
  font-size: 15px;
}

.section-link a {
  color: var(--accent);
  border-bottom: 1px solid var(--line);
}

.section-link a:hover {
  border-bottom-color: var(--accent);
}

.lead-sentence,
.section .lead-sentence {
  margin: 0 0 18px;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--ink);
}

/* --- 编号小节 --- */

.numbered-block {
  padding: 22px 0 0;
  border-top: 1px solid var(--line-soft);
}

.numbered-index {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .08em;
}

.numbered-block h3 {
  margin-bottom: 10px;
}

.numbered-block p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* --- 图片容器统一约束 --- */

.hero-visual img,
.project-row-media img,
.numbered-block--media img,
.content-figure img,
.composition-figure img,
.usage-card-figure img,
.stage-figure img,
.asset-figure img,
.media-figure img,
.material-figure img,
.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* --- 锚点目录 / 章节目录（左侧） --- */

.anchor-nav,
.chapter-toc {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  padding: 18px 18px 20px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.anchor-nav-title,
.chapter-toc-title {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.anchor-list,
.chapter-toc-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.anchor-list li a,
.chapter-toc-list li a {
  display: block;
  min-height: 34px;
  padding: 6px 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
  border-left: 2px solid var(--line-soft);
}

.anchor-list li a:hover,
.chapter-toc-list li a:hover,
.anchor-list li a.is-active,
.chapter-toc-list li a.is-active {
  color: var(--accent);
  border-left-color: var(--accent);
  background-color: var(--tint);
}

/* --- 右侧要点索引栏 --- */

.page-aside,
.faq-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.aside-block,
.side-block {
  padding: 18px 18px 20px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.aside-title,
.side-title {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.aside-list,
.side-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aside-list li,
.side-list li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.aside-links,
.side-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.aside-links a,
.side-links a {
  display: block;
  min-height: 32px;
  font-size: 14px;
  color: var(--accent);
}

.aside-links a:hover,
.side-links a:hover {
  color: var(--accent-deep);
}

/* --- 规格参数表 --- */

.spec-table {
  width: 100%;
  font-size: 15px;
  line-height: 1.7;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.spec-table-caption {
  padding: 14px 16px;
  text-align: left;
  font-size: 14px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}

.spec-table thead th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  color: var(--surface);
  background-color: var(--steel);
}

.spec-table tbody th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  background-color: var(--tint);
  border-top: 1px solid var(--line);
  vertical-align: top;
}

.spec-table tbody td {
  padding: 12px 16px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  vertical-align: top;
}

.table-scroll {
  overflow-x: auto;
}

/* --- 相关任务带（页脚上方） --- */

.task-band,
.related-band {
  background-color: var(--tint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 48px;
}

.task-band-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 30px var(--gutter);
}

.task-band-title,
.related-band-title {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.task-band:not(.task-band-inner) > .task-band-title,
.related-band > .related-band-title {
  max-width: var(--shell);
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--gutter);
}

.task-band-list,
.related-band-list,
.related-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.task-band-inner .task-band-list {
  max-width: none;
  padding: 0;
}

.task-band-item a,
.related-band-list li a,
.related-links li a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 44px;
  padding: 16px 18px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .18s ease, transform .18s ease;
}

.task-band-item a:hover,
.related-band-list li a:hover,
.related-links li a:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.task-band-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.task-band-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.task-band-item p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
}

/* --- 问答条目（FAQ 页） --- */

.faq-item {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 14px 18px;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1;
  color: var(--accent);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-answer {
  padding: 0 18px 18px;
  border-top: 1px solid var(--line-soft);
}

.faq-answer p {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* --- 文件目录示意 --- */

.file-tree {
  padding: 18px 20px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink);
  overflow-x: auto;
}

.file-tree-root {
  margin: 0 0 6px;
  font-weight: 600;
}

.file-tree-list {
  padding-left: 18px;
}

.file-tree-item {
  position: relative;
  padding-left: 16px;
  color: var(--ink-soft);
  white-space: nowrap;
}

.file-tree-item::before {
  content: "└";
  position: absolute;
  left: 0;
  color: var(--line);
}

/* --- 通用按钮（404 页） --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.btn-primary {
  color: var(--surface);
  background-color: var(--steel);
  border-color: var(--steel);
}

.btn-primary:hover {
  color: var(--surface);
  background-color: var(--accent);
  border-color: var(--accent);
}

.btn-ghost {
  color: var(--ink);
  background-color: var(--surface);
}

.btn-ghost:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* --------------------------------------------------------------------------
   4. pages —— 各页业务模块
   -------------------------------------------------------------------------- */

/* ========== 4.1 首页 ========== */

.home-main {
  padding-bottom: 0;
}

/* 首屏场景选择 */
.hero {
  padding: 40px 0 48px;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 44px;
  align-items: start;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hero-content {
  min-width: 0;
}

.hero-eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .06em;
}

.hero h1 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 46px);
}

.hero-lead {
  max-width: 560px;
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.scene-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.scene-card a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 44px;
  padding: 16px 18px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .18s ease, transform .18s ease;
}

.scene-card a:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.scene-card-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.scene-card-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.scene-card-go {
  margin-top: 4px;
  font-size: 13px;
  color: var(--accent);
}

.hero-visual {
  min-width: 0;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
}

/* 首页阅读主体两栏 */
.layout-shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* 创作能力摘要 */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.numbered-block--media {
  display: flex;
  flex-direction: column;
}

.numbered-block--media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
}

/* 项目类型示例 */
.project-rows {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.project-row {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
}

.project-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.project-row-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
}

.project-row-body {
  min-width: 0;
}

.project-row-body h3 {
  margin-bottom: 10px;
}

.project-row-body p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* 创作流程 */
.process-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.process-step {
  padding: 20px 18px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.process-step .process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--surface);
  background-color: var(--steel);
  border-radius: 50%;
}

.process-step h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.process-step p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* 创作环节索引 */
.stage-list {
  display: flex;
  flex-direction: column;
}

.stage-item {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
}

.stage-item:first-child {
  border-top: 0;
}

.stage-item dt,
.stage-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.stage-item dd,
.stage-output {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* 常见疑问摘要 */
.faq-brief-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.faq-brief-item {
  padding: 20px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-brief-item h3 {
  margin-bottom: 10px;
  font-size: 16px;
}

.faq-brief-item p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.faq-brief-item a {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--accent);
  border-bottom: 1px solid var(--line);
}

.faq-brief-item a:hover {
  border-bottom-color: var(--accent);
}

/* ========== 4.2 创作方式（studio） ========== */

.content-main {
  min-width: 0;
}

.content-section {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.content-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.content-section h2 {
  margin-bottom: 12px;
}

.content-section p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.content-figure {
  margin: 20px 0;
}

.content-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
}

/* 创作环节（studio 页 ol.stage-list） */
.content-main .stage-list {
  display: flex;
  flex-direction: column;
}

.content-main .stage-item {
  display: block;
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
}

.content-main .stage-item:first-child {
  border-top: 0;
}

.content-main .stage-name {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.content-main .stage-output {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.content-main .stage-need {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
  padding-left: 14px;
  border-left: 2px solid var(--line);
}

/* 协作方式三列 */
.collab-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.collab-card {
  padding: 20px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.collab-card h3 {
  margin-bottom: 10px;
  font-size: 16px;
}

.collab-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* 下一步任务列表 */
.next-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.next-list li a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 14px 18px;
  font-size: 15px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .18s ease, transform .18s ease;
}

.next-list li a:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* ========== 4.3 角色设定（character-design） ========== */

.composition-grid {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.composition-figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
}

.composition-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.composition-item {
  padding-left: 16px;
  border-left: 3px solid var(--line);
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.composition-item strong,
.composition-item b {
  color: var(--ink);
}

.scenario-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.scenario-card {
  padding: 20px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card-title {
  margin-bottom: 10px;
  font-size: 16px;
}

.scenario-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.prep-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.prep-item {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
}

.prep-item:first-child {
  border-top: 0;
}

.item-title {
  font-size: 16px;
}

.prep-item p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* ========== 4.4 商业插画（illustration） ========== */

.page-hero {
  padding: 0 0 34px;
}

.page-hero-inner {
  max-width: var(--read);
}

.page-eyebrow,
.page-hero-eyebrow,
.page-hero-kicker,
.page-kicker,
.page-head-kicker {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .06em;
}

.page-lead,
.page-hero-lead,
.page-head-lead {
  margin: 0 0 20px;
  max-width: var(--read);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.page-facts,
.page-meta,
.page-hero-meta,
.page-head-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 18px 20px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.fact-item,
.meta-item,
.meta-row {
  min-width: 0;
}

.page-facts dt,
.page-meta dt,
.page-hero-meta dt,
.page-head-meta dt,
.meta-row dt {
  margin-bottom: 4px;
  font-size: 13px;
  color: var(--ink-soft);
}

.page-facts dd,
.page-meta dd,
.page-hero-meta dd,
.page-head-meta dd,
.meta-row dd {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.page-hero-meta li {
  font-size: 15px;
  color: var(--ink);
}

/* 画面用途分类 */
.usage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.usage-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.usage-card-title {
  margin-bottom: 10px;
  font-size: 17px;
}

.usage-card-scope {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.usage-card-focus {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
  padding-left: 12px;
  border-left: 2px solid var(--line);
}

.usage-card-figure {
  margin-top: auto;
}

.usage-card-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
}

/* 从草图到完稿 */
.step-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.step-item {
  padding: 20px 18px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step-item .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--surface);
  background-color: var(--steel);
  border-radius: 50%;
}

.step-title {
  margin-bottom: 8px;
  font-size: 16px;
}

.step-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* 相关推荐 */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.related-card {
  padding: 20px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.related-card-title {
  margin-bottom: 10px;
  font-size: 16px;
}

.related-card-title a:hover {
  color: var(--accent);
}

.related-card-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* ========== 4.5 漫画短篇（comic-shorts） ========== */

.scene-rows {
  display: flex;
  flex-direction: column;
}

.scene-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
}

.scene-row:first-child {
  border-top: 0;
}

.scene-row-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.scene-row-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.stage-block {
  padding: 24px 0;
  border-top: 1px solid var(--line-soft);
}

.stage-block:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.stage-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}

.stage-index {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .08em;
}

.stage-head h3 {
  font-size: 18px;
}

.stage-block .stage-output {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
}

.stage-body {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.stage-confirm {
  margin: 0;
  padding-left: 14px;
  border-left: 2px solid var(--line);
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.stage-figure {
  margin: 18px 0;
}

.stage-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
}

.rhythm-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.rhythm-item {
  padding: 20px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.rhythm-item h3 {
  margin-bottom: 10px;
  font-size: 16px;
}

.rhythm-item p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* ========== 4.6 IP视觉包（ip-visual-kit） ========== */

.asset-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.asset-item {
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
}

.asset-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.asset-item h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.asset-item p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.asset-figure {
  margin-top: 24px;
}

.asset-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.use-case-card {
  padding: 20px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.use-case-card h3 {
  margin-bottom: 10px;
  font-size: 16px;
}

.use-case-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.deviation-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.deviation-item {
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
}

.deviation-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.deviation-name {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.deviation-item p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* ========== 4.7 交付规格（specs） ========== */

.deliverables-layout {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.media-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
}

.deliverable-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.deliverable-item {
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
}

.deliverable-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.deliverable-name {
  margin-bottom: 6px;
  font-size: 16px;
}

.deliverable-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.deviation-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* ========== 4.8 常见疑问（faq） ========== */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 48px;
  align-items: start;
}

.faq-group {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.faq-group:first-child {
  padding-top: 0;
  border-top: 0;
}

.faq-group h2 {
  margin-bottom: 8px;
}

.faq-group .section-note {
  margin: 0 0 18px;
}

.page-hero-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
}

/* ========== 4.9 合作洽谈（cooperation） ========== */

.page-head {
  padding: 0 0 34px;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.flow-step {
  padding: 20px 18px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.flow-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--surface);
  background-color: var(--steel);
  border-radius: 50%;
}

.flow-step-title {
  margin-bottom: 8px;
  font-size: 16px;
}

.flow-step-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.materials-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.material-block {
  padding: 22px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.material-block h3 {
  margin-bottom: 10px;
  font-size: 17px;
}

.material-lead {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.material-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
}

.material-items li {
  padding-left: 16px;
  position: relative;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.material-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
}

.material-figure {
  margin-top: 16px;
}

.material-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.checklist-item {
  padding: 18px 20px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.checklist-item h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.checklist-item p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* ========== 4.10 404 ========== */

.error-main {
  padding: 0 0 40px;
}

.error-block {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 72px var(--gutter) 40px;
}

.error-code {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
}

.error-block h1 {
  margin-bottom: 14px;
}

.error-lead {
  max-width: 560px;
  margin: 0 0 26px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.error-links {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.error-links h2 {
  margin-bottom: 16px;
}

.error-link-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.error-link-list li a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 18px;
  font-size: 15px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .18s ease, transform .18s ease;
}

.error-link-list li a:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   5. responsive —— 900px / 640px 断点
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {

  :root {
    --gutter: 22px;
  }

  /* 页头与移动导航 */
  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .nav-toggle {
    display: block;
    order: 3;
  }

  .header-cta {
    order: 2;
    margin-left: auto;
  }

  .primary-nav {
    order: 4;
    flex: 1 1 100%;
    min-width: 0;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 0 12px;
    border-top: 1px solid var(--line);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-item {
    border-bottom: 1px solid var(--line-soft);
  }

  .nav-item > a {
    min-height: 48px;
    padding: 0 4px;
    font-size: 16px;
    border-bottom: 0;
  }

  .nav-item.is-current > a,
  .nav-item > a.is-current {
    border-bottom: 0;
  }

  .nav-item--has-panel > a::after {
    margin-left: auto;
  }

  .nav-panel {
    position: static;
    display: grid;
    min-width: 0;
    padding: 4px 0 12px;
    background-color: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .nav-panel-col {
    gap: 2px;
  }

  .nav-panel-title {
    margin-top: 8px;
  }

  .nav-panel-col a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 8px 10px;
    font-size: 15px;
  }

  /* 布局：单列，主内容在侧栏之前 */
  .page-layout,
  .sidebar-left .page-layout,
  .page-layout.sidebar-left,
  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .anchor-nav,
  .chapter-toc {
    position: static;
  }

  .anchor-list,
  .chapter-toc-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }

  .inner-main {
    padding-bottom: 48px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .hero-visual img {
    aspect-ratio: 16 / 10;
  }

  .project-row,
  .composition-grid,
  .deliverables-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .process-strip,
  .step-list,
  .flow-steps,
  .collab-grid,
  .scenario-cards,
  .rhythm-list,
  .use-case-grid,
  .related-grid,
  .next-list,
  .error-link-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .usage-grid,
  .faq-brief-list,
  .checklist,
  .material-items {
    grid-template-columns: minmax(0, 1fr);
  }

  .stage-item,
  .prep-item,
  .scene-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .page-facts,
  .page-meta,
  .page-hero-meta,
  .page-head-meta {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .task-band-list,
  .related-band-list,
  .related-links {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 640px) {

  :root {
    --gutter: 16px;
  }

  body {
    font-size: 15px;
  }

  h2 {
    font-size: 21px;
  }

  h3 {
    font-size: 17px;
  }

  .brand {
    font-size: 15px;
    max-width: 62%;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 14px;
    font-size: 13px;
  }

  .header-inner {
    min-height: 0;
  }

  .hero {
    padding: 26px 0 34px;
  }

  .scene-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .process-strip,
  .step-list,
  .flow-steps,
  .collab-grid,
  .scenario-cards,
  .rhythm-list,
  .use-case-grid,
  .related-grid,
  .next-list,
  .error-link-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .anchor-list,
  .chapter-toc-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .section {
    padding: 30px 0;
  }

  .faq-item summary {
    font-size: 15px;
    padding: 14px 16px;
  }

  .faq-answer {
    padding: 0 16px 16px;
  }

  .spec-table thead th,
  .spec-table tbody th,
  .spec-table tbody td {
    padding: 10px 12px;
    font-size: 14px;
  }

  .footer-cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .error-block {
    padding: 48px var(--gutter) 32px;
  }
}

/* 程序验收反馈：移动端正文优先 */
@media (max-width: 768px) {
  .site-main :is(.page-content, .main-content, .content-main) {
    order: 1;
  }

  .site-main :is(aside, .sidebar) {
    order: 2;
  }
}
