/* ============ Flash_TTS 宣传站 — 主题系统（对齐桌面端 批量配音 五套主题） ============ */
/* 默认：青花瓷韵（瓷白清雅 · 钴蓝点睛） */
:root {
  color-scheme: light;
  --bg: #f2f4f8;
  --bg-alt: #eceef4;
  --card: rgba(0, 0, 0, 0.03);
  --card-hover: rgba(0, 0, 0, 0.05);
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.13);
  --text: #2f3a4c;
  --muted: #5f6875;
  --brand: #2f5fa8;
  --brand-2: #1f4785;
  --brand-light: #1f4785;
  --accent-rgb: 47, 95, 168;
  --on-accent: #f7fafe;
  --nav-bg: rgba(242, 244, 248, 0.86);
  --menu-bg: #fbfcfe;
  --fill: rgba(0, 0, 0, 0.05);
  --fill-strong: rgba(0, 0, 0, 0.09);
  --radius: 16px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --maxw: 1120px;
  --font: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* === 玄铁夜蓝（冷灰蓝底 · 青色强调），桌面端默认主题 === */
:root[data-theme="slate"] {
  color-scheme: dark;
  --bg: #0f1319;
  --bg-alt: #171d25;
  --card: rgba(255, 255, 255, 0.04);
  --card-hover: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #e7edf5;
  --muted: #9aa7b7;
  --brand: #2f9ab7;
  --brand-2: #46b6d2;
  --brand-light: #9fe3f4;
  --accent-rgb: 47, 154, 183;
  --on-accent: #ffffff;
  --nav-bg: rgba(15, 19, 25, 0.8);
  --menu-bg: #171d25;
  --fill: rgba(255, 255, 255, 0.05);
  --fill-strong: rgba(255, 255, 255, 0.1);
}

/* === 深林秘境（夜绿底色 + 翡翠强调） === */
:root[data-theme="forest"] {
  color-scheme: dark;
  --bg: #070c09;
  --bg-alt: #0f1813;
  --card: rgba(255, 255, 255, 0.035);
  --card-hover: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #c2d6c8;
  --muted: #6f8878;
  --brand: #4fb576;
  --brand-2: #7fd99a;
  --brand-light: #9fe0b4;
  --accent-rgb: 79, 181, 118;
  --on-accent: #06170d;
  --nav-bg: rgba(7, 12, 9, 0.8);
  --menu-bg: #0f1813;
  --fill: rgba(255, 255, 255, 0.05);
  --fill-strong: rgba(255, 255, 255, 0.1);
}

/* === 沧海夜明（午夜藏蓝 + 冰蓝流光） === */
:root[data-theme="ocean"] {
  color-scheme: dark;
  --bg: #070b13;
  --bg-alt: #0e1522;
  --card: rgba(255, 255, 255, 0.035);
  --card-hover: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #c0d0e4;
  --muted: #6d829c;
  --brand: #4ba3e0;
  --brand-2: #82cdf5;
  --brand-light: #a5dcf8;
  --accent-rgb: 75, 163, 224;
  --on-accent: #04121f;
  --nav-bg: rgba(7, 11, 19, 0.8);
  --menu-bg: #0e1522;
  --fill: rgba(255, 255, 255, 0.05);
  --fill-strong: rgba(255, 255, 255, 0.1);
}

/* === 鎏金雅白（象牙暖白 + 青铜鎏金） === */
:root[data-theme="ivory"] {
  color-scheme: light;
  --bg: #f4f1e9;
  --bg-alt: #efece3;
  --card: rgba(0, 0, 0, 0.03);
  --card-hover: rgba(0, 0, 0, 0.05);
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.13);
  --text: #3a352b;
  --muted: #6f695c;
  --brand: #a67c2e;
  --brand-2: #7d5a1c;
  --brand-light: #7d5a1c;
  --accent-rgb: 166, 124, 46;
  --on-accent: #fdf9ef;
  --nav-bg: rgba(244, 241, 233, 0.86);
  --menu-bg: #fbf9f4;
  --fill: rgba(0, 0, 0, 0.05);
  --fill-strong: rgba(0, 0, 0, 0.09);
}

/* ---------- 主题风格选择器 ---------- */
.theme-picker { position: relative; }

.theme-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--fill);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 7px 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.theme-toggle:hover { background: var(--fill-strong); border-color: var(--brand); }
.theme-toggle .theme-name { white-space: nowrap; }
.theme-toggle .caret { opacity: 0.55; transition: transform 0.18s ease; }
.theme-picker.open .caret { transform: rotate(180deg); }

.theme-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 156px;
  padding: 6px;
  background: var(--menu-bg);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: none;
  z-index: 120;
}
.theme-picker.open .theme-menu { display: block; }

.theme-item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 8px 10px;
  background: none;
  border: 0;
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
}
.theme-item:hover { background: var(--fill-strong); }
.theme-item .swatch {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
}
.theme-item .check { margin-left: auto; opacity: 0; color: var(--brand-light); }
.theme-item[aria-checked="true"] { color: var(--brand-light); }
.theme-item[aria-checked="true"] .check { opacity: 1; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--brand-light); text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-lg { padding: 14px 30px; font-size: 16px; border-radius: 12px; }
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, color-mix(in srgb, var(--brand) 76%, #000) 100%);
  color: var(--on-accent);
  box-shadow: 0 8px 26px rgba(var(--accent-rgb), 0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(var(--accent-rgb), 0.46); }
.btn-ghost {
  background: var(--fill);
  color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { transform: translateY(-2px); background: var(--fill-strong); }

/* ---------- 导航 ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 18px; letter-spacing: 0.2px; }
.brand-mark { width: 26px; height: 26px; flex-shrink: 0; }
.brand-mark path { stroke: var(--brand); }
.nav-links { display: flex; gap: 6px; }
.nav-links a {
  color: var(--muted);
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover { color: var(--text); background: var(--fill-strong); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 8px; padding: 8px 10px; cursor: pointer; flex-direction: column; gap: 4px; }
.nav-toggle span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.2s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 168px 24px 96px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.35; }
.glow-a { width: 560px; height: 560px; top: -220px; left: -120px; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 75%, transparent), transparent 65%); }
.glow-b { width: 520px; height: 520px; top: -80px; right: -160px; background: radial-gradient(circle, color-mix(in srgb, var(--brand-2) 62%, transparent), transparent 65%); }
.grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(color-mix(in srgb, var(--text) 7%, transparent) 1px, transparent 1px),
                    linear-gradient(90deg, color-mix(in srgb, var(--text) 7%, transparent) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero-inner { max-width: var(--maxw); margin: 0 auto; text-align: center; }
.hero h1 { font-size: clamp(34px, 5.6vw, 58px); font-weight: 800; line-height: 1.22; letter-spacing: 0.5px; margin-bottom: 22px; text-wrap: balance; }
.grad {
  background: linear-gradient(100deg, var(--brand-light) 0%, var(--brand) 48%, var(--brand-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub { font-size: 17px; color: var(--muted); margin-bottom: 38px; line-height: 1.9; }
.hero-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}
.stat {
  padding: 20px 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
}
.stat b { display: block; font-size: 26px; font-weight: 800; color: var(--brand-light); line-height: 1.2; }
.stat span { font-size: 13px; color: var(--muted); }

/* ---------- 区块 ---------- */
.section { padding: 96px 24px; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 820px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; margin-bottom: 12px; text-wrap: balance; }
.section-head p { color: var(--muted); font-size: 15.5px; text-wrap: balance; }

/* ---------- 模块卡片 ---------- */
.module-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.module-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.module-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--brand) 45%, transparent); box-shadow: var(--shadow); }
.shot { padding: 14px 14px 0; }
.shot img {
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}
.module-body { padding: 22px 24px 26px; }
.module-title { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.module-title h3 { font-size: 20px; font-weight: 700; }
.chip { display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; letter-spacing: 0.5px; padding: 3px 10px; border-radius: 7px; color: #fff; }
.chip-tts { background: linear-gradient(135deg, #2f9ab7, #217891); }
.chip-asr { background: linear-gradient(135deg, #4d6f9e, #3a5580); }
.chip-ocr { background: linear-gradient(135deg, #4aa6cc, #3585ab); }
.module-body p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li {
  font-size: 12.5px;
  color: var(--brand-light);
  background: rgba(var(--accent-rgb), 0.09);
  border: 1px solid rgba(var(--accent-rgb), 0.26);
  padding: 4px 12px;
  border-radius: 999px;
}

/* ---------- 特性 ---------- */
.feature-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.feature:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--card-hover); }
.f-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ic);
  background: color-mix(in srgb, var(--ic) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--ic) 35%, transparent);
  margin-bottom: 16px;
}
.f-icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14px; }

/* ---------- 流程 ---------- */
.steps { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 12px; }
.step {
  flex: 1;
  max-width: 300px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
}
.step-num {
  width: 44px; height: 44px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800;
  color: var(--on-accent);
  background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 76%, #000));
  box-shadow: 0 6px 18px rgba(var(--accent-rgb), 0.4);
}
.step h3 { font-size: 16.5px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 13.5px; }
.step-arrow { color: var(--brand); font-size: 26px; font-weight: 300; flex-shrink: 0; opacity: 0.7; }

/* ---------- 下载 ---------- */
.download-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: 26px; }
.download-card, .req-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 40px 38px; }
.download-card { text-align: center; }
.dl-icon {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.16), rgba(var(--accent-rgb), 0.1));
  border: 1px solid rgba(var(--accent-rgb), 0.34);
  display: flex; align-items: center; justify-content: center;
}
.dl-icon svg { width: 38px; height: 38px; }
.dl-icon path { stroke: var(--brand-light); }
.download-card h3 { font-size: 22px; margin-bottom: 10px; }
.dl-meta { color: var(--muted); font-size: 14.5px; margin-bottom: 26px; }
.dl-meta b { color: var(--brand-light); }
.dl-note { margin-top: 20px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.req-card h3 { font-size: 18px; margin-bottom: 16px; }
.req-list { list-style: none; }
.req-list li {
  padding: 10px 0 10px 26px;
  position: relative;
  color: var(--muted);
  font-size: 14.5px;
  border-bottom: 1px dashed var(--line);
}
.req-list li:last-child { border-bottom: none; }
.req-list li::before {
  content: "✓";
  position: absolute; left: 2px; top: 10px;
  color: var(--brand-light);
  font-weight: 700;
}
.req-list b { color: var(--text); font-weight: 600; margin-right: 8px; }
.req-note { color: var(--muted); font-size: 13.5px; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--line); padding: 46px 24px; text-align: center; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.footer-note { color: var(--muted); font-size: 13.5px; margin-bottom: 6px; }
.footer-copy { color: var(--muted); opacity: 0.7; font-size: 12.5px; }
.footer-icp { margin-top: 4px; font-size: 12px; opacity: 0.55; }
.footer-icp a { color: inherit; }

/* ---------- 滚动显现 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .module-grid, .feature-grid { grid-template-columns: 1fr 1fr; }
  .download-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .step { max-width: 420px; width: 100%; }
}
@media (max-width: 700px) {
  .nav-links {
    display: none;
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column;
    background: var(--menu-bg);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .theme-picker { width: 100%; margin-top: 8px; }
  .theme-toggle { width: 100%; justify-content: center; }
  .theme-menu { left: 0; right: 0; min-width: 0; }
  .nav-toggle { display: flex; }
  .nav-download { display: none; }
  .module-grid, .feature-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 18px; }
  .hero { padding: 140px 18px 72px; }
}

/* ---------- 大屏适配：逐级放宽内容宽度，放大标题 ---------- */
@media (min-width: 1440px) {
  :root { --maxw: 1320px; }
}
@media (min-width: 1920px) {
  :root { --maxw: 1480px; }
  .hero h1 { font-size: clamp(40px, 4.4vw, 76px); }
  .hero-sub { font-size: 18px; }
  .section-head h2 { font-size: clamp(28px, 2.5vw, 42px); }
  .hero-stats { max-width: 1000px; }
  .module-grid, .feature-grid, .model-grid { gap: 30px; }
  .step { max-width: 360px; }
  .section-head p { font-size: 16px; }
}
@media (min-width: 2560px) {
  :root { --maxw: 1680px; }
}

/* ---------- 开源模型 ---------- */
.model-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.model-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.model-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--brand) 40%, transparent); background: var(--card-hover); }
.model-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.model-name { font-size: 15px; font-weight: 700; color: var(--brand-light); font-family: Consolas, "Courier New", monospace; letter-spacing: 0.2px; }
.model-role {
  font-size: 12px; font-weight: 600;
  color: var(--text);
  background: rgba(var(--accent-rgb), 0.16);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  padding: 2px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.model-card p { color: var(--muted); font-size: 13.5px; }
.model-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 30px; }

@media (max-width: 960px) {
  .model-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .model-grid { grid-template-columns: 1fr; }
}

/* ---------- 截图点击灯箱预览 ---------- */
.shot { position: relative; }
.shot img { cursor: zoom-in; }
.shot::after {
  content: "查看大图";
  position: absolute;
  right: 28px;
  bottom: 12px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(10, 14, 13, 0.62);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.3px;
  opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none;
}
.shot:hover::after { opacity: 1; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(6, 10, 9, 0.84);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }

.lb-stage {
  position: relative;
  width: min(94vw, 1560px);
  height: min(74vh, 1500px);
  overflow: hidden;
  border-radius: 14px;
  cursor: grab;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
}
.lb-stage.dragging { cursor: grabbing; }
.lb-img {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
  max-width: none;
  user-select: none;
  -webkit-user-drag: none;
  opacity: 0;
  transition: opacity 0.15s ease, transform 0.12s ease;
}
.lb-img.lb-img-on { opacity: 1; }

.lb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease;
}
.lb-btn:hover { background: rgba(255, 255, 255, 0.18); }

.lb-close {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-close:hover { background: rgba(255, 255, 255, 0.22); }

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.lb-nav:hover { background: rgba(255, 255, 255, 0.22); }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }

.lb-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  min-height: 40px;
  padding: 0 10px;
}
.lb-count { color: rgba(255, 255, 255, 0.85); font-size: 13px; margin: 0 6px; white-space: nowrap; }
.lb-caption {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13.5px;
  max-width: min(80vw, 900px);
  text-align: center;
  padding: 0 12px;
  min-height: 20px;
}

@media (max-width: 700px) {
  .lb-stage { width: 96vw; height: 62vh; border-radius: 10px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-close { top: 8px; right: 10px; }
  .shot::after { opacity: 1; }
}
