@font-face {
  font-family: "Alibaba PuHuiTi";
  src: local("Alibaba-PuHuiTi-L"), local("Alibaba PuHuiTi L"), local("阿里巴巴普惠体 L"), local("Alibaba PuHuiTi Light");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Alibaba PuHuiTi";
  src: local("Alibaba-PuHuiTi-R"), local("Alibaba PuHuiTi R"), local("阿里巴巴普惠体 R"), local("Alibaba PuHuiTi Regular");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Alibaba PuHuiTi";
  src: local("Alibaba-PuHuiTi-M"), local("Alibaba PuHuiTi M"), local("阿里巴巴普惠体 M"), local("Alibaba PuHuiTi Medium");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Alibaba PuHuiTi";
  src: local("Alibaba-PuHuiTi-B"), local("Alibaba PuHuiTi B"), local("阿里巴巴普惠体 B"), local("Alibaba PuHuiTi Bold");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Alibaba PuHuiTi";
  src: local("Alibaba-PuHuiTi-H"), local("Alibaba PuHuiTi H"), local("阿里巴巴普惠体 H"), local("Alibaba PuHuiTi Heavy");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Alimama ShuHeiTi";
  src: local("AlimamaShuHeiTi-Bold"), local("Alimama ShuHeiTi Bold"), local("阿里妈妈数黑体 Bold"), local("阿里妈妈数黑体");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root,
html[data-theme="dark"] {
  --bg: #071022;
  --brand-blue: #075ccf;
  --brand-cyan: #29d8e0;
  --accent: #29d8e0;
  --accent-2: #4c97ff;
  --accent-rgb: 41, 216, 224;
  --on-accent: #071022;
  --grad-start: #4c97ff;
  --grad-end: #29d8e0;
  --ink: #f3f6fa;
  --muted: #93a9c2;
  --glass: rgba(14, 28, 56, 0.56);
  --glass-alt: rgba(21, 40, 77, 0.56);
  --glass-solid: #0c1a36;
  --glass-border: rgba(130, 178, 255, 0.22);
  --glow-border: rgba(41, 216, 224, 0.72);
  --glow-shadow: 0 0 36px rgba(41, 216, 224, 0.16);
  --soft-bg: rgba(41, 216, 224, 0.13);
  --divider: rgba(185, 195, 207, 0.14);
  --shadow: 0 20px 52px rgba(0, 0, 0, 0.46);
  --bg-glow: radial-gradient(960px 440px at 8% -10%, rgba(7, 92, 207, 0.14), transparent 65%),
             radial-gradient(760px 380px at 94% -10%, rgba(41, 216, 224, 0.08), transparent 60%);
  --ambient-grid-dot: rgba(41, 216, 224, 0.07);
  --ambient-stream-base: rgba(41, 216, 224, 0.055);
  --ambient-orb-a: rgba(7, 92, 207, 0.14);
  --ambient-orb-b: rgba(41, 216, 224, 0.09);
  --font-sans: "Alibaba PuHuiTi", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-display: "Alimama ShuHeiTi", "Alibaba PuHuiTi", "PingFang SC", sans-serif;
}

html[data-theme="light"] {
  --bg: #eef3f9;
  --brand-blue: #075ccf;
  --brand-cyan: #29d8e0;
  --accent: #075ccf;
  --accent-2: #0891b2;
  --accent-rgb: 7, 92, 207;
  --on-accent: #ffffff;
  --grad-start: #075ccf;
  --grad-end: #0891b2;
  --ink: #0b1730;
  --muted: #5d738b;
  --glass: rgba(255, 255, 255, 0.78);
  --glass-alt: rgba(235, 241, 249, 0.72);
  --glass-solid: #ffffff;
  --glass-border: rgba(154, 175, 198, 0.55);
  --glow-border: rgba(7, 92, 207, 0.58);
  --glow-shadow: 0 14px 36px rgba(7, 92, 207, 0.12);
  --soft-bg: rgba(7, 92, 207, 0.10);
  --divider: rgba(11, 23, 48, 0.08);
  --shadow: 0 16px 40px rgba(11, 23, 48, 0.08);
  --bg-glow: radial-gradient(960px 420px at 8% -8%, rgba(7, 92, 207, 0.05), transparent 65%),
             radial-gradient(760px 360px at 94% -10%, rgba(41, 216, 224, 0.06), transparent 60%);
  --ambient-grid-dot: rgba(7, 92, 207, 0.065);
  --ambient-stream-base: rgba(7, 92, 207, 0.045);
  --ambient-orb-a: rgba(7, 92, 207, 0.07);
  --ambient-orb-b: rgba(41, 216, 224, 0.09);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image: var(--bg-glow);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* 麦极科 · 环流唯一贯穿背景微动效 */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.ambient-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--ambient-grid-dot) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, #000 38%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, #000 38%, transparent 100%);
}
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(92px);
  will-change: transform;
}
.ambient-orb.orb-a {
  width: 560px;
  height: 560px;
  top: -150px;
  left: -80px;
  background: radial-gradient(circle, var(--ambient-orb-a) 0%, transparent 70%);
  animation: auraFloatA 28s ease-in-out infinite alternate;
}
.ambient-orb.orb-b {
  width: 520px;
  height: 520px;
  right: -90px;
  bottom: -140px;
  background: radial-gradient(circle, var(--ambient-orb-b) 0%, transparent 70%);
  animation: auraFloatB 34s ease-in-out infinite alternate;
}
.ambient-streams {
  position: absolute;
  top: 0;
  left: -6%;
  width: 112%;
  height: 100%;
  opacity: 0.42;
  transform: translate3d(calc(var(--slide-progress, 0) * -2.6%), 0, 0);
  transition: transform 0.35s ease-out;
}
.stream-base {
  fill: none;
  stroke: var(--ambient-stream-base);
  stroke-width: 1;
}
.stream-pulse {
  fill: none;
  stroke: url(#stream-grad);
  stroke-width: 1.4;
  opacity: 0.38;
  stroke-linecap: round;
  stroke-dasharray: 14 86;
  animation: streamFlow 16s linear infinite;
}
.stream-pulse.pulse-2 { animation-duration: 22s; animation-delay: -6s; }
.stream-pulse.pulse-3 { animation-duration: 28s; animation-delay: -13s; }
@keyframes auraFloatA {
  0% { transform: translate3d(calc(var(--slide-progress, 0) * -18px), 0, 0) scale(1); }
  100% { transform: translate3d(calc(var(--slide-progress, 0) * -18px + 22px), 14px, 0) scale(1.03); }
}
@keyframes auraFloatB {
  0% { transform: translate3d(calc(var(--slide-progress, 0) * -26px), 0, 0) scale(1); }
  100% { transform: translate3d(calc(var(--slide-progress, 0) * -26px - 20px), -14px, 0) scale(1.04); }
}
@keyframes streamFlow {
  from { stroke-dashoffset: 100; }
  to { stroke-dashoffset: 0; }
}

.brand-ribbon {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 45;
  height: 2px;
  opacity: 0.9;
  background: linear-gradient(135deg, #075ccf 0%, #29d8e0 100%);
  pointer-events: none;
}

.brand-corner {
  position: fixed;
  top: 16px;
  left: 24px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.42;
  transition: opacity 0.2s ease;
}
.brand-corner:hover { opacity: 0.92; }
.brand-corner svg { width: 22px; height: 22px; display: block; }
.brand-corner span { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink); }

a { color: inherit; text-decoration: none; }
button, input, select { font-family: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
[hidden] { display: none !important; }

.skip {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  background: var(--accent);
  color: #050510;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
}
.skip:focus { top: 12px; }

.hud-btn {
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.hud-btn:hover { border-color: var(--accent); color: var(--accent); }
.account-bar { display: flex; gap: 6px; }
.account-pill {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}

/* 右下角悬停微工具坞 */
.dock-tools {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: max-width 0.24s ease, opacity 0.2s ease;
}
.page-counter:hover .dock-tools,
.page-counter:focus-within .dock-tools {
  max-width: 140px;
  opacity: 1;
  pointer-events: auto;
}
.dock-btn {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.dock-btn:hover { border-color: var(--accent); color: var(--accent); }

/* 可展开的目录面板（从右下角上方弹出） */
.slide-menu {
  position: fixed;
  top: auto;
  bottom: 52px;
  right: 22px;
  z-index: 45;
  display: grid;
  gap: 4px;
  padding: 8px;
  min-width: 176px;
  border-radius: 14px;
  background: var(--glass-solid);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
}
.slide-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.slide-menu a span { font-size: 11px; font-weight: 900; color: var(--accent); }
.slide-menu a:hover { background: var(--soft-bg); color: var(--ink); }
.slide-menu a[aria-current="page"] { background: var(--soft-bg); color: var(--accent); font-weight: 700; }

/* 主舞台 */
main {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding: 48px 56px 56px;
  display: flex;
  flex-direction: column;
}
.slide-screen {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.slide-screen:not([hidden]) {
  animation: slideIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.slide-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.grad-title {
  background: linear-gradient(95deg, var(--grad-start) 0%, var(--grad-end) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.slide-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.2;
  margin: 0 0 34px;
  letter-spacing: -0.01em;
}

/* 第 1 屏：封面母版（对齐 frame-00600 / frame-00180） */
.cover-inner {
  max-width: 1180px;
  padding: 0 20px;
}
.cover-eyebrow {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 18px;
}
.cover-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 4.3vw, 62px);
  line-height: 1.16;
  margin: 0 0 24px;
  letter-spacing: -0.015em;
}
.cover-sub {
  font-size: clamp(19px, 1.9vw, 25px);
  font-weight: 400;
  color: var(--ink);
  opacity: 0.88;
  margin: 0 0 46px;
}
.cover-byline {
  font-size: 16px;
  font-weight: 400;
  color: var(--muted);
  margin: 0;
  letter-spacing: 0.03em;
}

/* 玻璃卡片基础 */
.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}
.glass-dim { opacity: 0.86; }
.glass-glow {
  border-color: var(--glow-border);
  box-shadow: var(--glow-shadow), var(--shadow);
}

/* 第 2 屏：双栏对比母版（对齐 frame-00780） */
.compare-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.compare-split .glass-card { padding: 28px 30px; }
.card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--muted);
}
.card-head-accent { color: var(--accent); }
.card-head h2 { margin: 0; font-size: 20px; font-weight: 700; }
.ico { width: 22px; height: 22px; flex-shrink: 0; }
.cmp-list { list-style: none; margin: 0; padding: 0; }
.cmp-list li {
  display: grid;
  grid-template-columns: 22px auto minmax(0, 1fr);
  align-items: baseline;
  gap: 12px;
  padding: 15px 0;
  border-top: 1px solid var(--divider);
  font-size: 15px;
  line-height: 1.55;
}
.cmp-list li:first-child { border-top: 0; padding-top: 6px; }
.cmp-list strong { font-weight: 700; white-space: nowrap; }
.glass-dim .cmp-list strong { color: var(--ink); }
.glass-glow .cmp-list strong { color: var(--accent); }
.cmp-list li > span:last-child { color: var(--muted); }
.glass-glow .cmp-list li > span:last-child { color: var(--ink); opacity: 0.9; }
.mark {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
}
.mark-x { border: 1px solid var(--muted); color: var(--muted); }
.mark-ok { border: 1px solid var(--accent); color: var(--accent); }

/* 第 3 屏：大公式记忆母版（对齐 frame-00960） */
.formula-inner { text-align: center; }
.formula-caption { margin-bottom: 48px; }
.formula-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.formula-lhs {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 4.6vw, 60px);
  line-height: 1.2;
  padding-top: 6px;
}
.formula-op {
  font-size: 36px;
  font-weight: 500;
  color: var(--muted);
  padding-top: 16px;
}
.formula-term {
  min-width: 260px;
  text-align: center;
  padding: 4px 12px;
  border-radius: 14px;
  transition: transform 0.18s ease, background-color 0.18s ease;
}
.formula-term-glow:hover {
  transform: translateY(-3px);
  background: var(--soft-bg);
}
.formula-main {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.2;
  color: var(--ink);
}
.formula-line {
  height: 1px;
  background: var(--glass-border);
  margin: 16px 0 14px;
}
.formula-line-glow { background: var(--accent); }
.formula-term p {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
}
.formula-term-glow p { color: var(--accent); opacity: 0.9; }

.quote-callout {
  display: inline-block;
  text-align: left;
  border-left: 3px solid var(--accent);
  padding: 2px 0 2px 14px;
  margin: 0;
  font-size: 16px;
  color: var(--ink);
  opacity: 0.88;
}

/* 第 4 屏：四层岗位分层母版（对齐 frame-02220） */
.roles-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.roles-head .slide-title { margin-bottom: 0; }
.mode-switch {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  gap: 4px;
}
.mode-btn {
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}
.mode-btn.active { background: var(--accent); color: var(--on-accent); }

.roles-rows { display: grid; gap: 14px; margin-bottom: 24px; }
.role-row {
  display: grid;
  grid-template-columns: 230px 180px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  padding: 18px 24px;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
}
.role-row-glow {
  border-color: var(--glow-border);
  box-shadow: var(--glow-shadow);
}
.role-left { display: flex; flex-direction: column; gap: 8px; }
.role-title-line { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; }
.role-title-line svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.role-meter {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}
.meter-track {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: var(--divider);
  overflow: hidden;
}
.meter-track span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.role-mid { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.role-pill {
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid var(--glow-border);
  background: var(--soft-bg);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}
.role-mid span:last-child { font-size: 13px; color: var(--muted); }
.role-example {
  border-left: 2px solid var(--divider);
  padding: 6px 0 6px 18px;
  font-size: 15px;
  color: var(--ink);
  opacity: 0.92;
}

.roles-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hud-link { font-size: 14px; font-weight: 700; color: var(--accent); }
.hud-link:hover { text-decoration: underline; }

/* 第 5 屏：去框通透 1px 顶线三步流（对标 frame-02640 / frame-02820 / frame-04560） */
.loop-sub {
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--ink);
  opacity: 0.85;
  margin: -18px 0 38px;
}
.topline-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 44px;
}
.topline-col {
  border-top: 1px solid var(--glass-border);
  padding-top: 18px;
}
.topline-col-glow {
  border-top: 2px solid var(--accent);
  box-shadow: 0 -10px 24px -14px rgba(var(--accent-rgb), 0.55);
}
.topline-step {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 10px;
}
.topline-col strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--ink);
  line-height: 1.25;
}
.topline-col p {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
}
.topline-arrow {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  padding-top: 16px;
}

.deriv-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.deriv-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.deriv-pill {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--soft-bg);
  border: 1px solid var(--glow-border);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}
.deriv-pill:hover { background: var(--accent); color: var(--on-accent); }

/* 第 7 屏：行动收尾大字报（对标 frame-06480） */
.closing-inner {
  text-align: center;
  max-width: 1060px;
}
.closing-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(44px, 5.6vw, 76px);
  line-height: 1.15;
  margin: 0 0 26px;
  letter-spacing: -0.015em;
}
.closing-sub {
  font-size: clamp(20px, 2vw, 26px);
  color: var(--ink);
  opacity: 0.9;
  margin: 0 0 42px;
}
.closing-action {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* 第 6 屏：深空玻璃证据台 */
.proof-screen { align-items: flex-start; padding-top: 8px; }
.proof-wrap { width: 100%; max-width: 1240px; margin: 0 auto; }
.proof-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.proof-kicker { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: var(--accent); }
.proof-title { font-size: clamp(24px, 2.6vw, 36px); margin: 0; }
.proof-tools { display: flex; gap: 10px; }

.proof-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.proof-tab {
  padding: 11px 14px;
  border-radius: 12px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  transition: all 0.18s ease;
}
.proof-tab:hover { color: var(--ink); border-color: var(--glow-border); }
.proof-tab.active {
  background: var(--soft-bg);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--glow-shadow);
}

.proof-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.proof-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.craft-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 20px 22px;
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.craft-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.craft-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: var(--soft-bg);
  padding: 3px 10px;
  border-radius: 999px;
}
.source-btn {
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--glow-border);
  background: var(--soft-bg);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}
.source-btn:hover { background: var(--accent); color: var(--on-accent); }
.craft-quote {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.38;
  margin: 0;
  color: var(--ink);
}
.craft-card h3 { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.4; }
.craft-card p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.62; }
.craft-foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--divider);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.copy-btn {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--glass-alt);
  border: 1px solid var(--glass-border);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}
.copy-btn:hover { border-color: var(--accent); color: var(--accent); }

.xhs-cover {
  border-radius: 12px;
  padding: 16px 18px;
  background: linear-gradient(125deg, rgba(7, 92, 207, 0.16), rgba(41, 216, 224, 0.14));
  border: 1px solid var(--glow-border);
}
.xhs-cover strong { display: block; font-family: var(--font-display); font-size: 20px; font-weight: 900; color: var(--ink); }
.xhs-cover span { display: block; font-size: 12px; color: var(--accent); margin-top: 4px; }
.craft-list { margin: 0; padding-left: 1.2em; font-size: 13px; color: var(--muted); }
.craft-list li { margin: 5px 0; line-height: 1.55; }
.xhs-tags { font-size: 12px; color: var(--accent-2); font-weight: 500; }

.script-rows { display: grid; gap: 7px; }
.script-row { background: var(--glass-alt); border-radius: 9px; padding: 8px 12px; border: 1px solid var(--divider); }
.script-row strong { display: block; font-size: 11px; color: var(--accent); margin-bottom: 2px; }
.script-row span { font-size: 13px; color: var(--ink); line-height: 1.5; }
.verify-note { font-size: 12px; color: var(--muted); background: var(--soft-bg); padding: 8px 12px; border-radius: 8px; }

/* 01 微信朋友圈原生卡片预览 */
.wx-post {
  background: #ffffff;
  color: #191919;
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.wx-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: #f5f6f8;
  border-bottom: 1px solid #e5e8ed;
  font-size: 11px;
  font-weight: 700;
  color: #5b6676;
}
.wx-bar .source-btn,
.xhs-appbar .source-btn,
.browser-demand-card .source-btn {
  background: #eef4fc;
  color: #075ccf;
  border-color: rgba(7, 92, 207, 0.28);
}
.wx-bar .source-btn:hover,
.xhs-appbar .source-btn:hover,
.browser-demand-card .source-btn:hover {
  background: #075ccf;
  color: #ffffff;
}
.wx-feed {
  padding: 14px;
  display: flex;
  gap: 10px;
  flex: 1;
}
.wx-avatar {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: linear-gradient(135deg, #075ccf, #29d8e0);
  color: #ffffff;
  font-weight: 900;
  font-size: 15px;
  display: grid;
  place-items: center;
}
.wx-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.wx-author { font-size: 13px; font-weight: 700; color: #576b95; line-height: 1.2; }
.wx-text { margin: 0; font-size: 12.5px; color: #191919; line-height: 1.55; }
.wx-card-art {
  border-radius: 10px;
  padding: 14px 15px;
  background: radial-gradient(circle at 90% 10%, rgba(41, 216, 224, 0.22), transparent 55%), linear-gradient(145deg, #071022, #0d234d);
  border: 1px solid rgba(41, 216, 224, 0.35);
  color: #f3f6fa;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wx-art-tag { font-size: 11px; font-weight: 700; color: #29d8e0; letter-spacing: 0.04em; }
.wx-card-art strong {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.38;
  color: #ffffff;
}
.wx-art-foot { font-size: 10px; color: rgba(243, 246, 250, 0.62); align-self: flex-end; }
.wx-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #8c96a4;
}
.wx-more {
  padding: 1px 6px;
  border-radius: 4px;
  background: #f2f3f5;
  color: #576b95;
  font-weight: 900;
  letter-spacing: 1px;
}
.wx-likes {
  background: #f5f6f8;
  border-radius: 6px;
  padding: 6px 9px;
  font-size: 11px;
  color: #576b95;
  line-height: 1.4;
}
.wx-foot {
  padding: 10px 14px;
  border-top: 1px solid #edf0f4;
  background: #fafbfc;
  display: flex;
  justify-content: flex-end;
}
.wx-foot .copy-btn,
.xhs-bottom .copy-btn {
  background: #eef4fc;
  border-color: rgba(7, 92, 207, 0.22);
  color: #075ccf;
}
.wx-foot .copy-btn:hover,
.xhs-bottom .copy-btn:hover {
  background: #075ccf;
  color: #ffffff;
}

/* 02 小红书桌面/平板分栏笔记预览 */
.xhs-phone {
  background: #ffffff;
  color: #1f2329;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  min-height: 344px;
}
.xhs-appbar {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 12px 14px 10px;
  border-bottom: 1px solid #f0f2f5;
}
.xhs-user { display: flex; align-items: center; gap: 7px; font-size: 12.5px; }
.xhs-u-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #075ccf, #29d8e0);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  display: grid;
  place-items: center;
}
.xhs-follow {
  padding: 2px 8px;
  border-radius: 999px;
  background: #ff2442;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
}
.xhs-carousel {
  grid-column: 1;
  grid-row: 1 / 4;
  position: relative;
  background: #0d182d;
  overflow: hidden;
}
.xhs-slides { width: 100%; height: 100%; position: relative; }
.xhs-slide {
  position: absolute;
  inset: 0;
  display: none;
  padding: 20px 16px;
}
.xhs-slide.active { display: flex; flex-direction: column; justify-content: center; }
.xhs-cover-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}
.xhs-cover-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 16, 34, 0.35), rgba(7, 16, 34, 0.88));
}
.xhs-cover-inner { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 10px; }
.xhs-cover-pill {
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 999px;
  background: #ff2442;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
}
.xhs-cover-inner strong {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.32;
  color: #ffffff;
}
.xhs-cover-inner em {
  font-style: normal;
  font-size: 12px;
  color: #29d8e0;
  font-weight: 700;
}
.xhs-slide-page {
  background: linear-gradient(160deg, #f8fbff, #eef4fb);
  color: #192231;
  justify-content: space-between;
}
.xhs-page-num {
  font-size: 11px;
  font-weight: 900;
  color: #075ccf;
  letter-spacing: 0.08em;
}
.xhs-slide-page p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
  color: #192231;
}
.xhs-page-sign { font-size: 10.5px; color: #64748b; }
.xhs-counter {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.65);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
}
.xhs-nav {
  position: absolute;
  bottom: 7px;
  z-index: 3;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.62);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 13px;
}
.xhs-nav:hover { background: rgba(7, 92, 207, 0.9); }
.xhs-nav.prev { left: 10px; }
.xhs-nav.next { right: 10px; }
.xhs-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 15px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 5px;
  pointer-events: none;
}
.xhs-dot { pointer-events: auto; }
.xhs-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  padding: 0;
}
.xhs-dot.active { width: 14px; border-radius: 999px; background: #ff2442; }
.xhs-body {
  grid-column: 2;
  grid-row: 2;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.xhs-body h3 { margin: 0; font-size: 16px; font-weight: 700; color: #191919; line-height: 1.38; }
.xhs-body p { margin: 0; font-size: 13px; color: #475569; line-height: 1.58; }
.xhs-tags { font-size: 12px; color: #1d4ed8; font-weight: 500; margin-top: auto; }
.xhs-bottom {
  grid-column: 2;
  grid-row: 3;
  padding: 10px 14px;
  border-top: 1px solid #f0f2f5;
  display: flex;
  align-items: center;
  gap: 8px;
}
.xhs-fake-input {
  flex: 1;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f4f5f7;
  color: #8c96a4;
  font-size: 11px;
}
.xhs-stats { font-size: 11px; color: #64748b; white-space: nowrap; }

/* 03 短视频 9:16 竖屏口播提词预览 */
.sv-unit {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 14px;
  backdrop-filter: blur(14px);
  display: grid;
  grid-template-columns: 204px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.sv-phone {
  position: relative;
  width: 204px;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  overflow: hidden;
  background: #071022;
  border: 1px solid rgba(130, 178, 255, 0.28);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
}
.sv-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}
.sv-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 16, 34, 0.35) 0%, rgba(7, 16, 34, 0.15) 45%, rgba(7, 16, 34, 0.9) 100%);
}
.sv-top-pill {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(7, 16, 34, 0.65);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
}
.sv-rec-dot { width: 6px; height: 6px; border-radius: 50%; background: #ff3b5c; }
.sv-side-icons {
  position: absolute;
  right: 8px;
  bottom: 108px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  font-weight: 700;
}
.sv-side-icons small { display: block; font-size: 9px; opacity: 0.78; font-weight: 500; }
.sv-sub-preview {
  position: relative;
  z-index: 2;
  background: rgba(7, 16, 34, 0.82);
  border: 1px solid rgba(41, 216, 224, 0.42);
  border-radius: 10px;
  padding: 8px 10px;
}
.sv-sub-preview strong { display: block; font-size: 10px; color: #29d8e0; margin-bottom: 2px; }
.sv-sub-preview span {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 11.5px;
  color: #ffffff;
  line-height: 1.45;
}
.sv-panel { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sv-panel h3 { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.35; }
.sv-scene { margin: 0; font-size: 12.5px; color: var(--muted); }
.sv-beats { display: grid; gap: 6px; }
.sv-beat {
  text-align: left;
  padding: 7px 10px;
  border-radius: 9px;
  background: var(--glass-alt);
  border: 1px solid var(--divider);
  transition: border-color 0.18s ease, background 0.18s ease;
}
.sv-beat:hover { border-color: var(--glow-border); }
.sv-beat.active {
  background: var(--soft-bg);
  border-color: var(--accent);
}
.sv-beat strong { display: block; font-size: 11px; color: var(--accent); margin-bottom: 1px; }
.sv-beat span { display: block; font-size: 12px; color: var(--ink); line-height: 1.45; }

/* 04 官网与宣发浏览器窗口预览 */
.browser-mock {
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  background: #e9eef5;
  border-bottom: 1px solid #d5dee9;
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.browser-dots i:nth-child(1) { background: #ff5f56; }
.browser-dots i:nth-child(2) { background: #ffbd2e; }
.browser-dots i:nth-child(3) { background: #27c93f; }
.browser-url {
  flex: 1;
  background: #ffffff;
  border: 1px solid #d8e0ea;
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 11.5px;
  color: #475569;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.browser-badge {
  font-size: 11px;
  font-weight: 700;
  color: #075ccf;
  background: #e5effc;
  padding: 3px 10px;
  border-radius: 999px;
}
.browser-body { padding: 12px 14px; display: grid; gap: 10px; }
.browser-hero-row {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}
.browser-hero-img {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #d8e0ea;
  padding: 0;
  text-align: left;
  min-height: 210px;
}
.browser-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.browser-hero-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(7, 16, 34, 0.88));
  color: #ffffff;
}
.browser-hero-cap strong { display: block; font-size: 13px; color: #29d8e0; }
.browser-hero-cap span { display: block; font-size: 12px; color: rgba(255, 255, 255, 0.88); }
.browser-demands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.browser-demand-card {
  background: #ffffff;
  border: 1px solid #dce4ef;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.browser-demand-card h3 { margin: 0; font-size: 13px; font-weight: 700; color: #0f172a; line-height: 1.35; }
.browser-demand-card p { margin: 0; font-size: 11.5px; color: #475569; line-height: 1.45; }
.browser-demand-card .browser-ev { font-size: 11px; color: #075ccf; font-weight: 500; margin-top: auto; }

.promo-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.promo-thumb {
  background: #ffffff;
  border: 1px solid #dce4ef;
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  text-align: left;
}
.promo-thumb:hover { border-color: #075ccf; }
.promo-thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: 50% 20%; display: block; }
.promo-thumb div { padding: 7px 9px; }
.promo-thumb strong { display: block; font-size: 11.5px; color: #075ccf; }
.promo-thumb span { display: block; font-size: 10.5px; color: #64748b; line-height: 1.35; }
.proof-status { margin: 10px 0 0; min-height: 18px; font-size: 13px; font-weight: 700; color: var(--accent); }
.boundary-foot { margin: 8px 0 0; font-size: 12px; color: var(--muted); }

/* 底部左下角 2px 发光进度条 + 右下角极简页码 */
.progress-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  z-index: 35;
  background: var(--divider);
}
.progress-bar span {
  display: block;
  height: 100%;
  width: 16.66%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.7);
  transition: width 0.28s ease;
}
.page-counter {
  position: fixed;
  right: 22px;
  bottom: 14px;
  z-index: 36;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  color: var(--accent);
  opacity: 0.78;
}
.page-counter:hover { opacity: 1; }
.page-arrow {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 16px;
}
.page-arrow:hover:not(:disabled) { color: var(--accent); background: var(--soft-bg); }
.page-arrow:disabled { opacity: 0.25; cursor: default; }

/* 弹窗与溯源抽屉 */
dialog {
  color: var(--ink);
  background: var(--glass-solid);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 0;
  width: min(1120px, 94vw);
  max-height: 88vh;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65);
}
dialog::backdrop { background: rgba(5, 5, 16, 0.78); backdrop-filter: blur(6px); }
.dialog-bar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  background: var(--glass-solid);
  border-bottom: 1px solid var(--glass-border);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
kbd { font-family: inherit; font-size: 11px; margin-left: 4px; opacity: 0.75; }
.drawer-body, #detail-content { padding: 24px 28px; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.pill-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-btn {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: var(--glass-alt);
  font-size: 13px;
  color: var(--muted);
}
.pill-btn.active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 700; }
.boundary-banner { font-size: 13px; padding: 12px 16px; border-radius: 10px; background: var(--soft-bg); color: var(--muted); margin: 0 0 20px; }

.prose { max-width: 88ch; font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
.prose h2 { font-size: 22px; margin: 26px 0 12px; border-bottom: 1px solid var(--divider); padding-bottom: 6px; color: var(--accent); }
.prose h3 { font-size: 18px; margin: 20px 0 10px; }
.prose p { margin: 0 0 12px; }
.prose blockquote { margin: 16px 0; border-left: 3px solid var(--accent); padding: 6px 16px; background: var(--glass-alt); color: var(--muted); }
.table-scroll { overflow-x: auto; margin: 16px 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: 13px; }
.prose td, .prose th { border: 1px solid var(--glass-border); padding: 9px 10px; text-align: left; }
.prose th { background: var(--glass-alt); }

.detail-head { border-bottom: 1px solid var(--divider); padding-bottom: 14px; margin-bottom: 20px; }
.detail-head h2 { margin: 0 0 8px; font-size: 24px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--muted); }
.detail-columns { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; }
.detail-visual h3, .detail-text h3 { font-size: 15px; margin: 0 0 12px; color: var(--accent); }
.frame-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.frame-button {
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--glass-alt);
  text-align: center;
  font-size: 11px;
  color: var(--muted);
}
.frame-button:hover { border-color: var(--accent); color: var(--accent); }
.frame-button img { display: block; width: 100%; aspect-ratio: 9/16; object-fit: cover; }
.frame-button span { display: block; padding: 5px; }
.visual-empty { background: var(--glass-alt); padding: 14px; border-radius: 10px; font-size: 13px; color: var(--muted); }
.transcript { font-size: 16px; line-height: 1.88; max-width: 64ch; }
.transcript p { margin: 0 0 1em; }
.dialog-note { font-size: 12px; color: var(--muted); margin: 0 0 12px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.source-options { margin-top: 14px; font-size: 13px; color: var(--muted); }
.source-options summary { cursor: pointer; }
.video-picker { display: block; margin-top: 10px; }
.video-picker input { width: 100%; margin-top: 6px; }
video { width: 100%; max-height: 360px; margin-top: 10px; border-radius: 8px; background: #000; }

.catalog-toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.catalog-toolbar input { flex: 1; min-width: 220px; }
.catalog-toolbar input, .catalog-toolbar select {
  border: 1px solid var(--glass-border);
  background: var(--glass-alt);
  height: 40px;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 13px;
}
.result-count { font-size: 12px; color: var(--muted); margin: 0 0 12px; }
.catalog-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.catalog-row {
  background: var(--glass-alt);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 14px 16px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.catalog-row:hover { border-color: var(--accent); }
.catalog-top { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.catalog-seq { color: var(--accent); font-weight: 700; }
.catalog-row h3 { margin: 0; font-size: 15px; line-height: 1.4; }
.catalog-row p { margin: 0; font-size: 12px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.lens-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.lens-card {
  background: var(--glass-alt);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lens-card h3 { margin: 0; font-size: 17px; }
.lens-card p { margin: 0; font-size: 13px; color: var(--muted); }
.lens-id { font-size: 12px; font-weight: 900; color: var(--accent); }

#lightbox { width: fit-content; max-width: 94vw; padding: 18px; text-align: center; }
#lightbox > button { display: block; margin: 0 0 10px auto; }
#lightbox img { display: block; max-height: 74vh; max-width: 86vw; object-fit: contain; margin: auto; border-radius: 8px; }
#lightbox p { font-size: 13px; color: var(--muted); margin: 10px 0 0; }

@media (max-width: 1080px) {
  main { padding: 64px 24px 54px; }
  .compare-split, .topline-flow, .proof-grid-3, .proof-grid-2, .browser-hero-row { grid-template-columns: 1fr; }
  .topline-arrow { display: none; }
  .role-row { grid-template-columns: 1fr; gap: 10px; }
  .role-example { border-left: 0; padding-left: 0; border-top: 1px solid var(--divider); padding-top: 8px; }
  .promo-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detail-columns { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .flow-row, .proof-tabs, .catalog-list, .lens-grid, .xhs-phone, .sv-unit { grid-template-columns: 1fr; }
  .xhs-carousel { grid-column: 1; grid-row: 1; height: 260px; }
  .xhs-appbar { grid-column: 1; grid-row: 2; }
  .xhs-body { grid-column: 1; grid-row: 3; }
  .xhs-bottom { grid-column: 1; grid-row: 4; }
  .sv-phone { max-width: 240px; margin: 0 auto; }
  .formula-row { flex-direction: column; align-items: center; gap: 12px; }
  .formula-op { padding-top: 0; }
  .promo-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .ambient-orb, .stream-pulse, .slide-screen:not([hidden]) { animation: none; }
}
