/* TODO::2026-09-10,(一文成片官网前端视觉精修：浅奶油底色、深松绿/薄荷绿主题、无衬线字体与后台统一视觉系统) */
:root {
  color-scheme: light;
  --ink: #1b3227;
  --ink-secondary: #3d5045;
  --muted: #6b7d72;
  --faint: #98a79d;
  --green: #24684c;
  --green-hover: #1c553e;
  --green-dark: #143e2d;
  --green-light: #eaf3ed;
  --green-subtle: #d6e5dc;
  --cream: #f7f9f5;
  --cream-alt: #f0f4ee;
  --paper: #ffffff;
  --white: #ffffff;
  --line: #e1e7de;
  --line-subtle: #edf2eb;
  --error: #b73e4a;
  --error-bg: #fdf2f3;
  --success: #237350;
  --success-bg: #eaf5ee;
  --shadow-sm: 0 2px 8px rgba(28, 52, 38, 0.04);
  --shadow-card: 0 8px 30px rgba(22, 48, 34, 0.06);
  --shadow-btn: 0 4px 14px rgba(36, 104, 76, 0.2);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { min-height: 100%; margin: 0; overflow-x: hidden; }
body { background: var(--cream); color: var(--ink); font-size: 14px; line-height: 1.6; }
body.nav-open { overflow: hidden; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.narrow-container { width: min(880px, calc(100% - 48px)); }
.section-cream { background: var(--cream); }
.section-white { background: var(--cream-alt); }
.section-dark { background: var(--green-dark); color: #fff; }

/* ================= 顶栏导航 ================= */
.site-header { position: sticky; top: 0; z-index: 60; height: 68px; background: rgba(247, 249, 245, 0.94); border-bottom: 1px solid rgba(27, 50, 39, 0.08); backdrop-filter: blur(16px); }
.site-header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.site-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 20px; font-weight: 750; line-height: 1; letter-spacing: .02em; white-space: nowrap; }
.site-brand img { width: 38px; height: 38px; flex: none; }
.site-brand span { display: block; }
.site-brand-horizontal { gap: 0; }
.site-brand-horizontal img { width: auto; height: 38px; }
.site-navigation { display: flex; align-items: center; gap: 24px; color: #43574b; font-size: 14px; font-weight: 600; }
.site-navigation > a:not(.button) { position: relative; padding: 22px 0; transition: color .18s; }
.site-navigation > a:not(.button)::after { position: absolute; right: 0; bottom: 14px; left: 0; height: 2px; content: ""; background: var(--green); border-radius: 2px; transform: scaleX(0); transition: transform .2s ease; }
.site-navigation > a:hover { color: var(--ink); }
.site-navigation > a:hover::after, .site-navigation > a.is-active::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 40px; height: 40px; padding: 9px; border: 1px solid var(--green-subtle); border-radius: var(--radius-sm); background: var(--green-light); cursor: pointer; }
.nav-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; border-radius: 2px; background: var(--green); }

/* ================= 按钮体系 ================= */
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1;
  transition: background .18s ease, transform .1s ease, box-shadow .18s ease, border-color .18s ease;
}
.button-primary {
  color: #fff;
  background: linear-gradient(145deg, #2a7356, #216147);
  box-shadow: var(--shadow-btn);
}
.button-primary:hover:not(:disabled) {
  background: linear-gradient(145deg, #22644a, #1a523b);
  box-shadow: 0 6px 18px rgba(36, 104, 76, 0.28);
}
.button-primary:active:not(:disabled) {
  transform: scale(0.99);
}
.button-secondary {
  color: #4a6f52;
  background: #f6f9f2;
  border-color: #dce7da;
}
.button-secondary:hover:not(:disabled) {
  background: #edf5e8;
  border-color: #c7dbc1;
}
.button-light {
  color: var(--green-dark);
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}
.button-light:hover:not(:disabled) {
  background: #f4faf6;
}
.nav-cta {
  min-height: 40px;
  padding: 0 20px;
  color: #fff;
  border-radius: var(--radius-md);
}

/* ================= 常用修饰 ================= */
.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.section-heading { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-heading h2 { margin: 0; font-size: clamp(28px, 3.6vw, 42px); font-weight: 750; line-height: 1.28; letter-spacing: -.02em; color: var(--ink); }
.section-heading p { margin: 14px 0 0; color: var(--muted); font-size: 15.5px; line-height: 1.75; }
.section-heading-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; text-align: left; }
.text-link { flex: none; color: var(--green); font-weight: 650; font-size: 14px; transition: color .16s; }
.text-link:hover { color: var(--green-hover); }

/* ================= 首页首屏与创作卡片 ================= */
.hero-section {
  min-height: auto;
  padding: 68px 0 88px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, rgba(226, 241, 231, 0.45) 0%, transparent 65%), var(--cream);
}
.hero-layout { position: relative; text-align: center; }
.hero-layout::before, .hero-layout::after {
  position: absolute;
  width: 360px;
  height: 360px;
  content: "";
  border: 1px solid rgba(36, 104, 76, 0.08);
  border-radius: 50%;
  pointer-events: none;
}
.hero-layout::before { top: 10px; left: -220px; }
.hero-layout::after { right: -200px; bottom: -60px; }
.hero-copy { position: relative; z-index: 1; max-width: 820px; margin: 0 auto 36px; }
.hero-copy h1 {
  margin: 0;
  font-size: clamp(36px, 4.8vw, 56px);
  font-weight: 750;
  line-height: 1.22;
  letter-spacing: -.02em;
  color: var(--ink);
}
.hero-copy h1 span, .heading-light h2 span { color: var(--green); }
.hero-copy p { max-width: 620px; margin: 18px auto 0; color: var(--muted); font-size: 16px; line-height: 1.75; }

/* 创作输入表单卡片 */
.creator-card {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  height: 260px;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 12px;
  margin: 0 auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-card);
  text-align: left;
}
.creator-title-panel, .creator-script-panel { min-width: 0; min-height: 0; border: 1px solid var(--line); border-radius: 14px; }
.creator-title-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 18px;
  background: var(--cream-alt);
}
.creator-script-panel {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 16px 18px 14px;
  background: var(--paper);
}
.creator-field { display: grid; gap: 6px; min-height: 0; margin: 0; color: var(--ink); font-size: 13px; }
.creator-label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.creator-label-row strong { font-size: 13.5px; font-weight: 700; color: #2c4235; }
.creator-label-row small {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  background: var(--cream-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.creator-title-field { width: 100%; gap: 12px; }
.creator-title-field .creator-label-row { align-items: flex-start; flex-direction: column; gap: 4px; }
.creator-title-field .creator-label-row small {
  background: none;
  border: 0;
  padding: 0;
  color: #728477;
  font-size: 12px;
  font-weight: normal;
  line-height: 1.4;
}
.creator-field input, .creator-field textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #dce4db;
  border-radius: var(--radius-md);
  outline: none;
  resize: none;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.creator-field input { height: 44px; }
.creator-script-field { grid-template-rows: auto minmax(0, 1fr); min-height: 0; }
.creator-field textarea {
  height: 100%;
  min-height: 0;
  padding: 8px 0;
  overflow-y: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  line-height: 1.65;
}
.creator-field input::placeholder, .creator-field textarea::placeholder { color: #98a79d; }
.creator-field input:focus { border-color: var(--green); background: #ffffff; box-shadow: 0 0 0 3.5px rgba(36, 104, 76, 0.12); }
.creator-field textarea:focus { outline: none; box-shadow: none; }
.creator-script-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 6px;
  border-top: 1px solid var(--line-subtle);
}
.creator-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex: none; margin-left: auto; }
.creator-ai-button {
  min-width: 120px;
  height: 42px;
  padding: 0 16px;
  border: 1px solid var(--green-subtle);
  border-radius: var(--radius-md);
  color: var(--green);
  background: var(--green-light);
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: all .18s ease;
  white-space: nowrap;
}
.creator-ai-button:hover {
  background: #d8ecdf;
  border-color: #b7d6c5;
  color: var(--green-dark);
}
.creator-submit {
  min-width: 126px;
  height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
}
.creator-submit span { margin-left: 4px; font-size: 16px; }
.creator-message { min-width: 0; min-height: 0; margin: 0; color: var(--error); font-size: 12px; font-weight: 500; }
.creator-message:empty { display: none; }
.hero-note { margin: 18px 0 0; color: #78897d; font-size: 12.5px; text-align: center; }

/* ================= 效率指标深色区块 ================= */
.proof-section {
  padding: 76px 0;
  background: linear-gradient(155deg, #153b2d 0%, #1a4734 60%, #112e22 100%);
  color: #fff;
}
.proof-section .section-heading h2 { color: #f6fdf9; }
.proof-section .section-heading p { color: #b8cfc3; }
.proof-section .eyebrow { color: #8ed6b4; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.metric-grid article {
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  transition: transform .18s ease, background-color .18s ease;
}
.metric-grid article:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
}
.metric-grid article > span { color: #a9c5b6; font-size: 13px; font-weight: 600; }
.metric-grid strong {
  display: block;
  margin: 16px 0 8px;
  font-size: 52px;
  font-weight: 750;
  letter-spacing: -.02em;
  color: #f4faf6;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.metric-grid small { margin-left: 6px; color: #8ed6b4; font-size: 16px; font-weight: 600; }
.metric-grid p { margin: 0; color: #b8cfc3; font-size: 13.5px; line-height: 1.7; }

/* ================= 创作指南栏目与卡片 ================= */
.editorial-section { padding: 84px 0; }
.guide-category-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 32px; }
.guide-category-nav a {
  padding: 7px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: #3b5445;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: all .16s ease;
}
.guide-category-nav a:hover, .guide-category-nav a.is-active {
  background: var(--green-light);
  border-color: #b8d7c6;
  color: var(--green);
}
.editorial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.editorial-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.editorial-card:hover {
  transform: translateY(-2px);
  border-color: #bcd4c6;
  box-shadow: var(--shadow-card);
}
.editorial-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.editorial-meta a { color: var(--green); font-weight: 600; }
.editorial-card h3 { margin: 16px 0 10px; font-size: 18px; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.editorial-card h3 a { color: var(--ink); transition: color .15s; }
.editorial-card h3 a:hover { color: var(--green); }
.editorial-card p { margin: 0 0 20px; color: #5a6e62; line-height: 1.8; font-size: 13.5px; }
.editorial-read { margin-top: auto; color: var(--green); font-size: 13px; font-weight: 650; display: inline-flex; align-items: center; gap: 4px; transition: color .15s; }
.editorial-read:hover { color: var(--green-hover); }

/* ================= 常见问题 (FAQ) ================= */
.faq-section { padding: 84px 0 96px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.faq-list details[open] {
  border-color: #c5d8cb;
  box-shadow: var(--shadow-card);
}
.faq-list summary {
  position: relative;
  padding: 18px 48px 18px 22px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 650;
  color: var(--ink);
  list-style: none;
  transition: color .15s;
}
.faq-list summary:hover { color: var(--green); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  position: absolute;
  top: 16px;
  right: 22px;
  color: var(--green);
  content: "+";
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 0 22px 20px; color: #596d61; font-size: 14px; line-height: 1.85; }

.inline-cta {
  margin-top: 48px;
  padding: 44px 32px;
  border-radius: var(--radius-lg);
  color: #fff;
  background: linear-gradient(155deg, #153b2d 0%, #1a4734 60%, #112e22 100%);
  text-align: center;
}
.inline-cta h3 { margin: 0 0 10px; font-size: 24px; font-weight: 750; color: #f6fdf9; }
.inline-cta p { color: #b8cfc3; font-size: 15px; margin: 0 0 24px; }
.inline-cta .button-primary {
  background: #ffffff;
  color: var(--green-dark);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.inline-cta .button-primary:hover {
  background: #f0f5ee;
  color: var(--green-dark);
}

/* ================= 全站底栏 ================= */
.site-footer {
  padding: 68px 0 0;
  color: #d6e0db;
  background: #11221a;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 18px 18px;
}
.footer-main { display: grid; grid-template-columns: 1.2fr 1fr; gap: 72px; padding-bottom: 50px; }
.site-brand-light { color: #fff; }
.site-brand-light.site-brand-horizontal img { filter: brightness(0) invert(1); opacity: .95; }
.footer-brand p { max-width: 360px; color: #8fa198; font-size: 13.5px; line-height: 1.8; margin-top: 14px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-links > div { display: grid; align-content: start; gap: 11px; }
.footer-links strong { margin-bottom: 4px; color: #ffffff; font-size: 13.5px; font-weight: 700; }
.footer-links a, .footer-links span { color: #8fa198; font-size: 13px; transition: color .15s; }
.footer-links a:hover { color: #ffffff; }
.footer-legal { padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); background: #0b1712; }
.footer-legal-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 0;
  color: #7f9388;
  font-size: 12.5px;
  line-height: 1.8;
  text-align: center;
}
.footer-legal-inner > * { padding: 0 14px; }
.footer-legal-inner > * + * { border-left: 1px solid rgba(255, 255, 255, 0.1); }
.footer-legal a { transition: color .15s; }
.footer-legal a:hover { color: #e2ebe5; }

/* ================= 内容内页（文章列表、详情、搜索、关于） ================= */
.site-main { flex: 1; width: min(1080px, calc(100% - 48px)); margin: 0 auto; padding: 48px 0 80px; }
.content-panel {
  padding: 40px 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-card);
}
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; color: var(--muted); font-size: 13px; }
.breadcrumb a { color: var(--muted); transition: color .15s; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb strong { color: var(--ink); font-weight: 600; }
.breadcrumb span { color: #b7c4b9; }

.channel-main { flex: 1; padding: 44px 0 84px; }
.channel-intro { max-width: 820px; margin-bottom: 30px; }
.channel-intro h1 { margin: 0; font-size: clamp(32px, 4vw, 48px); font-weight: 750; line-height: 1.25; letter-spacing: -.02em; color: var(--ink); }
.channel-intro p { max-width: 720px; margin: 14px 0 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.guide-group { padding: 36px 0 20px; }
.guide-group .section-heading { margin-bottom: 22px; }
.guide-group h2 { font-size: 24px; font-weight: 750; color: var(--ink); }

/* 文章详情页 */
.editorial-article { max-width: 820px; margin: 0 auto; padding-top: 0; }
.editorial-article h1.post-title {
  margin: 14px 0 16px;
  color: var(--ink);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 750;
  line-height: 1.38;
  overflow-wrap: anywhere;
}
.editorial-article .editorial-meta {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-subtle);
  margin-bottom: 28px;
}
.editorial-article .post-body {
  font-size: 16px;
  line-height: 1.95;
  color: #2b4234;
  overflow-wrap: anywhere;
}
.editorial-article .post-body h2 {
  margin: 36px 0 14px;
  font-size: 21px;
  font-weight: 750;
  line-height: 1.5;
  color: var(--ink);
  padding-left: 12px;
  border-left: 3.5px solid var(--green);
}
.editorial-article .post-body h3 {
  margin: 28px 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.editorial-article .post-body p { margin: 0 0 20px; }
.editorial-article .post-body ul, .editorial-article .post-body ol { padding-left: 24px; margin-bottom: 20px; }
.editorial-article .post-body li { margin-bottom: 6px; }
.editorial-article .post-body blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  border-left: 3.5px solid var(--green);
  border-radius: 0 10px 10px 0;
  background: var(--cream-alt);
  color: #324a3c;
  font-size: 15px;
}
.editorial-article .post-body a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; font-weight: 550; }
.post-tags { color: var(--muted); font-size: 13px; margin: 24px 0 14px; }
.post-tags a { color: var(--green); }
.post-footer { color: var(--faint); font-size: 12.5px; margin: 12px 0 0; }
.related-guides { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.related-guides h2 { font-size: 22px; font-weight: 750; margin: 0 0 20px; color: var(--ink); }
.related-guides .editorial-card { padding: 20px; }
.related-guides .editorial-card h3 { font-size: 16px; margin: 12px 0 8px; }
.article-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--cream-alt);
}
.article-cta p { margin: 0; font-weight: 650; font-size: 15px; color: var(--ink); }

/* 搜索页与列表页 */
.editorial-grid-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.guide-search-form { display: flex; gap: 12px; margin: 20px 0 32px; }
.guide-search-form input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 16px;
  border: 1px solid #ccdacf;
  border-radius: var(--radius-md);
  color: var(--ink);
  font-size: 14px;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.guide-search-form input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3.5px rgba(36, 104, 76, 0.12);
}
.guide-search-form button { flex: none; height: 46px; border-radius: var(--radius-md); }
.post.multi {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.post.multi:last-child { border-bottom: 0; }
.post.multi .post-title { margin: 0 0 10px; font-size: 18px; font-weight: 700; }
.post.multi .post-title a { color: var(--ink); transition: color .15s; }
.post.multi .post-title a:hover { color: var(--green); }
.post.multi .post-date { margin-left: 14px; color: var(--faint); font-size: 12px; font-weight: normal; }
.post.multi .post-body { color: #5a6e62; font-size: 14px; line-height: 1.75; }
.pagebar {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.pagebar > a,
.pagebar > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all .15s ease;
  box-sizing: border-box;
}
.pagebar > a:hover {
  background: var(--green-light);
  border-color: #b8d7c6;
  color: var(--green);
}
.pagebar > span.now-page {
  background: linear-gradient(145deg, #2a7356, #216147);
  color: #ffffff;
  border-color: var(--green);
  box-shadow: var(--shadow-btn);
}
/* 避免 a 与内部 span 重复套用按钮外框与背景 */
.pagebar a span {
  display: inline;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  min-width: auto;
  height: auto;
  color: inherit;
  font: inherit;
}
.empty-copy { padding: 48px 0; text-align: center; color: var(--muted); font-size: 15px; }

/* 关于我们 */
.about-panel h1 { font-size: 32px; font-weight: 750; margin: 6px 0 20px; color: var(--ink); }
.about-panel h2 { font-size: 20px; font-weight: 700; margin: 32px 0 12px; color: var(--ink); }
.about-panel p { font-size: 15px; line-height: 1.85; color: #374f41; margin: 0 0 18px; }

/* 兼容保留区块样式（演示、作品、流程、定价，保持当前hidden定义完整） */
.demo-section { padding: 88px 0; background-image: radial-gradient(circle at 50% 10%, rgba(44, 146, 106, .2), transparent 45%); }
.heading-light { max-width: 900px; }
.heading-light .eyebrow { color: #8fe1b5; }
.heading-light p { color: #abc0b6; }
.product-stage { margin-top: 44px; padding: 24px; border: 1px solid rgba(255,255,255,.12); border-radius: 24px; background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.035)); box-shadow: 0 40px 100px rgba(0,0,0,.28); }
.stage-browser { overflow: hidden; border-radius: 14px; background: #eff1ec; }
.stage-toolbar { height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 14px; color: #819087; background: #fff; font-size: 10px; }
.stage-toolbar i { width: 7px; height: 7px; border-radius: 50%; background: #d7ddd8; }
.stage-toolbar span { margin-left: 8px; }
.stage-canvas { height: 380px; display: grid; grid-template-columns: 110px 1fr 150px; gap: 14px; padding: 16px; }
.stage-sidebar, .stage-panel { display: grid; align-content: start; gap: 10px; padding: 12px; border-radius: 10px; background: #fff; }
.stage-sidebar b, .stage-panel b { height: 38px; border-radius: 7px; background: #e6ebe6; }
.stage-panel b { height: 65px; }
.stage-preview { position: relative; display: grid; place-content: center; border-radius: 12px; color: #fff; background: linear-gradient(135deg,#173b30,#256e55); text-align: center; }
.stage-label { color: #9be1bd; font-size: 12px; letter-spacing: .16em; }
.stage-preview strong { margin-top: 12px; font-size: clamp(24px,4vw,42px); line-height: 1.25; font-weight: 700; }
.stage-preview button { z-index: 1; width: 50px; height: 50px; margin: 24px auto 0; border: 0; border-radius: 50%; color: var(--green); background: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.feature-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.feature-pills span { padding: 6px 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; color: #b8c9c0; font-size: 12px; }

.process-section, .works-preview, .pricing-section, .tutorial-preview { padding: 88px 0; }
.process-grid, .pricing-grid, .tutorial-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.process-card { position: relative; min-height: 320px; padding: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); }
.process-card > span { color: #a4aca7; font-size: 12px; font-weight: 800; }
.process-card.featured { background: #e8f0ea; transform: translateY(-8px); }
.process-visual { height: 120px; display: grid; place-content: center; margin: 20px 0; border-radius: 14px; color: var(--green); background: linear-gradient(135deg,#edf1e8,#dce9dd); font-size: 24px; font-weight: 700; line-height: 1.1; text-align: center; }
.process-card.featured .process-visual { color: #fff; background: linear-gradient(135deg,#1a5d48,#1d8d63); }
.process-card h3 { margin: 0 0 10px; font-size: 19px; font-weight: 700; }
.process-card p, .work-card p, .price-card p, .tutorial-feature-grid p { margin: 0; color: var(--muted); line-height: 1.7; }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work-card { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.work-cover { position: relative; aspect-ratio: 16/9; display: grid; place-items: center; overflow: hidden; padding: 18px; background: #14241d; }
.work-cover span { position: relative; z-index: 1; padding: 6px 12px; border-radius: 6px; color: #fff; background: rgba(12,24,19,.6); font-size: 18px; font-weight: 700; }
.work-cover.has-media { display: block; padding: 0; }
.work-cover-media { display: block; width: 100%; height: 100%; border: 0; background: #14241d; object-fit: cover; }
.channel-empty { padding: 32px; border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); text-align: center; }
.work-card-body { padding: 18px; }
.tag { display: inline-flex; padding: 4px 10px; border-radius: 999px; color: var(--green); background: var(--green-light); font-size: 11px; font-weight: 700; }
.work-card h2, .work-card h3 { margin: 12px 0 8px; font-size: 17px; font-weight: 700; line-height: 1.45; }
.work-card small { display: block; margin-top: 14px; color: #929a95; }

/* 优秀作品展示页与材料三列表格 */
.channel-intro-actions { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.channel-actions { display: flex; gap: 10px; padding-bottom: 5px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 30px; }
.filter-row button {
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #4a5e52;
  background: #ffffff;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: all .16s ease;
}
.filter-row button:hover {
  border-color: #b8d7c6;
  background: var(--green-light);
  color: var(--green);
}
.filter-row button.active {
  color: #ffffff;
  border-color: var(--green);
  background: linear-gradient(145deg, #2a7356, #216147);
  box-shadow: var(--shadow-btn);
}
.showcase-grid { grid-template-columns: repeat(4, 1fr); }
.material-table-section, .channel-copy, .channel-faq { margin-top: 68px; }
.material-table-section h2, .channel-copy h2, .channel-faq h2 { margin: 0 0 20px; font-size: 24px; font-weight: 750; color: var(--ink); }
.material-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}
.material-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.4fr;
  gap: 20px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line-subtle);
  color: #43574b;
  font-size: 14px;
  line-height: 1.6;
  align-items: center;
}
.material-row:last-child { border-bottom: 0; }
.material-row b { color: var(--green); font-weight: 700; }
.material-head {
  color: var(--ink);
  background: var(--cream-alt);
  font-weight: 700;
  font-size: 13.5px;
}
.channel-copy { max-width: 920px; }
.channel-copy p { color: #5a6e62; font-size: 14.5px; line-height: 1.85; margin: 0 0 16px; }
.wide-cta {
  margin-top: 72px;
  padding: 48px 32px;
  border-radius: var(--radius-lg);
  color: #fff;
  background: linear-gradient(155deg, #153b2d 0%, #1a4734 60%, #112e22 100%);
  text-align: center;
}
.wide-cta h2 { margin: 0 0 10px; font-size: 26px; font-weight: 750; color: #f6fdf9; }
.wide-cta p { color: #b8cfc3; font-size: 15px; margin: 0 0 24px; }
.cover-blue { background: linear-gradient(135deg,#244766,#5f8db0); }
.cover-green { background: linear-gradient(135deg,#2b5d49,#8fac83); }
.cover-orange { background: linear-gradient(135deg,#a7542d,#e2a059); }
.cover-purple { background: linear-gradient(135deg,#493b6b,#a88aae); }
.cover-sand { background: linear-gradient(135deg,#8a7458,#d3b785); }
.cover-cyan { background: linear-gradient(135deg,#246d71,#73b7af); }
.cover-dark { background: linear-gradient(135deg,#26312e,#6c8178); }
.cover-rose { background: linear-gradient(135deg,#965d61,#d8a3a1); }

.price-mode-switch { width: fit-content; display: flex; gap: 4px; margin: -16px auto 38px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.price-mode-switch button { min-height: 36px; padding: 0 16px; border: 0; border-radius: 999px; color: #69736e; background: transparent; cursor: pointer; font-weight: 600; font-size: 13px; }
.price-mode-switch button.active { color: #fff; background: var(--green); }
.price-mode-switch button span { margin-left: 4px; color: #f1c877; font-size: 10px; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); }
.price-card.recommended { border: 2px solid var(--green); box-shadow: var(--shadow-card); transform: translateY(-8px); }
.price-label { align-self: start; padding: 4px 10px; border-radius: 999px; color: var(--green); background: var(--green-light); font-size: 11px; font-weight: 750; }
.price-card h3 { margin: 18px 0 8px; font-size: 24px; font-weight: 700; }
.price-amount { display: flex; align-items: baseline; gap: 6px; margin: 4px 0 16px; }
.price-amount strong { font-size: 38px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.price-amount span { color: var(--muted); font-size: 13px; }
.price-amount del { margin-left: auto; color: #a2aaa5; font-size: 13px; }
.price-card ul { display: grid; gap: 10px; margin: 24px 0 28px; padding: 0; list-style: none; font-size: 13.5px; }
.price-card li::before { margin-right: 8px; color: var(--green); content: "✓"; font-weight: 700; }
.price-card .button { margin-top: auto; }

.tutorial-feature-grid article { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #ffffff; box-shadow: var(--shadow-sm); }
.line-illustration { height: 120px; display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 18px; border-radius: 12px; background: #eef4f0; }
.line-illustration i, .line-illustration b { width: 44px; height: 58px; border: 2px solid #37805e; border-radius: 6px; }
.line-illustration b { width: 68px; height: 44px; }
.tutorial-feature-grid h3 { margin: 12px 0 8px; font-size: 17px; font-weight: 700; }

/* ================= 响应式媒体查询 ================= */
@media (max-width: 1024px) {
  .showcase-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
  .site-container, .narrow-container { width: min(100% - 32px, 1180px); }
  .nav-toggle { display: block; }
  .site-navigation {
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    display: grid;
    align-content: start;
    gap: 0;
    max-height: 0;
    padding: 0 24px;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
    background: var(--cream);
    opacity: 0;
    transition: max-height .25s ease, opacity .2s ease, padding .25s ease;
  }
  body.nav-open .site-navigation {
    max-height: calc(100vh - 68px);
    padding-top: 18px;
    padding-bottom: 26px;
    visibility: visible;
    pointer-events: auto;
    border-bottom: 1px solid var(--line);
    opacity: 1;
  }
  .site-navigation > a:not(.button) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .site-navigation > a:not(.button)::after { display: none; }
  .nav-cta { margin-top: 16px; width: 100%; }

  .editorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-guides .editorial-grid { grid-template-columns: 1fr; }
  .process-grid, .pricing-grid, .tutorial-feature-grid, .work-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-grid { grid-template-columns: 1fr; }
  .section-heading-row { align-items: flex-start; flex-direction: column; gap: 14px; }
  .channel-intro-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .material-row { grid-template-columns: 1fr; gap: 8px; }
  .material-head { display: none; }
  .footer-main { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 560px) {
  .site-container, .narrow-container { width: min(100% - 24px, 1180px); }
  .site-header { height: 60px; }
  .site-brand-horizontal img { height: 34px; }
  .site-navigation { top: 60px; }
  .channel-actions { width: 100%; flex-direction: column; }
  .filter-row { flex-wrap: nowrap; margin-right: -12px; padding-right: 12px; overflow-x: auto; }
  .filter-row button { flex: none; }
  .showcase-grid { grid-template-columns: 1fr; }

  .hero-section { min-height: auto; padding: 48px 0 60px; }
  .hero-copy h1 { font-size: 32px; line-height: 1.25; }
  .hero-copy h1 br { display: none; }
  .hero-copy p { font-size: 14.5px; margin-top: 14px; }

  /* 手机端表单单列排版，确保标题、文案输入与两个操作按钮完整不溢出 */
  .creator-card {
    height: auto;
    grid-template-columns: 1fr;
    padding: 10px;
    border-radius: 16px;
    gap: 10px;
  }
  .creator-title-panel { padding: 14px 14px 12px; border-radius: 12px; }
  .creator-title-field { gap: 8px; }
  .creator-field input { height: 44px; font-size: 14px; }
  .creator-script-panel { padding: 14px 14px 12px; border-radius: 12px; grid-template-rows: auto auto; gap: 10px; }
  .creator-script-field { grid-template-rows: auto auto; }
  .creator-field textarea {
    height: 145px;
    min-height: 130px;
    padding: 8px 10px;
    border: 1px solid #dce4db;
    border-radius: 10px;
    background: #fdfdfd;
    resize: vertical;
  }
  .creator-script-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-top: 8px;
  }
  .creator-message { min-height: 16px; font-size: 12px; }
  .creator-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    margin-left: 0;
  }
  .creator-ai-button, .creator-submit {
    width: 100%;
    min-width: 0;
    height: 44px;
    font-size: 13.5px;
    justify-content: center;
  }
  .hero-note { font-size: 12px; line-height: 1.5; margin-top: 14px; }

  .proof-section { padding: 54px 0; }
  .editorial-section, .faq-section { padding: 54px 0; }
  .editorial-grid, .editorial-grid-list { grid-template-columns: 1fr; }
  .editorial-card { padding: 20px 18px; }
  .guide-category-nav { gap: 8px; }
  .guide-category-nav a { padding: 6px 14px; font-size: 13px; }
  .guide-search-form { flex-direction: column; }
  .guide-search-form button { width: 100%; }

  .site-main { width: calc(100% - 24px); padding: 32px 0 60px; }
  .content-panel { padding: 24px 18px; }
  .editorial-article h1.post-title { font-size: 24px; }
  .editorial-article .post-body { font-size: 15px; line-height: 1.85; }
  .article-cta { flex-direction: column; align-items: stretch; text-align: center; }
  .article-cta .button { width: 100%; }

  .footer-links { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-legal-inner > * { padding: 0 8px; }
  .inline-cta { padding: 32px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
