/* ==========================================================================
   VC DreamCanvas — Swiss Editorial & APIMart-Inspired Design System
   Warm Vellum Canvas (#f7f5f4) + Dramatic Ink Dark Anchors (#0b0c0e)
   ========================================================================== */
:root {
  --canvas: #f7f5f4;
  --paper: #f7f5f4;
  --white: #ffffff;
  --frost: #f2f0f0;
  --ink: #0b0c0e;
  --ink-text: #191b1f;
  --ink-2: #141518;
  --line: rgba(25, 27, 31, 0.10);
  --line-strong: rgba(25, 27, 31, 0.18);
  --muted: #6f7580;
  --muted-light: #7e8490;
  --on-dark: rgba(255, 255, 255, 0.78);

  --violet: #191b1f;
  --violet-soft: #7e8490;
  --beak: #f26a2e;

  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 8px;
  --r-xl: 12px;
  --r-2xl: 14px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --sans: 'Geist', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', ui-sans-serif, system-ui, sans-serif;
  --serif: 'Geist', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  scroll-padding-top: 96px;
}

body[data-site-product="dreamcanvas"] {
  --product-text: #191b1f;
  --product-muted: #6f7580;
  --product-accent: #191b1f;
  --product-border: rgba(25, 27, 31, 0.12);
  --product-hover: rgba(25, 27, 31, 0.05);
  --product-selected: rgba(25, 27, 31, 0.06);
  background: var(--canvas);
  color: var(--ink-text);
  font-family: var(--sans);
  letter-spacing: -0.011em;
  overflow-x: hidden;
  color-scheme: light;
}

html {
  background: var(--canvas);
  scroll-behavior: smooth;
}

button, summary, a { -webkit-tap-highlight-color: transparent; }
button, summary { touch-action: manipulation; }
[hidden] { display: none !important; }

.dc-cursor-glow,
.dc-scroll-progress,
.dc-hero-bg { display: none !important; }

.skip-link {
  position: fixed; top: 8px; left: 16px; z-index: 1600;
  padding: 10px 16px; background: var(--ink-text); color: #fff;
  font-weight: 600; border-radius: var(--r-lg); transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

/* ===== Feather-Blur Borderless Header (APIMart 同款无底线羽化玻璃导航) ===== */
.bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: transparent !important;
  border-bottom: none !important;
  box-shadow: none !important;
}
.bar::before {
  content: '';
  position: absolute;
  inset: 0 0 -16px 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(247, 245, 244, 0.92) 0%, rgba(247, 245, 244, 0.62) 62%, rgba(247, 245, 244, 0) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  mask-image: linear-gradient(to bottom, #000 0%, #000 66%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 66%, transparent 100%);
}
.site-product-nav .site-product-link {
  min-height: 40px !important;
  padding: 6px 12px !important;
  border-radius: var(--r-lg) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}
.site-product-link[aria-current="page"]::after { display: none !important; }
.site-product-icon-vctool {
  background: #fff !important;
  border: 1px solid var(--line) !important;
  padding: 4px !important;
  overflow: hidden;
}
.site-product-icon-vctool svg {
  display: block;
  width: 100%;
  height: 100%;
}
.bar nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.bar nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 10px;
  border-radius: var(--r-md);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-text) !important;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.bar nav a:hover {
  color: var(--muted) !important;
  background: rgba(25, 27, 31, 0.04);
}
.bar nav a.is-current {
  background: rgba(25, 27, 31, 0.07);
  color: var(--ink-text) !important;
  font-weight: 600;
}
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  min-height: 40px;
  padding: 6px 12px;
  color: var(--ink-text);
  background: var(--white);
  font: 500 13.5px var(--sans);
  cursor: pointer;
}
.nav-toggle svg { width: 18px; height: 18px; }

/* ===== Scroll Reveal ===== */
.dc-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.dc-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Hero: Dramatic Ink Dark Viewport (#0b0c0e) Framed on Vellum ===== */
.hero {
  position: relative;
  width: min(1440px, calc(100% - 32px));
  margin: 10px auto 0;
  border-radius: 16px;
  background: var(--ink) !important;
  background-image: none !important;
  border: 1px solid rgba(25, 27, 31, 0.12);
  color: #fff;
  padding: 64px 0 72px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  left: -120px;
  bottom: -140px;
  width: 520px;
  height: 420px;
  border-radius: 50%;
  background: rgba(242, 106, 46, 0.22);
  filter: blur(110px);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  right: -100px;
  top: -120px;
  width: 480px;
  height: 400px;
  border-radius: 50%;
  background: rgba(77, 107, 254, 0.22);
  filter: blur(110px);
  pointer-events: none;
}
.hero > .wrap { position: relative; z-index: 2; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 12px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(12px);
  color: #e8e9ec;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 0;
}
.hero h1 svg path {
  stroke: #f26a2e;
  stroke-dasharray: 140;
  stroke-dashoffset: 140;
  animation: drawWire 1.1s var(--ease) 0.2s forwards;
}
@keyframes drawWire { to { stroke-dashoffset: 0; } }
.hero-side .hero-benefit { color: #fff; font-size: 18px; font-weight: 500; line-height: 1.55; margin-bottom: 10px; }
.hero-side p { font-size: 15px; color: rgba(255, 255, 255, 0.72); line-height: 1.65; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 22px;
  border-radius: var(--r-lg);
  font: 500 15px var(--sans);
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.btn-primary {
  background: #ffffff;
  color: var(--ink-text);
}
.btn-primary:hover { background: rgba(255, 255, 255, 0.90); transform: translateY(-1px); }
.btn-ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.44); }
.ver, .hero-note { color: rgba(255, 255, 255, 0.56); font-size: 12.5px; }

.hero-shot { margin-top: 48px; }
.hero-shot .shot {
  border-radius: var(--r-2xl);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 36px 80px -36px rgba(0, 0, 0, 0.85);
}
.hero-shot .pin { pointer-events: none; }
.hero-shot .pin i { background: #f26a2e; box-shadow: 0 0 0 4px rgba(242, 106, 46, 0.28); }
.hero-shot .pin span {
  background: rgba(11, 12, 14, 0.86);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
  border-radius: var(--r-lg);
  padding: 5px 12px;
  font-size: 12.5px;
}

/* ===== Light Editorial Sections (Warm Vellum #f7f5f4 + Crisp White Cards) ===== */
section {
  padding: 80px 0;
  background: var(--canvas);
  color: var(--ink-text);
}
.works, .panorama, .layering, .faq {
  background: var(--canvas);
}
.print, .album, .vector-recreation {
  background: var(--canvas);
  border-top: 1px solid var(--line);
}
/* ===== VC Agent: 3D 倾斜动态作品背景墙 + 悬浮高透白毛玻璃浮窗 ===== */
.agent-glass-sec {
  background: var(--canvas);
  border-top: 1px solid var(--line);
  padding: 84px 0 92px;
}
.agent-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}
.agent-sec-head .sec-title { margin-bottom: 0; }
.agent-sec-head .sec-title span { color: var(--muted-light); }
.agent-shot-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--r-lg);
  background: var(--ink-text);
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.agent-shot-btn:hover { opacity: 0.86; transform: translateY(-1px); }

.agent-glass-stage {
  position: relative;
  border-radius: 16px;
  background: #e9e9e6;
  border: 1px solid var(--line);
  overflow: hidden;
  padding: 48px 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
/* 3D 透视倾斜动态作品背景墙 */
.agent-wall-3d {
  position: absolute;
  inset: -120px -80px;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  transform: perspective(1600px) rotateX(28deg) rotate(-10deg) scale(1.16);
  transform-origin: center center;
  pointer-events: none;
  opacity: 0.88;
}
.agent-glass-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 85% 75% at 50% 50%, rgba(247, 245, 244, 0.14) 0%, rgba(233, 233, 230, 0.56) 100%);
}
.wall-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  will-change: transform;
}
.wall-col img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.wall-col.col-up { animation: wallScrollUp 38s linear infinite; }
.wall-col.col-down { animation: wallScrollDown 44s linear infinite; }
@keyframes wallScrollUp {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(0, -40%, 0); }
}
@keyframes wallScrollDown {
  0% { transform: translate3d(0, -40%, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* 悬浮高透白毛玻璃浮窗（apib.ai 同款物理玻璃参数） */
.agent-glass-win {
  position: relative;
  z-index: 3;
  width: min(860px, 100%);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(26px) saturate(1.45);
  -webkit-backdrop-filter: blur(26px) saturate(1.45);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    0 32px 70px -30px rgba(25, 27, 31, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.agw-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(25, 27, 31, 0.08);
  background: rgba(255, 255, 255, 0.42);
  flex-wrap: wrap;
}
.agw-dots { display: flex; gap: 6px; }
.agw-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(25, 27, 31, 0.16); }
.agw-modes {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border-radius: 8px;
  background: rgba(25, 27, 31, 0.05);
}
.agw-mode {
  height: 28px;
  padding: 0 11px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: 500 12.5px var(--sans);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.agw-mode:hover { color: var(--ink-text); }
.agw-mode.is-active {
  background: #fff;
  color: var(--ink-text);
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}
.agw-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: #15803d;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(22, 163, 74, 0.10);
}
.agw-status i { width: 6px; height: 6px; border-radius: 50%; background: #16a34a; }

.agw-body {
  padding: 22px 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.agw-user-bubble {
  align-self: flex-end;
  max-width: 78%;
  padding: 13px 18px;
  border-radius: 12px;
  background: #141518;
  color: #fff;
  font-size: 13.5px;
  line-height: 1.55;
  box-shadow: 0 12px 28px -14px rgba(0, 0, 0, 0.45);
}
.agw-steps { display: flex; flex-direction: column; gap: 6px; }
.agw-step-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px;
  border-radius: 8px;
  background: rgba(25, 27, 31, 0.045);
  border: 1px solid rgba(25, 27, 31, 0.06);
  font-size: 12.5px;
  color: var(--ink-text);
}
.agw-step-row span { font-weight: 500; }
.agw-step-row small { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }

.agw-reply-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 152px;
  gap: 16px;
  align-items: stretch;
}
.agw-reply-box {
  padding: 16px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(25, 27, 31, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}
.agw-reply-box p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-text);
}
.agw-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.agw-tags span {
  font-family: var(--mono);
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(25, 27, 31, 0.06);
  color: var(--muted);
}
.agw-thumb {
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(25, 27, 31, 0.12);
  background: #141518;
  cursor: zoom-in;
  text-decoration: none;
}
.agw-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.35s var(--ease);
}
.agw-thumb:hover img { transform: scale(1.04); }
.agw-thumb span {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  text-align: center;
  padding: 4px 6px;
  border-radius: 6px;
  background: rgba(11, 12, 14, 0.82);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
}

.agw-input-bar {
  margin: 0 18px 18px;
  padding: 10px 12px 10px 14px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid rgba(25, 27, 31, 0.10);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}
.agw-input-bar img { border-radius: 6px; flex: none; }
.agw-input-bar span#agwInputHint { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agw-send-btn {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #141518;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  flex: none;
}

/* 窗外底部快捷提问胶囊 */
.agw-prompts {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.78);
}
.agw-prompts-lbl { font-size: 12.5px; color: var(--muted); margin-right: 2px; }
.agw-prompt-chip {
  height: 30px;
  padding: 0 13px;
  border-radius: 9999px;
  border: 1px solid rgba(25, 27, 31, 0.10);
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink-text);
  font: 500 12.5px var(--sans);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.agw-prompt-chip:hover { background: #fff; }
.agw-prompt-chip.is-active {
  background: #141518;
  color: #fff;
  border-color: #141518;
}

@media (max-width: 720px) {
  .agent-sec-head { flex-direction: column; align-items: flex-start; }
  .agent-glass-stage { padding: 24px 14px 20px; }
  .agw-body { padding: 16px; }
  .agw-user-bubble { max-width: 100%; }
  .agw-reply-grid { grid-template-columns: 1fr; }
  .agw-thumb { height: 180px; }
  .agw-prompts { border-radius: 14px; }
}

.sec-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--ink-text);
  margin: 0 0 14px;
}
.sec-lead {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 42em;
}
.album-eyebrow, .panorama-eyebrow, .print-eyebrow, .layer-eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
}

/* 发丝边框卡片：常规 0 阴影，Hover 浮现柔和阴影 */
.shot, .shot.light {
  border-radius: var(--r-2xl);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: none !important;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.shot:hover, .shot.light:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 30px 60px -36px rgba(25, 27, 31, 0.32) !important;
}
.agent.dark .shot {
  background: #141518;
  border-color: rgba(255, 255, 255, 0.14);
}
.image-link { display: block; position: relative; border-radius: inherit; cursor: zoom-in; text-decoration: none; overflow: hidden; }
.image-link img { transition: transform 0.55s var(--ease); }
.image-link:hover img { transform: scale(1.04); }
.image-link::after {
  content: '预览 ↗';
  position: absolute; right: 12px; bottom: 12px;
  padding: 5px 10px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: var(--r-md);
  color: #fff; background: rgba(11, 12, 14, 0.82); backdrop-filter: blur(10px);
  font: 500 12px var(--sans); opacity: 0; transition: opacity 0.2s var(--ease);
}
.image-link:hover::after, .image-link:focus-visible::after { opacity: 1; }

/* ===== Works Gallery ===== */
.case-heading { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.case-facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 0; padding: 22px 24px;
  border: 1px solid var(--line); border-radius: var(--r-2xl); background: var(--white);
}
.case-facts dt { color: var(--muted); font-size: 12px; font-family: var(--mono); margin-bottom: 4px; }
.case-facts dd { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--ink-text); }
.gallery-group-title { margin: 40px 0 0; font-size: 16px; font-weight: 600; color: var(--ink-text); }
.gallery-group-title + .gallery { margin-top: 16px; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 16px; }
.gallery-inputs { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 820px; }
.gallery-results { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.gallery .image-link { border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--white); }
.gallery figcaption { font-size: 13.5px; font-weight: 600; color: var(--ink-text); margin-top: 8px; }
.gallery figcaption small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--muted); }
.gallery-note { margin: 28px 0 0; font-size: 13.5px; color: var(--muted); }
.gallery-note a { color: var(--ink-text); font-weight: 600; text-underline-offset: 4px; }

/* ===== Story 4-Step Tour ===== */
.story-controls { display: none; }
.has-js .story-controls { display: block; margin-top: 32px; }
.step-picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.step-picker button {
  display: flex; align-items: center; gap: 10px; text-align: left; min-height: 56px; padding: 10px 14px;
  border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--white);
  color: var(--ink-text); cursor: pointer; font: 500 14px var(--sans);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.step-picker button span {
  display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: var(--r-md);
  background: var(--frost); color: var(--muted); font-family: var(--mono); font-size: 12px; font-weight: 600;
}
.step-picker button[aria-pressed='true'] { border-color: var(--ink-text); background: var(--ink-text); color: #fff; }
.step-picker button[aria-pressed='true'] span { background: rgba(255, 255, 255, 0.16); color: #fff; }
.story-guide-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.has-js .story-list { margin-top: 24px; }
.has-js .story-list li, .has-js .story-list li:nth-child(even) {
  grid-template-columns: 1.55fr 1fr; gap: 36px; padding: 24px;
  border-radius: var(--r-2xl); background: var(--white); border: 1px solid var(--line);
  animation: stepIn 0.4s var(--ease);
}
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.has-js .story-list li:nth-child(even) .shot { order: 0; }
.step-no { font-family: var(--mono); font-weight: 600; color: var(--muted); font-size: 13px; }
.story-list h3 { font-size: 22px; font-weight: 600; color: var(--ink-text); margin: 8px 0 10px; }
.story-list p { font-size: 14px; color: var(--muted); }
.nodes-used { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.nodes-used span {
  font-family: var(--mono); font-size: 12px; padding: 4px 10px; border-radius: var(--r-md);
  background: var(--frost); color: var(--ink-text); box-shadow: none;
}
.step-pagination { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; gap: 12px; }
.step-pagination button {
  min-height: 40px; padding: 0 18px; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--white); font: 500 13.5px var(--sans); color: var(--ink-text); cursor: pointer;
}
.step-pagination button:hover:not(:disabled) { background: var(--ink-text); color: #fff; border-color: var(--ink-text); }
.step-pagination button:disabled { opacity: 0.4; cursor: default; }
.step-status { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }

/* ===== Album / Panorama / Print / Layering / Vector ===== */
.album-heading, .panorama-heading, .print-heading, .layer-heading {
  display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 48px;
}
.album-heading .sec-title, .panorama-heading .sec-title, .print-heading .sec-title, .layer-heading .sec-title { margin-bottom: 0; }
.album-steps, .print-steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 36px 0;
}
.album-steps li, .print-steps li {
  display: flex; gap: 14px; padding: 20px; border-radius: var(--r-xl);
  background: var(--white); border: 1px solid var(--line);
}
.album-step, .print-step { flex: none; font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--muted); }
.album-steps h3, .print-steps h3 { margin: 0 0 6px; font-size: 16px; font-weight: 600; color: var(--ink-text); }
.album-steps p, .print-steps p { margin: 0; font-size: 13.5px; color: var(--muted); }
.album-example img, .panorama-results img, .print-outputs img, .print-size-guide img { width: 100%; height: auto; }
.album-example figcaption, .panorama-flow figcaption, .panorama-results figcaption,
.print-flow figcaption, .print-outputs figcaption, .print-size-guide figcaption, .layer-note {
  margin-top: 12px; font-size: 13px; color: var(--muted);
}
.panorama-flow figcaption b { display: block; margin-bottom: 3px; color: var(--ink-text); font-size: 14.5px; }
.album-note, .panorama-note, .print-note {
  margin: 24px 0 0; padding-left: 14px; border-left: 2px solid var(--ink-text);
  font-size: 14px; color: var(--muted);
}
.panorama-flow, .panorama-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.print-cases { display: grid; gap: 36px; margin-top: 36px; }
.print-case { padding: 24px; border-radius: var(--r-2xl); background: var(--white); border: 1px solid var(--line); }
.print-case > header { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 20px; }
.print-case > header > span { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.print-case > header h3 { margin: 0; font-size: 20px; font-weight: 600; color: var(--ink-text); }
.print-case > header p { width: 100%; margin: 0; font-size: 13.5px; color: var(--muted); }
.print-flow { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; align-items: start; }
.print-outputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.print-size-guide {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(220px, .72fr);
  align-items: center; gap: 18px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line);
}
.print-size-options { display: contents; }

.layer-flow {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 18px 0 0;
  padding: 6px 14px; border-radius: 9999px; background: var(--white); border: 1px solid var(--line);
  font-size: 13px; color: var(--ink-text); font-weight: 500;
}
.layer-flow span { color: var(--muted); }
.layer-demos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.layer-demo {
  min-width: 0; border: 1px solid var(--line); border-radius: var(--r-2xl);
  overflow: hidden; background: var(--white);
}
.layer-demo figcaption {
  display: flex; align-items: flex-start; gap: 12px; padding: 20px;
  background: var(--white); border-bottom: 1px solid var(--line);
}
.layer-step {
  display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: var(--r-md);
  background: var(--frost); color: var(--ink-text); font-family: var(--mono); font-size: 12px; font-weight: 600;
}
.layer-demo h3 { margin: 0 0 4px; font-size: 17px; font-weight: 600; color: var(--ink-text); }
.layer-demo figcaption p { margin: 0; font-size: 13.5px; color: var(--muted); }
.layer-demo video { display: block; width: 100%; height: auto; background: #141518; }

/* ===== Nodes & Onboarding ===== */
.group {
  padding: 22px 24px; border-radius: var(--r-2xl);
  background: var(--white); border: 1px solid var(--line);
}
.group + .group { margin-top: 16px; }
.group h3 { margin: 0 0 12px; font-size: 16px; font-weight: 600; color: var(--ink-text); }
.menu li { border-top: 1px solid var(--line); padding: 12px 0; }
.menu b { font-size: 14px; color: var(--ink-text); }
.menu span { font-size: 13px; color: var(--muted); }
.menu a { color: var(--ink-text); font-weight: 600; text-underline-offset: 3px; }
.sock {
  background: var(--white); box-shadow: none; border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 500; color: var(--ink-text);
}
.sock i { background: var(--white); box-shadow: inset 0 0 0 3px var(--ink-text); }

/* ===== 8 Themes Switcher (Live Theme Morphing Preserved) ===== */
.themes {
  --t-bg: #0b0c0e;
  --t-fg: #ffffff;
  --t-muted: rgba(255, 255, 255, 0.7);
  background: var(--t-bg) !important;
  color: var(--t-fg) !important;
  transition: background-color 0.55s var(--ease), color 0.55s var(--ease);
}
.themes .sec-title { color: var(--t-fg); }
.themes .sec-lead { color: var(--t-muted); }
.theme-picker button { min-height: 40px; font-size: 14px; }
.theme-picker button[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--beak); }
.theme-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; }
.theme-toolbar .theme-caption { margin: 0; min-height: 0; color: var(--t-muted); font-size: 14.5px; }
.theme-toolbar .theme-caption b { color: var(--t-fg); }
.theme-preview {
  display: none; flex: none; min-height: 40px; border-radius: var(--r-lg);
  border: 1px solid currentColor; color: inherit; background: transparent;
  padding: 0 16px; font: 500 13.5px var(--sans); cursor: zoom-in;
}
.has-js .theme-preview { display: inline-flex; align-items: center; }

/* ===== FAQ (APIMart 极简白卡片 + 01..06 编号风格) ===== */
.faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 56px; }
.faq-intro { position: sticky; top: 108px; align-self: start; }
.faq-list {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 0 24px;
  counter-reset: faq-cnt;
}
.faq-list details { border-top: 1px solid var(--line); counter-increment: faq-cnt; }
.faq-list details:first-child { border-top: none; }
.faq-list summary {
  display: flex; align-items: center; gap: 14px;
  list-style: none; padding: 20px 0; min-height: 56px;
  font-size: 15.5px; font-weight: 600; color: var(--ink-text); cursor: pointer;
}
.faq-list summary::before {
  content: counter(faq-cnt, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
  flex: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; margin-left: auto; color: var(--muted); font-size: 20px; font-weight: 400; }
.faq-list details[open] summary::after { content: '−'; color: var(--ink-text); }
.faq-list details p { margin: 0 0 20px 32px; font-size: 14px; color: var(--muted); line-height: 1.75; }

/* ===== Footer / End Dark Card ===== */
.end {
  background: var(--ink) !important;
  background-image: none !important;
  color: #fff;
  padding: 88px 0 44px;
}
.end h2 { font-family: var(--sans); font-weight: 700; letter-spacing: -0.03em; }
.end .social-links a {
  border-radius: var(--r-lg);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
  font-size: 14px;
  font-weight: 500;
}
.end .social-links a:hover { background: #fff; color: var(--ink-text); border-color: #fff; }
.end .social-links a:hover span { color: var(--ink-text); }
.end .fine { margin-top: 56px; border-top-color: rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.56); }

/* ===== Clean Native Dialog Lightbox ===== */
.image-viewer {
  width: min(1200px, calc(100% - 32px)); height: min(900px, calc(100dvh - 32px));
  max-width: none; max-height: none; padding: 18px;
  border: 1px solid var(--line); border-radius: var(--r-2xl);
  color: var(--ink-text); background: var(--white);
  box-shadow: 0 36px 90px -24px rgba(0, 0, 0, 0.5);
}
.image-viewer::backdrop { background: rgba(11, 12, 14, 0.78); backdrop-filter: blur(14px); }
.image-viewer[open] { display: flex; flex-direction: column; gap: 12px; }
.viewer-top, .viewer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: none; }
.viewer-top h2 { font-size: 15px; font-weight: 600; margin: 0; }
.image-viewer button {
  min-width: 40px; min-height: 40px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--paper); color: var(--ink-text); font: 500 13.5px var(--sans); cursor: pointer;
}
.image-viewer button:hover:not(:disabled) { background: var(--ink-text); color: #fff; border-color: var(--ink-text); }
.image-viewer button:disabled { opacity: 0.35; cursor: default; }
.viewer-body {
  display: flex; align-items: center; justify-content: center;
  flex: 1; min-height: 0; overflow: auto; border-radius: var(--r-xl); background: var(--frost);
}
.viewer-body img { flex: none; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.viewer-bottom p { margin: 0; color: var(--ink-text); font-size: 13px; text-align: center; }
.viewer-bottom p span { display: block; }
.viewer-bottom p small { display: block; color: var(--muted); margin-top: 3px; }
body:has(.image-viewer[open]) { overflow: hidden; }

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .has-js body[data-site-product="dreamcanvas"] #pageNav {
    background: var(--white) !important;
    border: 1px solid var(--line) !important;
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.18) !important;
  }
}
@media (max-width: 960px) {
  .case-heading, .agent-grid, .faq-layout, .layer-heading, .album-heading, .panorama-heading, .print-heading { grid-template-columns: 1fr; gap: 24px; }
  .layer-demos, .print-flow, .print-size-guide { grid-template-columns: 1fr; }
  .print-size-options { display: grid; grid-template-columns: 1fr; gap: 16px; }
  .faq-intro { position: static; }
  .gallery, .gallery-inputs, .gallery-results { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .has-js .story-list li, .has-js .story-list li:nth-child(even) { grid-template-columns: 1fr; gap: 20px; padding: 18px; }
  .hero { width: calc(100% - 20px); padding: 40px 0 48px; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  section { padding: 56px 0; }
  .gallery, .gallery-inputs, .gallery-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .album-steps, .print-steps, .panorama-flow, .panorama-results { grid-template-columns: 1fr; }
  .step-picker { grid-template-columns: 1fr 1fr; }
  .theme-toolbar { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .dc-reveal { opacity: 1 !important; transform: none !important; }
}
