/* ===================================================================
   副本人生 - 主样式表
   说明：集中管理所有样式，替代 Tailwind CDN 运行时编译。
   风格锚点：温暖奶油纸背景 + 赤陶色单主色调 + 白色卡片表面
   =================================================================== */

/* ===================== 主题变量 ===================== */
:root {
  /* 基础语义色板 */
  --fb-background: #F5F5F0;
  --fb-foreground: #2D2D2D;
  --fb-card: #FFFFFF;
  --fb-card-foreground: #2D2D2D;
  --fb-popover: #FFFFFF;
  --fb-popover-foreground: #2D2D2D;
  --fb-primary: #C45C3E;
  --fb-primary-foreground: #FFFFFF;
  --fb-primary-light: rgba(196, 92, 62, 0.08);
  --fb-muted: #F0EFEB;
  --fb-muted-foreground: #6B7280;
  --fb-muted-deep: #999999;
  --fb-border: #E8E6E0;
  --fb-input: #F0EFEB;
  --fb-ring: #C45C3E;

  /* 品牌扩展色 */
  --fb-ink: #2D2D2D;
  --fb-cream: #F5F5F0;
  --fb-paper: #FAFAF8;
  --fb-terracotta: #C45C3E;
  --fb-terracotta-dark: #A34A30;

  /* 圆角刻度 */
  --fb-radius-sm: 8px;
  --fb-radius-md: 12px;
  --fb-radius-lg: 16px;
  --fb-radius-xl: 16px;

  /* Hero 渐变遮罩 */
  --fb-hero-overlay: rgba(45, 45, 45, 0.30);
  --fb-hero-overlay-mid: rgba(45, 45, 45, 0.45);
  --fb-hero-overlay-bottom: rgba(45, 45, 45, 0.65);

  /* 作者来信 Dock */
  --fb-letter-trigger-bg: rgba(255, 255, 255, 0.14);
  --fb-letter-trigger-border: rgba(255, 255, 255, 0.35);
  --fb-letter-trigger-hover-bg: rgba(255, 255, 255, 0.22);
  --fb-letter-trigger-highlight: rgba(255, 255, 255, 0.25);
  --fb-sheet-bg: rgba(255, 255, 250, 0.98);
  --fb-overlay-bg: rgba(45, 45, 45, 0.35);
  --fb-dock-close-bg: rgba(45, 45, 45, 0.06);
  --fb-dock-scrollbar: rgba(45, 45, 45, 0.18);
  --fb-dock-scrollbar-hover: rgba(45, 45, 45, 0.28);
  --fb-crease-line: rgba(196, 92, 62, 0.18);

  /* 阴影与透明度 */
  --fb-cream-70: rgba(245, 245, 240, 0.7);
  --fb-shadow-sm: rgba(0, 0, 0, 0.08);
  --fb-shadow-md: rgba(0, 0, 0, 0.12);
  --fb-shadow-lg: rgba(0, 0, 0, 0.14);
  --fb-shadow-xl: rgba(0, 0, 0, 0.18);
  --fb-shadow-2xl: rgba(0, 0, 0, 0.22);
  --fb-primary-shadow: rgba(196, 92, 62, 0.2);
  --fb-light-highlight: rgba(255, 255, 255, 0.9);
  --fb-dock-texture: rgba(196, 92, 62, 0.03);
}

/* ===================== 基础重置 ===================== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  min-height: 100vh;
  background: var(--fb-background);
  color: var(--fb-foreground);
  font-family: Inter, "Noto Sans SC", "PingFang SC", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* 隐藏滚动条 */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ===================== 语义色工具类 ===================== */
.bg-background { background-color: var(--fb-background); }
.text-foreground { color: var(--fb-foreground); }
.bg-card { background-color: var(--fb-card); }
.text-card-foreground { color: var(--fb-card-foreground); }
.bg-popover { background-color: var(--fb-popover); }
.text-popover-foreground { color: var(--fb-popover-foreground); }
.bg-primary { background-color: var(--fb-primary); }
.text-primary { color: var(--fb-primary); }
.text-primary-foreground { color: var(--fb-primary-foreground); }
.bg-muted { background-color: var(--fb-muted); }
.text-muted-foreground { color: var(--fb-muted-foreground); }
.border-border { border-color: var(--fb-border); }
.bg-input { background-color: var(--fb-input); }
.text-ring { color: var(--fb-ring); }

.bg-ink { background-color: var(--fb-ink); }
.text-cream { color: var(--fb-cream); }
.border-cream-70 { border-color: var(--fb-cream-70); }
.hover-bg-terracotta-dark:hover { background-color: var(--fb-terracotta-dark); }

/* ===================== 通用布局 ===================== */
.container { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
.container-lg { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.container-md { max-width: 64rem; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 56rem; margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.text-balance { text-wrap: balance; }

/* 章节通用 */
.section { padding: 5rem 0; }
@media (min-width: 768px) {
  .section { padding: 7rem 0; }
}
.section-title {
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--fb-foreground);
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .section-title { font-size: 2.25rem; }
}
.section-subtitle {
  color: var(--fb-muted-foreground);
  text-wrap: balance;
}

/* ===================== 按钮 ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  font-weight: 500;
  transition: background-color 0.2s ease;
  cursor: pointer;
}
.btn-primary {
  background-color: var(--fb-primary);
  color: var(--fb-primary-foreground);
}
.btn-primary:hover { background-color: var(--fb-terracotta-dark); }
.btn-ghost {
  border: 1px solid var(--fb-cream-70);
  color: #fff;
}
.btn-ghost:hover { background-color: rgba(255, 255, 255, 0.1); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-md { padding: 0.75rem 1.5rem; font-size: 0.875rem; }
@media (min-width: 768px) {
  .btn-md { padding: 0.75rem 1.5rem; font-size: 1rem; }
}
.btn-lg { padding: 0.75rem 1.5rem; font-size: 0.875rem; }
@media (min-width: 768px) {
  .btn-lg { padding: 0.75rem 1.5rem; font-size: 1rem; }
}
.w-fit { width: fit-content; }

/* ===================== 下载平台选择器 ===================== */
.download-wrap { position: relative; display: inline-block; }
.download-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 60;
  min-width: 13.5rem;
  background-color: var(--fb-card);
  border: 1px solid var(--fb-border);
  border-radius: 0.75rem;
  box-shadow: 0 12px 40px var(--fb-shadow-lg), 0 4px 12px var(--fb-shadow-sm);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.5rem);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}
.download-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* 选项颜色以卡片为基准，避免在页脚/导航里继承浅色文字导致「字看不见」 */
.download-dropdown .download-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.6875rem 1rem;
  font-size: 0.875rem;
  color: var(--fb-foreground);
  cursor: pointer;
  transition: background-color 0.15s ease;
  border: none;
  background: none;
  text-align: left;
  box-sizing: border-box;
}
.download-dropdown .download-option:hover,
.download-dropdown .download-option:focus-visible { background-color: var(--fb-muted); }
/* 图标为 lucide 转换后的 <svg>，需同时匹配 i 与 svg */
.download-dropdown .download-option i,
.download-dropdown .download-option svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--fb-muted-foreground);
  stroke-width: 1.75;
}
.download-dropdown .opt-label {
  font-weight: 500;
  color: var(--fb-foreground);
  white-space: nowrap;
}
.download-dropdown .opt-hint {
  margin-left: auto;
  min-width: 0;
  font-size: 0.75rem;
  color: var(--fb-muted-foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.download-divider { height: 1px; background-color: var(--fb-border); }

/* ===================== Toast 提示 ===================== */
.toast {
  position: fixed;
  top: 5rem;
  left: 50%;
  transform: translateX(-50%) translateY(-1rem);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--fb-ink);
  color: var(--fb-cream);
  border-radius: 0.75rem;
  font-size: 0.875rem;
  box-shadow: 0 8px 30px var(--fb-shadow-xl);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}
.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.toast i { color: var(--fb-terracotta); }

/* ===================== 法律文档内容样式 ===================== */
.legal-section { margin-bottom: 1.25rem; }
.legal-heading {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--fb-foreground);
  margin-bottom: 0.5rem;
}
.legal-body p { margin-bottom: 0.5rem; }
.legal-body p:last-child { margin-bottom: 0; }

/* ===================== 导航栏 ===================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(245, 245, 240, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--fb-border);
}
.site-nav-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.site-nav-brand img {
  height: 2.25rem;
  width: 2.25rem;
  border-radius: 0.75rem;
  object-fit: cover;
  box-shadow: 0 1px 2px var(--fb-shadow-sm);
}
.site-nav-brand span {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--fb-foreground);
  letter-spacing: -0.01em;
}
.site-nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
  color: var(--fb-muted-foreground);
}
@media (min-width: 768px) {
  .site-nav-links { display: flex; }
}
.site-nav-links a {
  transition: color 0.2s ease;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.site-nav-links a:hover { color: var(--fb-foreground); }
.site-nav-cta { display: none; }
@media (min-width: 768px) {
  .site-nav-cta { display: block; }
}

/* 移动端菜单 */
.nav-toggle { display: none; }
.nav-toggle-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
@media (min-width: 768px) {
  .nav-toggle-label { display: none; }
}
.nav-toggle-label:hover { background-color: var(--fb-muted); }
/* 默认：显示 open 图标，隐藏 close 图标 */
.nav-toggle-label .icon-close { display: none; }
/* checked 时：隐藏 open 图标，显示 close 图标 */
.nav-toggle:checked ~ .nav-toggle-label .icon-open { display: none; }
.nav-toggle:checked ~ .nav-toggle-label .icon-close { display: inline-flex; }

.mobile-menu {
  display: none;
  position: absolute;
  top: 4rem;
  left: 0;
  right: 0;
  flex-direction: column;
  background-color: var(--fb-background);
  border-bottom: 1px solid var(--fb-border);
  padding: 1rem 1.5rem;
  gap: 1rem;
}
.nav-toggle:checked ~ .mobile-menu { display: flex; }
@media (min-width: 768px) {
  .mobile-menu { display: none !important; }
}
.mobile-menu a {
  font-size: 1rem;
  color: var(--fb-foreground);
  transition: color 0.2s ease;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-align: left;
}
.mobile-menu a:hover { color: var(--fb-primary); }
/* 移动端菜单内的下载选择器：默认收起，点「下载 App」后在菜单内就地展开 */
.mobile-menu .download-wrap { display: block; width: 100%; }
.mobile-menu .download-dropdown {
  position: static;
  display: none;              /* 关键：不再强制常显 */
  width: 100%;
  min-width: 0;
  margin-top: 0.5rem;
  border: 1px solid var(--fb-border);
  box-shadow: none;
  opacity: 1;
  visibility: visible;
  transform: none;
  box-sizing: border-box;
}
.mobile-menu .download-dropdown.open { display: block; }
.mobile-menu .download-trigger { width: fit-content; }
.mobile-menu .download-option { padding: 0.75rem 0.875rem; gap: 0.625rem; }
.mobile-menu .download-option i,
.mobile-menu .download-option svg { width: 1.125rem; height: 1.125rem; }
.mobile-menu .download-option .opt-hint { font-size: 0.6875rem; }

/* ===================== Hero ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    var(--fb-hero-overlay) 0%,
    var(--fb-hero-overlay-mid) 50%,
    var(--fb-hero-overlay-bottom) 100%);
}
.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
  text-align: center;
}
@media (min-width: 768px) {
  .hero-content { padding: 2rem 1.25rem; }
}
.hero-title {
  font-size: 1.875rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  text-wrap: balance;
  margin-bottom: 0.75rem;
}
@media (min-width: 768px) {
  .hero-title { font-size: 3rem; margin-bottom: 1rem; }
}
@media (min-width: 1024px) {
  .hero-title { font-size: 3.75rem; }
}
.hero-subtitle {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 48rem;
  margin: 0 auto 1rem;
  text-wrap: balance;
  line-height: 1.6;
}
@media (min-width: 768px) {
  .hero-subtitle { font-size: 1rem; margin-bottom: 1.25rem; }
}
@media (min-width: 1024px) {
  .hero-subtitle { font-size: 1.125rem; }
}
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .hero-actions { flex-direction: row; }
}
.hero-footnote {
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  z-index: 10;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  padding: 0 1.5rem;
}
@media (min-width: 768px) {
  .hero-footnote { bottom: 1.5rem; }
}

/* ===================== 作者来信按钮 ===================== */
.letter-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  margin-bottom: 1.25rem;
  background-color: var(--fb-letter-trigger-bg);
  border: 1px solid var(--fb-letter-trigger-border);
  border-radius: 9999px;
  color: var(--fb-card);
  font-size: 0.9375rem;
  font-weight: 500;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px var(--fb-shadow-xl), 0 2px 8px var(--fb-shadow-sm),
    inset 0 1px 0 var(--fb-letter-trigger-highlight);
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease,
    background-color 0.25s ease, box-shadow 0.25s ease;
}
.letter-trigger:hover,
.letter-trigger:focus-visible {
  transform: translateY(-2px);
  border-color: var(--fb-primary);
  background-color: var(--fb-letter-trigger-hover-bg);
  outline: none;
}

/* ===================== 功能轮播 ===================== */
.feature-slider {
  position: relative;
  max-width: 26.25rem;
  margin: 0 auto;
  touch-action: pan-y;
}
.slider-viewport {
  overflow: hidden;
  border-radius: 2rem;
}
.slider-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.slider-slide {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem;
}
.slider-slide img {
  max-height: 38.75rem;
  width: auto;
  border-radius: 2rem;
  box-shadow: 0 28px 70px var(--fb-shadow-lg), 0 12px 28px var(--fb-shadow-sm);
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
.slider-caption {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--fb-foreground);
  letter-spacing: 0.04em;
}
.slider-arrow {
  position: absolute;
  top: calc(50% - 1.5rem);
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background-color: var(--fb-card);
  border: 1px solid var(--fb-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--fb-foreground);
  transition: all 0.2s ease;
  z-index: 10;
}
.slider-arrow:hover {
  background-color: var(--fb-primary);
  border-color: var(--fb-primary);
  color: var(--fb-primary-foreground);
}
.slider-prev { left: -4rem; }
.slider-next { right: -4rem; }
.slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.625rem;
  margin-top: 1.75rem;
}
.slider-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--fb-border);
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 0;
}
.slider-dot.active {
  background-color: var(--fb-primary);
  width: 1.5rem;
  border-radius: 0.25rem;
}
@media (max-width: 768px) {
  .feature-slider { max-width: 20rem; }
  .slider-slide img { max-height: 28.75rem; border-radius: 1.75rem; }
  .slider-arrow { width: 2.25rem; height: 2.25rem; }
  .slider-prev { left: -2.75rem; }
  .slider-next { right: -2.75rem; }
}

/* ===================== 书籍封面展示 ===================== */
.cover-card {
  position: relative;
  width: 26.25rem;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 28px 70px var(--fb-shadow-md), 0 12px 28px var(--fb-shadow-sm);
  background-color: var(--fb-card);
}
.cover-image {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.25s ease;
}
.cover-thumbs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}
.cover-thumb {
  width: 3.5rem;
  height: 5rem;
  border-radius: 0.375rem;
  overflow: hidden;
  border: 2px solid transparent;
  background-color: var(--fb-card);
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px var(--fb-shadow-sm);
}
.cover-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.cover-thumb:hover { transform: translateY(-3px); }
.cover-thumb:hover img { transform: scale(1.05); }
.cover-thumb.active {
  border-color: var(--fb-primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px var(--fb-primary-shadow);
}
@media (max-width: 768px) {
  .cover-card { width: 20rem; }
  .cover-thumb { width: 3rem; height: 4.25rem; }
}

/* ===================== 成书工作室 ===================== */
.studio-hero {
  display: grid;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}
@media (min-width: 1024px) {
  .studio-hero { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.studio-hero p {
  color: var(--fb-muted-foreground);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.studio-hero ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--fb-foreground);
}
.studio-hero li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.studio-hero li i {
  color: var(--fb-primary);
  margin-top: 0.125rem;
  flex-shrink: 0;
}
.studio-hero li span { font-size: 0.875rem; }
.studio-hero-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.studio-hero-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(196, 92, 62, 0.05);
  border-radius: 1.5rem;
  filter: blur(3rem);
}
.studio-hero-img-wrap img {
  position: relative;
  max-width: 20rem;
  max-height: 28.75rem;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--fb-border);
}
@media (min-width: 768px) {
  .studio-hero-img-wrap img { max-width: 26.25rem; max-height: 38.75rem; }
}

.studio-steps-card {
  background-color: var(--fb-card);
  border: 1px solid var(--fb-border);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 1px 3px var(--fb-shadow-sm);
}
@media (min-width: 768px) {
  .studio-steps-card { padding: 2.5rem; }
}
.studio-steps-grid {
  display: grid;
  gap: 2rem;
  position: relative;
}
@media (min-width: 768px) {
  .studio-steps-grid { grid-template-columns: repeat(3, 1fr); }
}
.studio-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: rgba(240, 239, 235, 0.4);
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid rgba(232, 230, 224, 0.6);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.studio-step:hover {
  border-color: rgba(196, 92, 62, 0.3);
  box-shadow: 0 4px 12px var(--fb-shadow-sm);
  transform: translateY(-2px);
}
.studio-step-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: var(--fb-primary);
  color: var(--fb-primary-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
  z-index: 10;
  box-shadow: 0 4px 6px var(--fb-shadow-sm);
}
.studio-step-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--fb-primary);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.studio-step-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fb-foreground);
  margin-bottom: 0.5rem;
}
.studio-step-desc {
  font-size: 0.875rem;
  color: var(--fb-muted-foreground);
}
.studio-steps-line {
  display: none;
  position: absolute;
  top: 3.5rem;
  left: 16.67%;
  right: 16.67%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--fb-primary) 25%, var(--fb-primary) 75%, transparent 100%);
  opacity: 0.35;
}
@media (min-width: 768px) {
  .studio-steps-line { display: block; }
}

/* ===================== 页脚 ===================== */
.site-footer {
  background-color: var(--fb-ink);
  color: var(--fb-cream);
}
.footer-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 768px) {
  .footer-top { flex-direction: row; align-items: center; justify-content: space-between; }
}
.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-brand img {
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 0.75rem;
  object-fit: cover;
}
.footer-brand p:first-child { font-size: 1.125rem; font-weight: 600; }
.footer-brand p:last-child { font-size: 0.875rem; color: rgba(255, 255, 255, 0.6); }
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
@media (min-width: 640px) {
  .footer-links { flex-direction: row; align-items: center; gap: 2rem; }
}
.footer-links a,
.footer-links button {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.footer-links a:hover,
.footer-links button:hover { color: #fff; }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; }
}

/* 用户协议 / 隐私政策已改为独立页面 terms.html / privacy.html，通用弹窗样式已移除 */

/* ===================== 作者来信 Dock 弹窗 ===================== */
.letter-dock-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background-color: var(--fb-overlay-bg);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.letter-dock-overlay.open {
  opacity: 1;
  visibility: visible;
}
.letter-dock-sheet {
  position: relative;
  width: 92vw;
  max-width: 45rem;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  background-color: var(--fb-sheet-bg);
  border-radius: 1.25rem;
  box-shadow: 0 24px 80px var(--fb-shadow-xl), 0 8px 24px var(--fb-shadow-lg),
    inset 0 1px 0 var(--fb-light-highlight);
  overflow: hidden;
  opacity: 0;
  transform: translateY(2rem) scale(0.96);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
}
.letter-dock-overlay.open .letter-dock-sheet {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.letter-dock-sheet::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--fb-crease-line) 20%, var(--fb-crease-line) 80%, transparent 100%);
  z-index: 5;
  pointer-events: none;
}
.letter-dock-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--fb-dock-close-bg);
  color: var(--fb-muted-foreground);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.letter-dock-close:hover,
.letter-dock-close:focus-visible {
  background-color: var(--fb-primary);
  color: var(--fb-primary-foreground);
  transform: rotate(90deg);
  outline: none;
}
.letter-dock-content {
  flex: 1;
  overflow-y: auto;
  padding: 2.5rem 1.5rem;
  color: var(--fb-foreground);
  line-height: 1.8;
}
.letter-dock-content::-webkit-scrollbar { width: 6px; }
.letter-dock-content::-webkit-scrollbar-track { background: transparent; }
.letter-dock-content::-webkit-scrollbar-thumb {
  background-color: var(--fb-dock-scrollbar);
  border-radius: 9999px;
}
.letter-dock-content::-webkit-scrollbar-thumb:hover { background-color: var(--fb-dock-scrollbar-hover); }
.letter-dock-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--fb-terracotta);
  margin-bottom: 1.25rem;
  text-align: center;
  letter-spacing: 0.05em;
}
.letter-dock-content p {
  text-indent: 2em;
  margin-bottom: 1em;
  text-align: justify;
  word-break: break-word;
}
/* 移除 ::first-letter 悬挂缩进：Hi 作为问候语首字母 dropcap 仅作用于 H，
   i 保持正常大小，视觉不协调，直接去除 dropcap 效果 */
.letter-dock-signature {
  text-indent: 0 !important;
  text-align: right !important;
  font-style: italic;
  color: var(--fb-muted-foreground);
  margin-top: 1.5rem;
  padding-right: 0.5rem;
}
@media (min-width: 640px) {
  .letter-dock-content { padding: 3rem; }
}
@media (min-width: 768px) {
  .letter-dock-sheet { width: 80vw; max-height: 80vh; }
  .letter-dock-content { padding: 3rem 3.5rem; }
}
@media (min-width: 1024px) {
  .letter-dock-sheet { max-width: 45rem; }
}

/* ===================== 返回顶部按钮 ===================== */
.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 40;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background-color: var(--fb-primary);
  color: var(--fb-primary-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px var(--fb-primary-shadow), 0 4px 12px var(--fb-shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(1.25rem);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { background-color: var(--fb-terracotta-dark); }
.back-to-top:focus-visible {
  outline: 2px solid var(--fb-ring);
  outline-offset: 2px;
}
@media (max-width: 640px) {
  .back-to-top { right: 1rem; bottom: 1rem; width: 2.5rem; height: 2.5rem; }
}

/* ===================== 加载 / 空 / 错误状态 ===================== */
.state-loading,
.state-empty,
.state-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  color: var(--fb-muted-foreground);
}
.state-loading .spinner {
  width: 2rem;
  height: 2rem;
  border: 3px solid var(--fb-border);
  border-top-color: var(--fb-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 1rem;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.state-error { color: var(--fb-terracotta); }
.state-error .retry-btn {
  margin-top: 1rem;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  background-color: var(--fb-primary);
  color: var(--fb-primary-foreground);
  font-size: 0.875rem;
  transition: background-color 0.2s ease;
}
.state-error .retry-btn:hover { background-color: var(--fb-terracotta-dark); }

/* 骨架屏占位 */
.skeleton {
  background: linear-gradient(90deg, var(--fb-muted) 25%, var(--fb-border) 50%, var(--fb-muted) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 0.5rem;
}
@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===================== 无障碍：减少动画偏好 ===================== */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
  html { scroll-behavior: auto; }
  .letter-dock-overlay.open .letter-dock-sheet {
    opacity: 1;
    transform: none;
  }
  .letter-trigger:hover { transform: none; }
}

/* ===================================================================
   新增：关于这个版本（下载后就地展开）
   =================================================================== */
.app-info {
  padding: 3rem 0 3.5rem;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.app-info.visible { opacity: 1; transform: none; }
.app-info-card {
  background-color: var(--fb-card);
  border: 1px solid var(--fb-border);
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: 0 4px 16px var(--fb-shadow-sm);
}
@media (min-width: 768px) {
  .app-info-card { padding: 2rem 2.25rem; }
}
.app-info-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.app-info-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fb-foreground);
  letter-spacing: -0.01em;
}
.app-info-close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  color: var(--fb-muted-foreground);
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.app-info-close:hover { background-color: var(--fb-muted); color: var(--fb-foreground); }

/* 绿色「完全离线」提示块 */
.app-info-highlight {
  background-color: #F3F8EF;
  border: 1px solid #DDEAD4;
  border-radius: 0.75rem;
  padding: 1.125rem 1.25rem;
  margin-bottom: 1.5rem;
}
.app-info-highlight-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #2F6B3C;
  letter-spacing: 0.01em;
  margin-bottom: 0.5rem;
}
.app-info-highlight ul { margin: 0; padding-left: 1.125rem; }
.app-info-highlight li {
  font-size: 0.875rem;
  line-height: 1.9;
  color: #4B5563;
}

/* 版本信息表 */
.app-info-rows { border-top: 1px solid var(--fb-border); }
.app-info-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--fb-border);
}
@media (min-width: 640px) {
  .app-info-row { flex-direction: row; align-items: baseline; gap: 1.5rem; }
}
.app-info-row:last-child { border-bottom: none; }
.app-info-row dt {
  flex-shrink: 0;
  width: 7rem;
  font-size: 0.875rem;
  color: var(--fb-muted-foreground);
}
.app-info-row dd {
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--fb-foreground);
  word-break: break-word;
}
.app-info-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
}
.app-info-link {
  color: var(--fb-primary);
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  transition: color 0.2s ease;
}
.app-info-link:hover { color: var(--fb-terracotta-dark); text-decoration: underline; }

/* ===================================================================
   新增：安全与无联网声明
   =================================================================== */
.security-section { padding-top: 4.5rem; }
.security-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .security-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
.security-card {
  background-color: var(--fb-card);
  border: 1px solid var(--fb-border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.security-card:hover {
  border-color: rgba(196, 92, 62, 0.3);
  box-shadow: 0 6px 18px var(--fb-shadow-sm);
  transform: translateY(-2px);
}
.security-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background-color: var(--fb-primary-light);
  color: var(--fb-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.security-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fb-foreground);
  margin-bottom: 0.5rem;
}
.security-card-desc {
  font-size: 0.875rem;
  line-height: 1.85;
  color: var(--fb-muted-foreground);
}
/* 安装提示：整宽卡片 —— 导语 + 三条要点（桌面三栏）+ 断网安装提示条 */
.security-notice {
  margin-top: 1.5rem;
  padding: 1.75rem;
  border-radius: 1rem;
  border: 1px solid var(--fb-border);
  background-color: var(--fb-card);
}
.security-notice .security-block-title { margin-bottom: 1rem; }
.security-notice-lead {
  font-size: 0.9375rem;
  line-height: 1.95;
  color: var(--fb-foreground);
  max-width: 64rem;
}
.security-notice-points {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin-top: 1.375rem;
  padding-top: 1.375rem;
  border-top: 1px dashed var(--fb-border);
}
.security-notice-point {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--fb-muted-foreground);
}
.security-notice-point i {
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.18rem;
  flex-shrink: 0;
  color: var(--fb-primary);
}
.security-notice-footer {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-top: 1.375rem;
  padding: 0.875rem 1rem;
  border-radius: 0.625rem;
  background-color: var(--fb-primary-light);
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--fb-primary);
}
.security-notice-footer i {
  width: 1rem;
  height: 1rem;
  margin-top: 0.24rem;
  flex-shrink: 0;
}

.security-block-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--fb-foreground);
  margin-bottom: 0.875rem;
}
.security-block-title i { color: var(--fb-primary); width: 1.125rem; height: 1.125rem; flex-shrink: 0; }

/* ===================================================================
   新增：常见问题（details/summary 手风琴）
   =================================================================== */
.faq-list { display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
  background-color: var(--fb-card);
  border: 1px solid var(--fb-border);
  border-radius: 0.75rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item:hover { border-color: rgba(196, 92, 62, 0.28); }
.faq-item[open] { box-shadow: 0 4px 14px var(--fb-shadow-sm); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--fb-foreground);
  line-height: 1.6;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:focus-visible {
  outline: 2px solid var(--fb-primary);
  outline-offset: -2px;
  border-radius: 0.75rem;
}
.faq-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--fb-muted-deep);
}
.faq-icon i { width: 1rem; height: 1rem; }
.faq-icon-minus { display: none; }
.faq-item[open] .faq-icon-plus { display: none; }
.faq-item[open] .faq-icon-minus { display: inline-flex; }
.faq-item[open] .faq-icon { color: var(--fb-primary); }
.faq-a { padding: 0 3.25rem 1.375rem 1.5rem; }
.faq-a p {
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--fb-muted-foreground);
}
@media (max-width: 640px) {
  .faq-q { padding: 1.125rem 1.25rem; font-size: 0.875rem; }
  .faq-a { padding: 0 2.5rem 1.125rem 1.25rem; }
}

/* 导航项增多后的间距适配（6 项导航，窄屏收紧） */
@media (min-width: 768px) {
  .site-nav-links { gap: 1.25rem; font-size: 0.8125rem; }
}
@media (min-width: 1024px) {
  .site-nav-links { gap: 1.75rem; font-size: 0.875rem; }
}

/* ===================================================================
   版本更新记录（按钮点击就地展开，内容来自 changelog.txt）
   =================================================================== */

/* Hero 内的轻量触发按钮（不抢主 CTA 的视线） */
.hero-changelog-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.3125rem;
  margin-top: 1.75rem;
  padding: 0.25rem 0;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8125rem;
  font-family: inherit;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease;
}
.hero-changelog-trigger:hover { color: #fff; }
.hero-changelog-trigger i,
.hero-changelog-trigger svg {
  width: 0.875rem;
  height: 0.875rem;
  flex: 0 0 auto;
  display: block;
  vertical-align: middle;
}
.hero-changelog-trigger[aria-expanded="true"] { color: #fff; }
@media (max-width: 640px) {
  .hero-changelog-trigger { margin-top: 1.5rem; font-size: 0.75rem; gap: 0.25rem; }
  .hero-changelog-trigger i,
  .hero-changelog-trigger svg { width: 0.75rem; height: 0.75rem; }
}

/* 展开区域：与「关于这个版本」一致的入场动画 */
.changelog-section {
  padding: 3rem 0 3.5rem;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.changelog-section.visible { opacity: 1; transform: none; }

.changelog-card {
  background-color: var(--fb-card);
  border: 1px solid var(--fb-border);
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 4px 16px var(--fb-shadow-sm);
}
@media (min-width: 768px) {
  .changelog-card { padding: 2rem 2.25rem; }
}

.changelog-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.changelog-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem 1rem;
  padding: 0 0 1.5rem 1.5rem;
  border-left: 1px solid var(--fb-border);
}
@media (min-width: 640px) {
  /* 宽屏：版本号与内容同一行，版本号固定列宽对齐 */
  .changelog-item { grid-template-columns: 10.5rem 1fr; align-items: baseline; }
}
.changelog-item:last-child { padding-bottom: 0; border-left-color: transparent; }

/* 时间线圆点 */
.changelog-item::before {
  content: "";
  position: absolute;
  left: -4.5px;
  top: 0.45rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--fb-primary);
}
.changelog-item:last-child::before { background-color: var(--fb-muted-foreground); }

.changelog-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.375rem;
}
@media (min-width: 640px) {
  .changelog-meta { margin-bottom: 0; justify-content: flex-start; flex-wrap: nowrap; }
}
.changelog-version {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  background-color: rgba(193, 105, 79, 0.1);
  color: var(--fb-terracotta-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.changelog-date {
  font-size: 0.75rem;
  color: var(--fb-muted-foreground);
}
.changelog-content {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--fb-foreground);
  word-break: break-word;
}

@media (max-width: 640px) {
  .changelog-card { padding: 1.25rem 1.25rem; }
  .changelog-item { padding-left: 1.125rem; }
  .changelog-content { font-size: 0.875rem; }
}

/* ===================================================================
   页脚备案信息（ICP + 公安联网备案）
   =================================================================== */
.footer-beian {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.375rem 1.25rem;
  font-size: 0.75rem;
}
.footer-beian a {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-beian a:hover { color: rgba(255, 255, 255, 0.85); }
.footer-beian img {
  width: 14px;
  height: 14px;
  display: inline-block;
}

/* ===================================================================
   微信内置浏览器下载引导（微信会拦截 APK 下载）
   =================================================================== */
.wx-guide {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  background-color: rgba(0, 0, 0, 0.82);
  padding: 1.25rem;
  box-sizing: border-box;
}
.wx-guide.open { display: block; }

/* 右上角指示：微信的「···」在页面右上 */
.wx-guide-tip {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: #fff;
  font-size: 0.8125rem;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.16);
  animation: wx-tip-bob 1.4s ease-in-out infinite;
}
@keyframes wx-tip-bob {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(4px, -4px); }
}

.wx-guide-card {
  position: absolute;
  left: 50%;
  bottom: 8vh;
  transform: translateX(-50%);
  width: 100%;
  max-width: 22rem;
  background-color: #fff;
  border-radius: 1rem;
  padding: 1.375rem 1.375rem 1.25rem;
  box-sizing: border-box;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.wx-guide-title {
  margin: 0 0 0.625rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
}
.wx-guide-desc {
  margin: 0 0 0.875rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: #4a4a4a;
}
.wx-guide-steps {
  margin: 0 0 0.875rem;
  padding: 0.75rem 0.875rem 0.75rem 2rem;
  background-color: #faf5f2;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.9;
  color: #1a1a1a;
}
.wx-guide-steps li::marker { color: #c1694f; font-weight: 700; }
.wx-guide-steps b { color: #c1694f; }
.wx-guide-hint {
  margin: 0 0 1.125rem;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: #8a8a8a;
}
.wx-guide-actions {
  display: flex;
  gap: 0.625rem;
}
.wx-guide-actions .btn { flex: 1; }
.wx-guide-actions .btn-ghost {
  border: 1px solid #e2ddd8;
  color: #5a5a5a;
  background-color: transparent;
}
