/* ============================================================
   VibeKnow SEO 静态页面统一样式
   对齐中文站当前品牌规范：浅米背景、深绿主色、克制卡片和真实内容优先
   ============================================================ */

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  background: #F2EFE4;
  color: #1F2119;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ---------- 背景 ---------- */
.bg-blobs { display: none; }

/* ---------- 顶部导航 ---------- */
.top-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(242, 239, 228, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(31, 33, 25, 0.08);
  height: 64px;
}
.top-nav-inner {
  max-width: 1200px; height: 100%; margin: 0 auto;
  padding: 0 32px;
  display: flex; align-items: center; gap: 40px;
}
.top-nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.top-nav-logo img {
  display: block;
  width: 160px;
  height: 24px;
  object-fit: contain;
}
.top-nav-links { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.top-nav-links a {
  font-size: 14px; font-weight: 500;
  color: rgba(31, 33, 25, 0.72);
  transition: color 0.2s;
  white-space: nowrap;
}
.top-nav-links a:hover { color: #1F2119; }
.top-nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: #2E6754; color: #fff;
  padding: 11px 24px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.top-nav-cta:hover { background: #285B4A; transform: translateY(-1px); }
@media (max-width: 640px) {
  .top-nav-inner { padding: 0 20px; gap: 24px; }
  .top-nav-links { display: none; }
}

/* ---------- 容器 ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 42px 32px 72px;
  position: relative;
  z-index: 1;
}
@media (max-width: 640px) {
  .container { padding: 24px 20px 48px; }
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 8px; margin-bottom: 30px;
  font-size: 13px;
}
.breadcrumb a { color: rgba(31, 33, 25, 0.5); transition: color 0.2s; }
.breadcrumb a:hover { color: #2E6754; }
.breadcrumb .sep { color: rgba(31, 33, 25, 0.24); font-size: 12px; }
.breadcrumb .current { color: #1F2119; font-weight: 500; }

/* ---------- Hero ---------- */
.hero { margin-bottom: 28px; }
.hero h1 {
  font-size: 48px; font-weight: 650; line-height: 1.12;
  color: #1F2119; margin-bottom: 16px;
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  letter-spacing: 0;
  max-width: 820px;
}
.hero .subtitle {
  font-size: 18px; line-height: 1.8;
  color: rgba(31, 33, 25, 0.62);
  max-width: 760px;
}
@media (max-width: 900px) {
  .hero h1 { font-size: 36px; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 30px; line-height: 1.18; }
  .hero .subtitle { font-size: 15px; }
}

/* ---------- SEO 介绍段 ---------- */
.seo-section { margin-bottom: 48px; }
.seo-section h2 {
  font-size: 22px; font-weight: 700;
  color: #1F2119; line-height: 1.4;
  margin-bottom: 14px;
}
.seo-section h2:not(:first-child) { margin-top: 32px; }
.seo-section p {
  font-size: 15px; line-height: 1.85;
  color: rgba(31, 33, 25, 0.68);
  margin-bottom: 12px;
}
.seo-section strong { color: #1F2119; font-weight: 600; }

/* ---------- 通用卡片网格 ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }

/* ---------- 教程卡片（学习中心） ---------- */
.tutorial-card {
  background: #fff;
  border: 1px solid rgba(31, 33, 25, 0.08);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  display: block;
  box-shadow: 0 1px 0 rgba(31, 33, 25, 0.02);
}
.tutorial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 103, 84, 0.18);
  box-shadow: 0 18px 46px rgba(31, 33, 25, 0.1);
}
.tutorial-card .cover {
  aspect-ratio: 16/9;
  background: #E9EEE9;
  position: relative;
  overflow: hidden;
}
.tutorial-card .cover img {
  width: 100%; height: 100%; object-fit: cover;
}
.tutorial-card .badge {
  position: absolute; top: 10px; left: 10px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.5px;
}
.tutorial-card .badge,
.tutorial-card .badge.article {
  background: rgba(238, 245, 242, 0.96) !important;
  color: #2E6754 !important;
}
.tutorial-card .badge.video {
  background: #2E6754 !important;
  color: #fff !important;
}
.tutorial-card .play-icon {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.15);
}
.tutorial-card .play-icon .dot {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: #2E6754; font-size: 18px;
}
.tutorial-card .body { padding: 14px 16px 16px; }
.tutorial-card .title {
  font-size: 15px; font-weight: 700;
  color: #222724; line-height: 1.4;
  margin-bottom: 6px;
}
.tutorial-card .desc {
  font-size: 13px; color: rgba(31, 33, 25, 0.58);
  line-height: 1.5; margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.tutorial-card .meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; color: rgba(31, 33, 25, 0.46);
}

/* ---------- 作品卡片（showcase） ---------- */
.work-card {
  background: #fff; border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(31, 33, 25, 0.08);
  box-shadow: 0 1px 0 rgba(31, 33, 25, 0.02);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  display: block;
}
.work-card:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 103, 84, 0.18);
  box-shadow: 0 18px 46px rgba(31, 33, 25, 0.11);
}
.work-card .cover {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  background: #10251E;
}
.work-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.work-card .cover .duration {
  position: absolute; bottom: 8px; right: 8px;
  background: rgba(0, 0, 0, 0.6); color: #fff;
  font-size: 11px; padding: 2px 6px; border-radius: 4px;
}
.work-card .cover .badge-exp {
  position: absolute; top: 8px; left: 10px;
  padding: 2px 7px; border-radius: 5px;
  background: #2E6754;
  color: #fff; font-size: 9px; font-weight: 600; letter-spacing: 0.5px;
}
.work-card .body { padding: 14px 16px; }
.work-card .title {
  font-size: 15px; font-weight: 600;
  color: #1F2119;
  display: -webkit-box; -webkit-line-clamp: 1;
  -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 4px;
}
.work-card .subtitle {
  font-size: 13px; color: rgba(31, 33, 25, 0.52);
  display: -webkit-box; -webkit-line-clamp: 1;
  -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 10px;
}
.work-card .author {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: rgba(31, 33, 25, 0.5);
}
.work-card .avatar {
  width: 18px; height: 18px; border-radius: 50%;
  color: #fff; font-size: 10px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ---------- 作品分组 ---------- */
.work-group { margin-bottom: 40px; }
.work-group-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 600;
  color: #1F2119; margin-bottom: 16px;
}
.work-group-title .tag {
  font-size: 11px; font-weight: 600;
  padding: 2px 8px; border-radius: 4px;
  background: #2E6754;
  color: #fff; letter-spacing: 0.5px;
}

/* ---------- 分类标签筛选（纯展示，不交互） ---------- */
.tag-filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 28px;
}
.tag-filters a {
  padding: 7px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 500;
  background: rgba(255, 255, 255, 0.72);
  color: rgba(31, 33, 25, 0.64);
  border: 1px solid rgba(31, 33, 25, 0.08);
  transition: all 0.2s;
}
.tag-filters a:hover { background: rgba(46, 103, 84, 0.08); color: #2E6754; border-color: rgba(46, 103, 84, 0.16); }
.tag-filters a.current {
  background: #2E6754;
  border-color: #2E6754;
  color: #fff;
}

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 16px; }
.faq-item {
  background: #fff;
  border: 1px solid rgba(31, 33, 25, 0.08);
  border-radius: 8px;
  padding: 20px 24px;
  box-shadow: none;
}
.faq-item h3 {
  font-size: 16px; font-weight: 600;
  color: #1F2119; line-height: 1.5;
  margin-bottom: 8px;
}
.faq-item p {
  font-size: 14px; line-height: 1.85;
  color: rgba(31, 33, 25, 0.64);
}

/* ---------- 相关链接 ---------- */
.related-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.related-card {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 18px 22px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(31, 33, 25, 0.08);
  box-shadow: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0px 12px 32px rgba(31, 33, 25, 0.08);
}
.related-card .text .label {
  font-size: 15px; font-weight: 600;
  color: #1F2119; margin-bottom: 4px;
}
.related-card .text .desc {
  font-size: 12px; color: rgba(31, 33, 25, 0.55);
}
.related-card .arrow {
  color: #2E6754; font-size: 18px; font-weight: 700;
  flex-shrink: 0;
}

/* ---------- 底部 CTA 卡片 ---------- */
.cta-box {
  text-align: center; padding: 56px 32px; margin-top: 48px;
  border-radius: 8px;
  background: #10251E;
  border: 1px solid rgba(31, 33, 25, 0.08);
}
.cta-box h2 {
  font-size: 24px; font-weight: 700;
  color: #fff; margin-bottom: 12px;
}
.cta-box p {
  font-size: 15px; color: rgba(255, 255, 255, 0.72);
  margin-bottom: 24px;
}
.cta-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff;
  color: #2E6754;
  padding: 12px 32px; border-radius: 8px;
  font-size: 15px; font-weight: 600;
  box-shadow: none;
  transition: transform 0.2s, background 0.2s;
}
.cta-btn:hover {
  transform: translateY(-1px);
  background: #F1F5F3;
}

/* ---------- 教程详情：封面图 + 步骤 ---------- */
.tutorial-meta {
  display: flex; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: rgba(31, 33, 25, 0.5);
  margin-bottom: 28px;
}
.tutorial-meta .tag {
  padding: 2px 10px; border-radius: 4px;
  font-weight: 500;
}
.tutorial-meta .tag.article { background: rgba(46, 103, 84, 0.1); color: #2E6754; }
.tutorial-meta .tag.video { background: rgba(46, 103, 84, 0.1); color: #2E6754; }

.tutorial-cover {
  width: 100%; border-radius: 8px;
  margin-bottom: 36px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.tutorial-step { margin-bottom: 40px; }
.tutorial-step h2 {
  font-size: 22px; font-weight: 600;
  color: #2E6754; margin-bottom: 12px;
}
.tutorial-step p {
  font-size: 15px; line-height: 1.85;
  color: rgba(31, 33, 25, 0.72);
  white-space: pre-line;
  margin-bottom: 16px;
}
.tutorial-step img {
  width: 100%; border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  margin-top: 12px;
}
.tutorial-step ul, .tutorial-step ol {
  font-size: 15px; line-height: 1.85;
  color: rgba(31, 33, 25, 0.72);
  margin: 0 0 16px;
  padding-left: 24px;
}
.tutorial-step ul li, .tutorial-step ol li {
  margin-bottom: 4px;
}
.tutorial-step ul { list-style-type: disc; }
.tutorial-step ol { list-style-type: decimal; }

/* ---------- 视频教程播放器 ---------- */
.tutorial-video-wrap {
  width: 100%; border-radius: 8px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  margin-bottom: 32px;
  background: #FAF9F7;
}
.tutorial-video-wrap video {
  width: 100% !important;
  height: 100% !important;
  display: block;
  background: transparent;
  object-fit: cover;
  object-position: center;
}

/* ---------- 视频播放 Modal ---------- */
.vk-video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: vkModalFadeIn 0.2s ease-out;
}
.vk-video-modal.open { display: flex; }
.vk-video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 37, 30, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}
.vk-video-modal-inner {
  position: relative;
  width: min(960px, 100%);
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
  animation: vkModalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.vk-video-modal-video {
  display: block;
  width: 100%;
  max-height: 80vh;
  background: #000;
}
.vk-video-modal-close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.vk-video-modal-close:hover {
  background: rgba(255, 255, 255, 0.22);
}
@keyframes vkModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes vkModalSlideUp {
  from { transform: translateY(24px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@media (max-width: 640px) {
  .vk-video-modal { padding: 12px; }
  .vk-video-modal-close { top: -44px; }
}

/* 有视频的卡片 hover 时显示播放图标 */
.work-card[data-video] { cursor: pointer; }
.work-card[data-video] .cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.2s;
  z-index: 1;
}
.work-card[data-video]:hover .cover::before {
  background: rgba(0, 0, 0, 0.3);
}
.work-card[data-video] .cover::after {
  content: "▶";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #2E6754;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 2;
  padding-left: 3px;
}
.work-card[data-video]:hover .cover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ---------- 底部 Footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-top: 80px;
  padding: 48px 20px;
  background: #111512;
  border-top: 0;
  color: rgba(255, 255, 255, 0.62);
}
.site-footer::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0.25;
  background-image: radial-gradient(rgba(255,255,255,0.32) 1px, transparent 1px);
  background-size: 16px 16px;
}
.site-footer-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.site-footer .top {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 0;
}
.site-footer .brand {
  max-width: 360px;
}
.site-footer .brand img {
  display: block;
  width: 160px;
  height: 24px;
  margin-bottom: 16px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(5) grayscale(1);
}
.site-footer .brand p {
  max-width: 360px;
  font-size: 13px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.62);
}
.site-footer .col {
  min-width: 0;
}
.site-footer .col h3 {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
  color: #fff;
}
.site-footer .col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.site-footer .col a {
  display: block;
  padding: 4px 0;
  font-size: 13px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}
.site-footer .col a:hover { color: #fff; }
.site-footer .bottom {
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 13px;
}
.site-footer .bottom .meta {
  display: flex;
  gap: 8px 28px;
  flex-wrap: wrap;
}
.site-footer .bottom .meta span,
.site-footer .bottom .meta a {
  font-size: 13px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.5);
}
.site-footer .bottom .wechat {
  font-size: 13px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.5);
}
.site-footer .bottom .wechat strong { color: #fff; }
@media (min-width: 768px) {
  .site-footer .top {
    flex-direction: row;
  }
  .site-footer .bottom {
    flex-direction: row;
  }
}
@media (max-width: 640px) {
  .site-footer {
    padding: 40px 20px;
    margin-top: 56px;
  }
  .site-footer .brand {
    max-width: none;
  }
  .site-footer .col {
    min-width: 120px;
  }
  .site-footer .bottom {
    margin-top: 32px;
  }
}

/* ---------- 官网 Footer 1:1 静态版 ---------- */
.zh-official-footer {
  position: relative;
  overflow: hidden;
  margin-top: 80px;
  background: #111512;
  padding: 48px 20px;
  color: rgba(255, 255, 255, 0.62);
}
.zh-official-footer-dots {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image: radial-gradient(rgba(255,255,255,0.32) 1px, transparent 1px);
  background-size: 16px 16px;
}
.zh-official-footer-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.zh-official-footer-top {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}
.zh-official-footer-brand img {
  display: block;
  width: 160px;
  height: 24px;
  filter: brightness(5) grayscale(1);
}
.zh-official-footer-brand p {
  margin-top: 16px;
  max-width: 360px;
  font-size: 13px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.62);
}
.zh-official-footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 52px;
  font-size: 13px;
}
.zh-official-footer-col h3 {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
  color: #fff;
}
.zh-official-footer-col a {
  display: block;
  padding: 4px 0;
  font-size: 13px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}
.zh-official-footer-col a + a {
  margin-top: 12px;
}
.zh-official-footer-col a:hover {
  color: #fff;
}
.zh-official-footer-bottom {
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}
.zh-official-footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
}
.zh-official-footer-contact {
  position: relative;
  align-self: flex-start;
}
.zh-official-footer-contact button {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}
.zh-official-footer-contact button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}
.zh-official-footer-contact:hover button {
  color: #fff;
}
.zh-official-footer-qrcode {
  pointer-events: none;
  position: absolute;
  right: 0;
  bottom: 100%;
  margin-bottom: 12px;
  width: 148px;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
  opacity: 0;
  transform: translateY(0);
  box-shadow: 0 18px 48px rgba(0,0,0,0.28);
  transition: opacity 0.2s, transform 0.2s;
}
.zh-official-footer-contact:hover .zh-official-footer-qrcode {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(-2px);
}
.zh-official-footer-qrcode img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
}
.zh-official-footer-qrcode div {
  padding-top: 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: #222724;
}
.zh-footer-contact-v2 {
  position: relative;
  align-self: flex-start;
}
.zh-footer-contact-v2 button {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}
.zh-footer-contact-v2 button::before,
.zh-footer-contact-v2 button::after {
  content: none !important;
  display: none !important;
}
.zh-footer-contact-v2 button svg {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}
.zh-footer-contact-v2:hover button {
  color: #fff;
}
.zh-footer-qrcode-v2 {
  pointer-events: none;
  position: absolute;
  right: 0;
  bottom: 100%;
  margin-bottom: 12px;
  width: 148px;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
  opacity: 0;
  transform: translateY(0);
  box-shadow: 0 18px 48px rgba(0,0,0,0.28);
  transition: opacity 0.2s, transform 0.2s;
}
.zh-footer-contact-v2:hover .zh-footer-qrcode-v2 {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(-2px);
}
.zh-footer-qrcode-v2 img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
}
.zh-footer-qrcode-v2 div {
  padding-top: 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: #222724;
}
@media (min-width: 768px) {
  .zh-official-footer-top {
    flex-direction: row;
  }
  .zh-official-footer-bottom {
    flex-direction: row;
    align-items: flex-start;
  }
  .zh-official-footer-contact {
    align-self: auto;
  }
  .zh-footer-contact-v2 {
    align-self: auto;
  }
}
@media (max-width: 640px) {
  .zh-official-footer {
    margin-top: 56px;
  }
  .zh-official-footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 36px;
  }
}

/* ---------- Learn 页面 Mobile 适配（覆盖 inline 样式） ---------- */
@media (max-width: 640px) {
  /* 教程步骤排版 */
  .tutorial-step { margin-bottom: 32px; }
  .tutorial-step h2 { font-size: 19px; line-height: 1.45; }
  .tutorial-step p, .tutorial-step ul, .tutorial-step ol { font-size: 14px; line-height: 1.75; }
  .tutorial-step ul, .tutorial-step ol { padding-left: 20px; }

  /* CTA 按钮区 */
  .cta-box { padding: 28px 20px !important; }
  .cta-box h2 { font-size: 20px !important; line-height: 1.4; }

  /* 真实案例模块：整体 padding 收窄 */
  article > div > div[style*="padding:28px"],
  article > div > div[style*="padding: 28px"] { padding: 16px !important; }

  /* 视频号数据卡：padding 收窄 */
  article div[style*="background:#fff"][style*="padding:24px"] { padding: 16px !important; }

  /* H2 in hero case module */
  article div > h2[style*="font-size:22px"] { font-size: 18px !important; }
  article div > h3[style*="font-size:17px"],
  article div > h3[style*="font-size:18px"] { font-size: 15px !important; }

  /* 4-metric grid (1,262 / 464 / 190 / 167) 字号缩小但保留 4 列 */
  article div[style*="grid-template-columns: repeat(4, 1fr)"] p[style*="font-size:22px"] { font-size: 16px !important; }
  article div[style*="grid-template-columns: repeat(4, 1fr)"] p[style*="font-size:12px"] { font-size: 10px !important; }

  /* 箭头模块：缩小并旋转 90deg 以匹配垂直堆叠 */
  article div[style*="min-width:100px"] { min-width: auto !important; padding: 4px 0 !important; }
  article div[style*="font-size:42px"] { font-size: 32px !important; transform: rotate(90deg); line-height: 1 !important; }

  /* 所有 auto-fit minmax(240px, 1fr) grid 在小屏单列 */
  article div[style*="grid-template-columns: repeat(auto-fit, minmax(240px"],
  article div[style*="grid-template-columns:repeat(auto-fit, minmax(240px"] {
    grid-template-columns: 1fr !important;
  }

  /* 适用场景标题 */
  article div > h2[style*="color:#5F5BF6"] { font-size: 18px !important; }

  /* FAQ 紧凑 */
  details summary { padding: 14px 16px !important; font-size: 14px !important; }
  details > div { padding: 0 16px 14px !important; font-size: 13px !important; }

  /* 案例模块的 flex 容器间距 */
  article div[style*="flex-wrap:wrap"][style*="gap:28px"] { gap: 16px !important; }
  article div[style*="flex-wrap:wrap"][style*="gap:20px"] { gap: 12px !important; }

  /* Hero section 教程页 */
  header.hero h1 { font-size: 22px !important; line-height: 1.35; }
  .tutorial-meta { flex-wrap: wrap; gap: 8px 12px; font-size: 12px; }

  /* 教程封面图：减小阴影和圆角 */
  article > img.tutorial-cover { margin-bottom: 24px; }
}

/* ---------- 旧内联样式兜底覆盖 ---------- */
[style*="color:#5F5BF6"],
[style*="color: #5F5BF6"],
[style*="color:#6052FF"],
[style*="color: #6052FF"] {
  color: #2E6754 !important;
}

[style*="color:#1a1028"],
[style*="color: #1a1028"],
[style*="color:#161242"],
[style*="color: #161242"] {
  color: #1F2119 !important;
}

[style*="color:rgba(22,18,66"],
[style*="color: rgba(22,18,66"],
[style*="color:rgba(22, 18, 66"],
[style*="color: rgba(22, 18, 66"] {
  color: rgba(31, 33, 25, 0.68) !important;
}

[style*="background:#f5f3ff"],
[style*="background: #f5f3ff"],
[style*="background:rgba(95,91,246"],
[style*="background: rgba(95,91,246"],
[style*="background:rgba(96,82,255"],
[style*="background: rgba(96,82,255"] {
  background: rgba(46, 103, 84, 0.06) !important;
}

[style*="background:linear-gradient(135deg,#6052FF"],
[style*="background: linear-gradient(135deg,#6052FF"],
[style*="background:linear-gradient(135deg, #6052FF"],
[style*="background: linear-gradient(135deg, #6052FF"] {
  background: #2E6754 !important;
}

[style*="border-left:3px solid #6052FF"],
[style*="border-left: 3px solid #6052FF"] {
  border-left-color: #2E6754 !important;
}

/* ---------- 用法表(showcase 分类页:你手上是什么内容 → 做成什么 → 关键在哪) ---------- */
.usage-block {
  background: #fff;
  border: 1px solid rgba(31, 33, 25, 0.08);
  border-radius: 8px;
  padding: 24px 28px;
  overflow-x: auto;
}
.usage-block > h3 {
  font-size: 18px; font-weight: 600;
  color: #1F2119; margin: 0 0 18px;
}
.usage-table {
  width: 100%; min-width: 640px;
  border-collapse: collapse;
  font-size: 14px;
}
.usage-table thead th {
  background: rgba(46, 103, 84, 0.06);
  color: #2E6754; font-weight: 600;
  text-align: left; padding: 11px 16px;
  white-space: nowrap;
}
.usage-table thead th:first-child { border-radius: 6px 0 0 6px; }
.usage-table thead th:last-child { border-radius: 0 6px 6px 0; }
.usage-table tbody td {
  padding: 14px 16px; line-height: 1.7;
  border-bottom: 1px solid rgba(31, 33, 25, 0.06);
  color: rgba(31, 33, 25, 0.72);
  vertical-align: top;
}
.usage-table tbody tr:last-child td { border-bottom: none; }
/* 三列:材料 34% / 成品 26% / 收益 40%,长句都能自然换行 */
.usage-table th:nth-child(1), .usage-table td:nth-child(1) { width: 34%; }
.usage-table th:nth-child(2), .usage-table td:nth-child(2) { width: 26%; }
.usage-table td.usage-what { font-weight: 600; color: #1F2119; }
.usage-table td.usage-for { color: #2E6754; font-weight: 500; }
@media (max-width: 640px) {
  .usage-block { padding: 18px 16px; }
  .usage-table { font-size: 13px; }
}

/* ---------- showcase 页头:标题在左,投稿入口在右 ---------- */
.hero--with-actions {
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
}
.hero--with-actions .hero-text { min-width: 0; }
.hero--with-actions .hero-text h1,
.hero--with-actions .hero-text .subtitle { margin-bottom: 0; }
.hero--with-actions .hero-text h1 { margin-bottom: 12px; }
.works-actions { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }
.works-action-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 18px;
  border-radius: 8px; text-decoration: none;
  font-size: 14px; font-weight: 500;
  background: #fff; color: #2E6754;
  border: 1px solid rgba(46, 103, 84, 0.3);
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.works-action-btn:hover { background: rgba(46, 103, 84, 0.06); }
.works-action-btn--primary {
  background: #2E6754; color: #fff; border-color: #2E6754;
}
.works-action-btn--primary:hover { background: #245543; border-color: #245543; }
/* 900px 起就整宽堆叠 —— 中间宽度下按钮会换行却仍左对齐,是最难看的状态,直接跳过 */
@media (max-width: 900px) {
  .hero--with-actions { align-items: flex-start; gap: 18px; }
  .works-actions { width: 100%; }
  .works-action-btn { flex: 1 1 auto; justify-content: center; }
}

/* ---------- 教程手册（build-learn.py 注入）· 按 VibeKnow Design System v2.6 ---------- */
:root {
  --green:#2E6754; --green-deep:#245543; --forest:#10251E; --hover-green:rgba(46,103,84,0.08);
  --green-tint:#EEF5F2; --green-surface:#E9EFEB; --surface:#FFFFFF; --sand:#F7F5ED;
  --ink:#222724; --ink-52:rgba(34,39,36,0.52); --ink-30:rgba(34,39,36,0.30); --ink-10:rgba(34,39,36,0.10);
  --r-sm:6px; --r-base:8px; --r-lg:18px; --r-full:9999px;
  --shadow-card:0 4px 24px rgba(0,0,0,0.05); --shadow-pop:0 18px 46px rgba(34,39,36,0.12);
  --focus-ring:0 0 0 3px rgba(46,103,84,0.15);
  --dur-fast:150ms; --dur-base:200ms; --dur-slow:260ms; --ease:cubic-bezier(0.22,0.61,0.36,1);
  --font-mono:ui-monospace,Menlo,monospace;
}
.hb { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 256px minmax(0, 1fr); gap: 48px; padding: 0 32px; align-items: start; }
.hb > .container.hb-main { max-width: none; padding-left: 0; padding-right: 0; min-width: 0; }
.hb-main h2 { scroll-margin-top: 88px; }
.hb-side { position: sticky; top: 84px; padding-top: 42px; }
.hb-toc { max-height: calc(100vh - 104px); overflow-y: auto; overscroll-behavior: contain; background: var(--surface); border-radius: var(--r-base); box-shadow: inset 0 0 0 1px var(--ink-10); padding: 12px 8px; }
.hb-toc > summary { list-style: none; display: none; cursor: pointer; font-size: 14px; font-weight: 500; padding: 4px 8px; color: var(--ink); }
.hb-toc > summary::-webkit-details-marker { display: none; }
.hb-nav { display: flex; flex-direction: column; }
.hb-nav a { border-radius: var(--r-sm); transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.hb-nav a:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.hb-cap { font-size: 12px; line-height: 16px; color: var(--ink-52); padding: 4px 12px 12px; }
.hb-ch, .hb-row { display: flex; }
.hb-ch { margin-top: 4px; }
.hb-tg { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 12px; text-align: left; font: inherit; font-size: 14px; line-height: 20px; color: var(--ink); background: transparent; border-radius: var(--r-sm); cursor: pointer; transition: background var(--dur-fast) var(--ease); }
.hb-ch .hb-tg { font-weight: 600; }
.hb-ch .hb-tg svg { width: 16px; height: 16px; flex: none; color: var(--green); }
.hb-row .hb-tg { padding-left: 36px; font-weight: 500; }
.hb-tg::after { content: ""; margin-left: auto; margin-right: 4px; width: 6px; height: 6px; border-right: 1.5px solid var(--ink-30); border-bottom: 1.5px solid var(--ink-30); transform: rotate(-45deg); transition: transform var(--dur-base) var(--ease); flex: none; }
.hb-node.open > .hb-ch > .hb-tg::after, .hb-node.open > .hb-row > .hb-tg::after { transform: rotate(45deg); }
.hb-tg:hover { background: var(--hover-green); }
.hb-tg:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.hb-pg { display: flex; align-items: center; padding: 6px 12px 6px 36px; font-size: 14px; line-height: 20px; color: var(--ink-52); }
.hb-pg.l1 { padding: 8px 12px 8px 36px; color: var(--ink); font-weight: 500; } /* 与带箭头的组同级同样式 */
.hb-pg.l2 { padding-left: 52px; font-size: 13px; }
.hb-pg:hover { background: var(--hover-green); color: var(--ink); }
.hb-pg.on { background: var(--hover-green); color: var(--green); font-weight: 600; }
.hb-grp { display: none; flex-direction: column; }
.hb-node.open > .hb-grp { display: flex; }
.hb-node { display: flex; flex-direction: column; }
.hb-secs { display: flex; flex-direction: column; padding: 4px 0 8px; }
.hb-secs a { padding: 4px 12px 4px 52px; font-size: 13px; line-height: 18px; color: var(--ink-52); }
.hb-secs.l2 a { padding-left: 68px; }
.hb-secs a:hover { color: var(--green); }
@media (max-width: 1180px) { .hb { grid-template-columns: 224px minmax(0, 1fr); gap: 32px; } .hb-pg.l2 { padding-left: 44px; } }
@media (max-width: 900px) {
  .hb { grid-template-columns: 1fr; gap: 0; padding: 0 20px; }
  .hb-side { position: static; padding-top: 16px; }
  .hb-toc { max-height: none; }
  .hb-toc > summary { display: flex; justify-content: space-between; }
  .hb-toc > summary::after { content: "展开"; font-weight: 400; font-size: 12px; color: var(--ink-52); }
  .hb-toc[open] > summary::after { content: "收起"; }
  .hb-nav { padding-top: 8px; }
  .hb > .container.hb-main { padding-top: 20px; }
}

/* 手册首页三章 */
.hb-idx { margin-bottom: 48px; }
.hb-idx-head { display: flex; align-items: center; gap: 8px; }
.hb-idx-head svg { width: 20px; height: 20px; color: var(--green); flex: none; }
.hb-idx-head h2 { margin: 0; }
.hb-idx-intro { color: var(--ink-52); margin: 8px 0 16px; max-width: 66ch; }
.hb-idx-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; align-items: start; }
.hb-idx-group { background: var(--surface); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--ink-10); padding: 8px 16px; }
.hb-idx-item { display: flex; align-items: center; padding: 12px 0; font-size: 15px; line-height: 20px; font-weight: 500; color: var(--ink); transition: color var(--dur-fast) var(--ease); }
.hb-idx-item:hover { color: var(--green); }
.hb-idx-subs { display: flex; flex-direction: column; box-shadow: inset 0 1px 0 var(--ink-10); padding: 8px 0 4px; }
.hb-idx-sub { display: flex; align-items: center; padding: 6px 0 6px 12px; font-size: 14px; line-height: 20px; color: var(--ink-52); transition: color var(--dur-fast) var(--ease); }
.hb-idx-sub:hover { color: var(--green); }

/* 正文块 */
.hb-main .hero h1 { font-size: clamp(28px, 3.4vw, 46px); }
.hb-main .hero .subtitle { font-size: 18px; line-height: 32px; color: var(--ink-52); max-width: 66ch; margin: 0 0 16px; }
.hb-main .tutorial-meta { gap: 8px; margin-bottom: 0; }
.hb-main .hero { margin-bottom: 32px; }
.hb-main .tutorial-meta .tag { background: var(--green-tint) !important; color: var(--green) !important; border-radius: var(--r-full) !important; font-size: 13px; font-weight: 600; padding: 4px 12px; line-height: 20px; }
.hb-lede { font-size: 18px; line-height: 32px; color: var(--ink); max-width: 66ch; margin: 0 0 32px; }
.hb-article .tutorial-step { margin-bottom: 48px; }
.hb-article .tutorial-step h2 { font-size: 22px; line-height: 32px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.hb-article .tutorial-step p { font-size: 16px; line-height: 26px; color: var(--ink); white-space: normal; margin-bottom: 12px; }
.hb-article .tutorial-step ul, .hb-article .tutorial-step ol { font-size: 16px; line-height: 26px; color: var(--ink); padding-left: 20px; margin: 0 0 12px; }
.hb-article .tutorial-step li { margin: 0 0 4px; }
.hb-article .tutorial-step p a, .hb-article .tutorial-step li a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.hb-video { margin: 0 0 40px; }
.hb-video .tutorial-video-wrap { border-radius: var(--r-lg); box-shadow: var(--shadow-card); margin-bottom: 8px; background: var(--forest); }
.hb-video figcaption { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; font-size: 12px; line-height: 17px; color: var(--ink-52); padding: 0 4px; }
.hb-video figcaption b { color: var(--ink); font-weight: 500; font-size: 14px; }
.hb-video figcaption span { font-family: var(--font-mono); }
.hb-video figcaption em { font-style: normal; }
.hb-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
@media (max-width: 720px) { .hb-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .hb-cases { grid-template-columns: 1fr; } }
.hb-case { display: flex; flex-direction: column; gap: 4px; background: var(--surface); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--ink-10); padding: 8px 8px 12px; transition: box-shadow var(--dur-slow) var(--ease); }
.hb-case:hover { box-shadow: inset 0 0 0 1px var(--ink-10), var(--shadow-card); }
.hb-case-cover { position: relative; aspect-ratio: 16/9; border-radius: 10px; /* 同心圆角：18 − 8 */ background: var(--green-surface); display: block; overflow: hidden; }
.hb-case-cover img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; border-radius: 0; box-shadow: none; transition: transform var(--dur-slow) var(--ease); }
.hb-case:hover .hb-case-cover img { transform: scale(1.025); }
.hb-case-cover i { position: absolute; right: 8px; bottom: 8px; height: 22px; line-height: 22px; padding: 0 8px; font-style: normal; font-family: var(--font-mono); font-size: 12px; color: #fff; background: rgba(16,37,30,0.7); backdrop-filter: blur(6px); border-radius: var(--r-sm); }
.hb-case-cover::after { content: ""; position: absolute; left: 50%; top: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: rgba(255,255,255,0.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232E6754' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center/18px no-repeat; opacity: 0; transform: scale(.92); transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); }
.hb-case:hover .hb-case-cover::after { opacity: 1; transform: scale(1); }
@media (hover: none) { .hb-case-cover::after { opacity: 1; transform: none; } }
.hb-case b { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink); padding: 8px 6px 0; }
.hb-case:hover b { color: var(--green); }
.hb-case small { font-size: 12px; line-height: 17px; color: var(--ink-52); padding: 0 6px; }
.hb-mats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 12px; }
@media (max-width: 560px) { .hb-mats { grid-template-columns: 1fr; } }
.hb-mat { margin: 0; background: var(--surface); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--ink-10); padding: 8px 8px 12px; }
.hb-mat img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: top; display: block; border-radius: 10px; /* 同心圆角：18 − 8 */ background: var(--sand); margin: 0; box-shadow: none; }
.hb-mat figcaption { padding: 8px 6px 0; font-size: 14px; line-height: 20px; color: var(--ink); }
.hb-mat figcaption span { display: block; font-size: 12px; line-height: 17px; color: var(--ink-52); }
.hb-prompt { position: relative; margin: 12px 0; padding: 36px 16px 16px; font-family: var(--font-mono); font-size: 13px; line-height: 22px; background: var(--surface); border-radius: var(--r-base); box-shadow: inset 0 0 0 1px var(--ink-10); color: var(--ink); white-space: pre-wrap; }
.hb-prompt-tag { position: absolute; left: 16px; top: 12px; font-family: system-ui, -apple-system, "PingFang SC", sans-serif; font-size: 12px; line-height: 17px; color: var(--green); font-weight: 600; }

/* 图文稿里的配图（图：xx.png｜说明） */
.hb-fig { margin: 20px 0; }
.hb-fig img { display: block; width: 100%; height: auto; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--ink-10), 0 0 0 1px var(--ink-10); background: var(--surface); }
.hb-fig figcaption { margin-top: 8px; font-size: 13px; line-height: 20px; color: var(--ink-52); }

/* 模式总览页顶部「大家常用 X 做这些视频」（在 hero 和正文之间，和正文小节同一套字） */
.hb-main .hb-topcases { margin: 8px 0 40px; }
.hb-main .hb-topcases h2 { font-size: 22px; line-height: 32px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.hb-main .hb-topcases > p { font-size: 15px; line-height: 24px; color: var(--ink-52); margin: 0; }

/* 灵活创作：最适合做的 30 个场景 */
.hb-sc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; align-items: start; }
@media (max-width: 720px) { .hb-sc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .hb-sc-grid { grid-template-columns: 1fr; } }
.hb-sc { background: var(--surface); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--ink-10); padding: 14px 16px 10px; }
.hb-sc h3 { margin: 0 0 6px; font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: .04em; color: var(--green); }
.hb-article .hb-sc ul { list-style: none; margin: 0; padding: 0; font-size: 14px; line-height: 20px; }
.hb-article .hb-sc li { padding: 6px 0; color: var(--ink); box-shadow: inset 0 1px 0 var(--ink-10); }
.hb-article .hb-sc li:first-child { box-shadow: none; }

/* 用户实战（learn_stories.py） */
.hb-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: -8px 0 48px; }
@media (max-width: 720px) { .hb-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hb-stats > div { background: var(--surface); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--ink-10); padding: 16px; }
.hb-stats b { display: block; font-size: 26px; line-height: 34px; font-weight: 600; color: var(--green); font-variant-numeric: tabular-nums; }
.hb-stats span { display: block; margin-top: 4px; font-size: 13px; line-height: 19px; color: var(--ink-52); }
.hb-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
@media (max-width: 720px) { .hb-tiers { grid-template-columns: 1fr; } }
.hb-tiers > div { background: var(--surface); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--ink-10); padding: 16px 18px 6px; }
.hb-tiers h3 { margin: 0 0 6px; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--green); }
.hb-article .hb-tiers p { font-size: 14px; line-height: 22px; }
.hb-use { padding: 24px 0 8px; box-shadow: inset 0 1px 0 var(--ink-10); }
.hb-use:first-of-type { margin-top: 8px; }
.hb-use-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 16px; line-height: 24px; }
.hb-use-have { font-weight: 600; color: var(--ink); }
.hb-use-arrow { font-size: 13px; color: var(--green); background: var(--green-tint); border-radius: var(--r-full); padding: 2px 10px; }
.hb-use-make { color: var(--ink); }
.hb-use-make::before { content: "→"; color: var(--ink-30); margin-right: 8px; }
.hb-article .hb-use > p { font-size: 15px; line-height: 24px; color: var(--ink-52); }
.hb-use .hb-cases { margin-top: 12px; }
.hb-cases--v { grid-template-columns: repeat(auto-fill, minmax(168px, 208px)); }
@media (max-width: 460px) { .hb-cases--v { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hb-case--v .hb-case-cover { aspect-ratio: 3/4; }
.hb-case--v .hb-case-cover img { object-position: top; }
.hb-pair { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; align-items: start; }
@media (max-width: 560px) { .hb-pair { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 10px; } }
.hb-article .hb-steps { list-style: none; counter-reset: st; padding: 0; margin: 16px 0; }
.hb-article .hb-steps li { counter-increment: st; position: relative; padding: 0 0 16px 40px; margin: 0; }
.hb-article .hb-steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; font-size: 13px; line-height: 26px; text-align: center; font-weight: 600; }
.hb-article .hb-steps li b, .hb-article .tutorial-step li b { font-weight: 600; }
.hb-shot { margin: 0; background: var(--surface); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--ink-10); padding: 8px 8px 10px; position: relative; }
.hb-shot img { display: block; width: 100%; height: auto; border-radius: 10px; margin: 0; box-shadow: none; background: var(--sand); }
.hb-shot figcaption { padding: 8px 6px 0; font-size: 13px; line-height: 19px; color: var(--ink-52); }
.hb-shot--wide { margin: 16px 0; }
.hb-shots { display: grid; gap: 12px; margin-top: 12px; align-items: start; }
.hb-shots--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hb-shots--4 .hb-shot img { aspect-ratio: 3/4; object-fit: cover; object-position: top; }
@media (max-width: 720px) { .hb-shots--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hb-wx { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 12px; align-items: stretch; }
@media (max-width: 720px) { .hb-wx { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hb-wx .hb-shot img { aspect-ratio: 4/5; object-fit: contain; background: #000; }
.hb-slot { display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; min-height: 160px; border-radius: var(--r-lg); border: 1.5px dashed var(--ink-30); color: var(--ink-52); font-size: 13px; }
.hb-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 4px; }
.hb-flow span { background: var(--green-tint); color: var(--green); font-weight: 600; font-size: 14px; line-height: 20px; padding: 6px 12px; border-radius: var(--r-full); }
.hb-flow i { font-style: normal; color: var(--ink-30); }
.hb-howto { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 12px; }
.hb-howto .hb-shot { display: flex; flex-direction: column-reverse; padding: 12px; }
.hb-howto .hb-shot figcaption { padding: 0 4px 12px 44px; min-height: 28px; display: flex; align-items: center; }
.hb-howto .hb-shot > b { position: absolute; left: 16px; top: 12px; z-index: 1; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; font-size: 14px; line-height: 28px; text-align: center; }
.hb-howto .hb-shot figcaption { color: var(--ink); font-size: 15px; font-weight: 500; }
.hb-article .hb-tips { list-style: none; padding: 0; display: grid; gap: 8px; }
.hb-article .hb-tips li { background: var(--surface); border-radius: var(--r-base); box-shadow: inset 0 0 0 1px var(--ink-10); padding: 12px 16px; margin: 0; }
.hb-main .hb-stats { margin: 12px 0 0; }
/* 医生攻略页（learn_stories.doctor_body）：结果墙 / 输入→输出 / 两大场景 / 模板 / 编辑三步 */
.ck-cover { position: relative; display: block; border-radius: 10px; overflow: hidden; background: var(--green-surface); aspect-ratio: 16/9; text-decoration: none; }
.ck-cover--v { aspect-ratio: 3/4; }
.ck-cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; margin: 0; border-radius: 0; box-shadow: none; transition: transform var(--dur-slow) var(--ease); }
.ck-cover:hover img { transform: scale(1.03); }
.ck-cover i { position: absolute; right: 6px; top: 6px; height: 20px; line-height: 20px; padding: 0 6px; font-style: normal; font-family: var(--font-mono); font-size: 11px; color: #fff; background: rgba(16,37,30,0.7); border-radius: var(--r-sm); }
.ck-cover small { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 6px; font-size: 12px; line-height: 16px; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(16,37,30,0.85)); }
.ck-hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); grid-template-areas: "intro" "wx" "cap"; grid-template-columns: minmax(0, 1fr); gap: 20px 28px; align-items: center; padding: 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--ink-10); }
.ck-wall { grid-area: wall; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.ck-hero > .ck-io { grid-area: io; }
.ck-hero > .ck-stats { grid-area: stats; margin: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ck-hero > .hb-slot { grid-area: slot; min-height: 120px; }
.ck-stats > div { padding: 10px 12px; }
.ck-stats b { font-size: 22px; line-height: 28px; }
@media (max-width: 960px) { .ck-hero { grid-template-columns: 1fr; grid-template-areas: "intro" "io" "wx" "cap"; padding: 12px; } .ck-hero > .ck-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ck-hero > .ck-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ck-wall .ck-cover:nth-child(n+7) { display: none; } .ck-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ck-io { display: flex; align-items: center; gap: 10px; }
.ck-arrow { flex: none; font-style: normal; font-size: 20px; color: var(--green); }
.ck-io-out { flex: 1.6; display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 8px; align-items: center; }
.ck-paper { flex: 1; min-width: 0; position: relative; aspect-ratio: 3/4; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--ink-10), 0 4px 14px rgba(16,37,30,0.08); }
.ck-paper img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; margin: 0; border-radius: 0; box-shadow: none; }
.ck-paper small { position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 8px; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--green); background: rgba(255,255,255,0.94); box-shadow: 0 -1px 0 var(--ink-10); }
.ck-paper-lines { position: absolute; inset: 14px 12px 34px; background: repeating-linear-gradient(var(--ink-10) 0 2px, transparent 2px 11px); }
.ck-paper-lines::before { content: ""; display: block; width: 60%; height: 6px; background: var(--green); opacity: .5; border-radius: 3px; margin-bottom: 8px; }
.ck-io > .ck-cover { flex: 1.6; min-width: 0; }
.ck-io > .ck-cover--v { flex: 1; }
.ck-io--line { margin: 8px 0 16px; max-width: 720px; }
.ck-io--line > .ck-cover { flex: 2.2; }
.ck-scenes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 12px; }
@media (max-width: 860px) { .ck-scenes { grid-template-columns: 1fr; } }
.ck-scene { padding: 16px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--ink-10); }
.ck-scene > .ck-io { gap: 6px; }
.ck-scene > .ck-io > .ck-cover:not(.ck-cover--v) { flex: 2.37; }
.ck-wall .ck-cover i { display: none; }
.ck-io-out .ck-cover small, .ck-scene .ck-paper small { font-size: 11px; padding-left: 6px; padding-right: 6px; }
.hb-article .ck-scene-cap { margin: 14px 0 0; padding: 12px 14px; border-radius: var(--r-base); background: var(--green-tint); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: 14px; line-height: 22px; }
.ck-scene-cap b { color: var(--green); font-weight: 600; font-size: 16px; }
.ck-scene-cap span { color: var(--ink-52); }
.ck-tpl { margin-top: 14px; }
.hb-article .ck-tpl h3 { margin: 0 0 8px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink-52); }
.ck-tpl-grid { display: grid; gap: 8px; }
.ck-tpl-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ck-tpl-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ck-tpl-grid--3 .ck-cover small, .ck-tpl-grid--5 .ck-cover small { font-size: 12px; padding-top: 14px; }
.ck-edits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 12px; }
@media (max-width: 860px) { .ck-edits { grid-template-columns: 1fr; } }
.ck-edit { display: flex; flex-direction: column; padding: 16px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--ink-10); color: inherit; text-decoration: none; transition: box-shadow var(--dur-fast) var(--ease); }
.ck-edit:hover { box-shadow: inset 0 0 0 1.5px var(--green); }
.ck-edit > b { width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; font-size: 14px; line-height: 28px; text-align: center; }
.hb-article .ck-edit h3 { margin: 10px 0 2px; font-size: 17px; line-height: 26px; font-weight: 600; color: var(--ink); }
.hb-article .ck-edit p { margin: 0 0 12px; font-size: 14px; line-height: 22px; color: var(--ink-52); }
.ck-edit video { margin: auto 0 0; width: 100%; display: block; border-radius: 8px; box-shadow: 0 0 0 1px var(--ink-10); background: var(--sand); }
.ck-edit img { margin: auto 0 0; width: 100%; border-radius: 8px; box-shadow: 0 0 0 1px var(--ink-10); }
.ck-edit .hb-slot { margin-top: auto; min-height: 120px; }
.ck-tpl .ck-cover i { display: none; }
@media (max-width: 560px) { .ck-tpl-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ck-hero > .ck-io > .ck-paper { flex: .75; } }
.ck-wx { grid-area: wx; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.ck-wx figure { margin: 0; border-radius: 10px; overflow: hidden; background: #000; }
.ck-wx img { display: block; width: 100%; aspect-ratio: 3/4; object-fit: cover; margin: 0; border-radius: 0; box-shadow: none; }
@media (max-width: 560px) { .ck-wx { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ck-wx figure:nth-child(n+7) { display: none; } }
.hb-article .ck-wx-cap { grid-area: cap; margin: -8px 0 0; font-size: 13px; line-height: 19px; color: var(--ink-52); }
.ck-wx figure { position: relative; }
.ck-wx figure b { position: absolute; left: 6px; top: 6px; padding: 2px 8px; border-radius: var(--r-full); background: var(--green); color: #fff; font-size: 12px; line-height: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ck-intro { grid-area: intro; }
.ck-intro span { display: block; font-size: 13px; line-height: 19px; color: var(--ink-52); }
.ck-intro b { display: block; margin: 2px 0 10px; font-size: 30px; line-height: 38px; font-weight: 600; color: var(--green); }
.hb-article .ck-intro p { margin: 0 0 6px; font-size: 16px; line-height: 26px; color: var(--ink); }
.ck-path { display: grid; gap: 16px; margin-top: 12px; }
.ck-path-step { padding: 16px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--ink-10); }
.ck-path-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.ck-path-head > b { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #fff; font-size: 15px; line-height: 32px; text-align: center; }
.hb-article .ck-path-head h3 { margin: 2px 0 2px; font-size: 18px; line-height: 28px; font-weight: 600; color: var(--ink); }
.hb-article .ck-path-head p { margin: 0; font-size: 14px; line-height: 22px; color: var(--ink-52); }
.ck-path-pics { display: grid; gap: 12px; }
.ck-path-pics--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ck-path-pics .hb-shot { box-shadow: none; padding: 0; background: none; }
@media (max-width: 720px) { .ck-path-pics--2 { grid-template-columns: 1fr; } }
.ck-path-pics--2 .hb-shot img { height: 260px; object-fit: cover; object-position: center top; }
@media (max-width: 720px) { .ck-path-pics--2 .hb-shot img { height: 200px; } }
.ck-path-pics--1 .hb-shot img { height: 340px; object-fit: cover; object-position: left top; }
.ck-path-pics--2 .hb-shot:first-child img { object-position: left top; }
@media (max-width: 720px) { .ck-path-pics--1 .hb-shot img { height: 220px; } }
.ck-intro { display: flex; align-items: baseline; gap: 10px; }
.ck-intro b { margin: 0; }
.ck-pair { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; align-items: center; margin: 12px 0 16px; padding: 16px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--ink-10); }
.hb-article .ck-pair p { margin: 0; font-size: 16px; line-height: 26px; color: var(--ink); }
.ck-pair .ck-paper { flex: .8; }
@media (max-width: 720px) { .ck-pair { grid-template-columns: 1fr; } }
.hb-article .ck-lede p { margin: 0 0 12px; font-size: 18px; line-height: 32px; color: var(--ink); }
.hb-article .ck-lede p:last-child { color: var(--ink-52); font-size: 16px; }
.ck-tpl-card { display: block; color: inherit; text-decoration: none; }
.ck-tpl-card img { display: block; width: 100%; margin: 0; border-radius: 8px; box-shadow: 0 0 0 1px var(--ink-10); transition: box-shadow var(--dur-fast) var(--ease); }
.ck-tpl-grid--3 .ck-tpl-card img { aspect-ratio: 16/9; object-fit: cover; }
.ck-tpl-grid--5 .ck-tpl-card img { aspect-ratio: 9/16; object-fit: cover; }
.ck-tpl-card:hover img { box-shadow: 0 0 0 2px var(--green); }
.ck-tpl-card span { display: block; padding: 6px 2px 0; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--ink); }
.ck-edits { grid-template-columns: 1fr; }
.ck-edit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 20px; align-items: center; }
.ck-edit video, .ck-edit img { margin: 0; }
@media (max-width: 720px) { .ck-edit { grid-template-columns: 1fr; gap: 12px; } }
.ck-edit-text > b { display: block; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; font-size: 14px; line-height: 28px; text-align: center; }
.hb-main .hero .hb-h1-sub { margin: 8px 0 16px; font-size: 22px; line-height: 32px; font-weight: 600; color: var(--green); }
.ck-tpl-card span small { display: block; font-size: 12px; line-height: 16px; font-weight: 400; color: var(--ink-52); }
.ck-tpl-grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ck-tpl-grid--6 .ck-tpl-card img { aspect-ratio: 16/9; object-fit: cover; }
.ck-scene:last-child .ck-tpl-grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ck-scene:last-child .ck-tpl-grid--6 .ck-tpl-card img { aspect-ratio: 9/16; }
@media (max-width: 560px) { .ck-scene:last-child .ck-tpl-grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ck-tpl-card span { font-size: 12px; }
.ck-scene:last-child .ck-tpl-grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ck-scene:last-child .ck-tpl-grid--6 .ck-tpl-card img { aspect-ratio: 4/5; object-position: top; }
