/* ==========================================================================
   OBS Studio 中文官网 · 全局样式
   默认深色主题（html.dark），可切换浅色主题
   ========================================================================== */

:root {
  /* 浅色主题 */
  --bg: #f2f5fb;
  --bg-deep: #e7edf7;
  --surface: #ffffff;
  --surface-2: #f5f8fd;
  --overlay: rgba(255, 255, 255, 0.86);
  --scrim: rgba(15, 26, 48, 0.45);
  --line: rgba(30, 58, 110, 0.14);
  --line-strong: rgba(30, 58, 110, 0.24);
  --text: #16233d;
  --text-2: #43536f;
  --text-3: #7484a0;
  --hero-a: #dfe9fa;
  --hero-b: #c3d7f5;
  --hero-c: #aac8ef;
  --hero-text: #14264a;
  --hero-sub: #3c5075;
  --nav-bg: rgba(255, 255, 255, 0.9);
  --nav-text: #22314f;
  --card: #ffffff;
  --card-line: rgba(30, 58, 110, 0.1);
  --tag-bg: rgba(64, 158, 255, 0.1);
  --footer-bg: #101a30;
  --shadow: 0 12px 32px rgba(23, 43, 88, 0.1);
  --shadow-lg: 0 24px 64px rgba(23, 43, 88, 0.16);
  --mock-title: #f0f2f7;
  --mock-body: #e8ebf2;
  --mock-panel: #f6f7fb;
  --mock-text: #3a4358;
  --mock-line: #d4d9e4;
  --glow-op: 0.5;
}

html.dark {
  /* 深色主题（默认，与官网截图一致） */
  --bg: #0d1526;
  --bg-deep: #0a111f;
  --surface: #16203a;
  --surface-2: #1a2440;
  --overlay: rgba(13, 21, 38, 0.88);
  --scrim: rgba(4, 8, 18, 0.66);
  --line: rgba(122, 162, 247, 0.14);
  --line-strong: rgba(122, 162, 247, 0.28);
  --text: #eef3fc;
  --text-2: #aebad2;
  --text-3: #7684a1;
  --hero-a: #16294f;
  --hero-b: #1e3a6e;
  --hero-c: #3565ad;
  --hero-text: #ffffff;
  --hero-sub: #c3d2ec;
  --nav-bg: rgba(15, 21, 36, 0.92);
  --nav-text: #e8eefb;
  --card: #171f36;
  --card-line: rgba(122, 162, 247, 0.12);
  --tag-bg: rgba(96, 165, 250, 0.14);
  --footer-bg: #0e1628;
  --shadow: 0 12px 32px rgba(2, 6, 16, 0.42);
  --shadow-lg: 0 24px 64px rgba(2, 6, 16, 0.6);
  --mock-title: #f5f6f8;
  --mock-body: #23272e;
  --mock-panel: #2b3038;
  --mock-text: #c9cfd9;
  --mock-line: #3a4049;
  --glow-op: 1;
}

:root {
  /* 品牌与语义色（两种主题共用） */
  --blue: #409eff;
  --blue-deep: #2f7fe0;
  --blue-soft: #6cb2ff;
  --cyan: #37c8f0;
  --douyin: #fe2c55;
  --kuaishou: #ff7e00;
  --huya: #ffb300;
  --bili: #fb7299;
  --douyu: #ff5d23;
  --amber: #ff9f1a;
  --green: #42d392;
  --red: #f56c6c;
  --purple: #a78bfa;
  --nav-h: 72px;
  --radius: 14px;
  --font: 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Cascadia Code', 'JetBrains Mono', Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.35s ease, color 0.35s ease;
}

[v-cloak] { display: none !important; }

a { color: var(--blue); text-decoration: none; }
img { max-width: 100%; }

::selection { background: rgba(64, 158, 255, 0.35); }

/* ---- 自定义滚动条（站点视觉语言） ---- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #3d6cb4, #2a4a86);
  border-radius: 6px;
  border: 2px solid var(--bg-deep);
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #5a8ad4, #3d6cb4); }
html { scrollbar-color: #3d6cb4 var(--bg-deep); scrollbar-width: thin; }

.wrap { width: min(1240px, 92vw); margin: 0 auto; }

/* ==========================================================================
   顶部导航
   ========================================================================== */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.35s;
}
.site-nav.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 28px rgba(2, 8, 22, 0.35);
}
.nav-inner {
  width: min(1400px, 94vw);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--nav-text); flex-shrink: 0; }
.brand-logo { width: 42px; height: 42px; display: block; filter: drop-shadow(0 2px 8px rgba(64, 158, 255, 0.35)); }
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand-logo svg, .qr-box svg { width: 100%; height: 100%; display: block; }
.obs-ic { width: 1em; height: 1em; }
.obs-ic svg { width: 100%; height: 100%; }
.brand-name { font-size: 19px; font-weight: 800; letter-spacing: 0.2px; line-height: 1.2; }
.brand-name em { font-style: normal; font-weight: 900; }
.brand-domain { font-size: 12px; color: var(--text-3); letter-spacing: 0.4px; margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-links a {
  position: relative;
  padding: 8px 15px;
  font-size: 15.5px;
  color: var(--nav-text);
  opacity: 0.82;
  border-radius: 8px;
  transition: opacity 0.2s, background 0.2s, color 0.2s;
}
.nav-links a:hover { opacity: 1; background: var(--tag-bg); }
.nav-links a.active { opacity: 1; color: var(--blue-soft); font-weight: 700; }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 15px; right: 15px; bottom: 1px;
  height: 2.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
html:not(.dark) .nav-links a.active { color: var(--blue-deep); }

.nav-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.theme-switch .el-switch__core { background: #2c3a58 !important; border-color: #3d4f75 !important; }
html:not(.dark) .theme-switch .el-switch__core { background: #cdd9ee !important; border-color: #b3c4e2 !important; }
.theme-ico { font-size: 13px; line-height: 1; display: inline-flex; }

.nav-burger { display: none; }

/* 移动端抽屉 */
.mobile-menu { display: flex; flex-direction: column; gap: 4px; padding: 8px 4px; }
.mobile-menu a {
  padding: 14px 16px;
  font-size: 16px;
  color: var(--text);
  border-radius: 10px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a.active { color: var(--blue); font-weight: 700; background: var(--tag-bg); }

/* ==========================================================================
   Hero 主视觉
   ========================================================================== */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 64px) 0 96px;
  background: linear-gradient(135deg, var(--hero-a) 0%, var(--hero-b) 46%, var(--hero-c) 100%);
  overflow: hidden;
  transition: background 0.35s;
}
/* 斜切光带 —— 还原截图中的对角分割 */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 52%, rgba(120, 170, 255, 0.14) 52.2%, rgba(120, 170, 255, 0.05) 100%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: calc(0.5 * var(--glow-op));
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: calc(0.55 * var(--glow-op));
  pointer-events: none;
  animation: drift 14s ease-in-out infinite alternate;
}
.hero-glow.g1 { width: 480px; height: 480px; right: -80px; top: -120px; background: rgba(64, 158, 255, 0.5); }
.hero-glow.g2 { width: 380px; height: 380px; left: -120px; bottom: -140px; background: rgba(55, 200, 240, 0.32); animation-delay: -6s; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-40px, 34px) scale(1.12); }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 56px;
  align-items: start;
}
.hero-title {
  margin: 0 0 22px;
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 900;
  letter-spacing: 0.5px;
  color: var(--hero-text);
  text-shadow: 0 4px 24px rgba(10, 25, 60, 0.25);
}
.hero-desc {
  margin: 0 0 26px;
  font-size: 17px;
  line-height: 1.9;
  color: var(--hero-sub);
  max-width: 560px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  border-radius: 999px;
  border: 1px solid rgba(108, 178, 255, 0.55);
  background: rgba(64, 158, 255, 0.12);
  color: var(--blue-soft);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 30px;
}
html:not(.dark) .hero-badge { color: var(--blue-deep); }
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(66, 211, 146, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(66, 211, 146, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(66, 211, 146, 0); }
  100% { box-shadow: 0 0 0 0 rgba(66, 211, 146, 0); }
}
.hero-cta { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 34px; }
.btn-hero {
  height: 54px !important;
  padding: 0 34px !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  letter-spacing: 1px;
}
.btn-hero.el-button--primary {
  background: linear-gradient(135deg, #4aa3ff, #2f7fe0) !important;
  border: none !important;
  box-shadow: 0 10px 26px rgba(47, 127, 224, 0.45);
}
.btn-hero.el-button--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(47, 127, 224, 0.6); }
.btn-hero.is-plain {
  background: rgba(64, 158, 255, 0.14) !important;
  border-color: rgba(108, 178, 255, 0.5) !important;
  color: var(--hero-text) !important;
}
.btn-hero.is-plain:hover { background: rgba(64, 158, 255, 0.26) !important; }
.btn-hero { transition: transform 0.2s, box-shadow 0.2s, background 0.2s; }

/* Hero 信任条 */
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 4px; }
.hero-trust span {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 700; letter-spacing: 0.5px;
  color: var(--hero-sub);
}
.hero-trust svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; }

/* ---- 侧边对联广告位（后台可上传 图片/动图） ---- */
.ad-rail {
  position: fixed;
  top: 50%;
  translate: 0 -50%;
  z-index: 900;
  width: clamp(64px, min(calc((100vw - 1240px) / 2 - 18px), calc((100vh - 160px) / 4)), 150px);
  display: none;
}
@media (min-width: 1440px) { .ad-rail { display: block; } }
.ad-rail.left { left: 6px; animation: adInL 0.8s 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.ad-rail.right { right: 6px; animation: adInR 0.8s 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes adInL { from { opacity: 0; transform: translateX(-46px); } to { opacity: 1; transform: none; } }
@keyframes adInR { from { opacity: 0; transform: translateX(46px); } to { opacity: 1; transform: none; } }
.ad-body {
  display: block;
  position: relative;
  aspect-ratio: 1 / 4;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s, box-shadow 0.3s;
}
.ad-body img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ad-rail:hover .ad-body { transform: translateY(-4px); box-shadow: var(--shadow-lg), 0 0 26px rgba(64, 158, 255, 0.28); }
.ad-shine {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.3) 50%, transparent 58%);
  transform: translateX(-130%);
  transition: transform 0.9s ease;
  pointer-events: none;
}
.ad-rail:hover .ad-shine { transform: translateX(130%); }
.ad-flag {
  position: absolute; z-index: 2; left: 7px; top: 7px;
  font-size: 10px; letter-spacing: 2px; color: #dfe7f6;
  background: rgba(8, 12, 24, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2px 7px; border-radius: 4px;
  backdrop-filter: blur(4px);
  pointer-events: none;
}
.ad-close {
  position: absolute; z-index: 3; right: 6px; top: 6px;
  width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(8, 12, 24, 0.62);
  color: #e6ecf8; font-size: 11px; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0.8;
  transition: opacity 0.2s, background 0.2s, transform 0.2s;
}
.ad-close:hover { opacity: 1; background: rgba(232, 17, 35, 0.9); transform: rotate(90deg); }
@media (prefers-reduced-motion: reduce) { .ad-rail { animation: none !important; } }

/* QR 码容器 */
.qr-box {
  background: #fff;
  padding: 6px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(4, 10, 26, 0.35);
  line-height: 0;
}
.qr-box canvas { display: block; border-radius: 4px; }

/* ---- OBS 窗口仿真 ---- */
.obs-stage { position: relative; perspective: 1400px; min-width: 0; max-width: 100%; }
.obs-window {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--mock-body);
  border: 1px solid rgba(140, 170, 220, 0.25);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 0, 0, 0.2), 0 40px 90px rgba(3, 8, 22, 0.5);
  transform: rotateY(-4deg) rotateX(1.5deg);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  font-size: 11px;
  user-select: none;
}
.obs-stage:hover .obs-window { transform: rotateY(0) rotateX(0) translateY(-4px); }
/* 自定义封面（后台上传 / 在线直链，与仿真窗口同款透视与倒影） */
.obs-cover {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--mock-body);
  border: 1px solid rgba(140, 170, 220, 0.25);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 0, 0, 0.2), 0 40px 90px rgba(3, 8, 22, 0.5);
  transform: rotateY(-4deg) rotateX(1.5deg);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.obs-cover img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.obs-stage:hover .obs-cover { transform: rotateY(0) rotateX(0) translateY(-4px); }
.obs-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 10px;
  background: var(--mock-title);
  color: #3c4356;
  font-size: 11px;
}
.obs-titlebar .t { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.obs-titlebar .win-btns { display: flex; gap: 2px; }
.obs-titlebar .win-btns span {
  width: 26px; height: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 4px; color: #5a6274; font-size: 10px;
}
.obs-titlebar .win-btns span:hover { background: rgba(0, 0, 0, 0.08); }
.obs-titlebar .win-btns .close:hover { background: #e81123; color: #fff; }
.obs-menubar {
  display: flex;
  gap: 2px;
  padding: 3px 8px;
  background: var(--mock-body);
  color: var(--mock-text);
  border-bottom: 1px solid var(--mock-line);
  font-size: 11px;
  flex-wrap: wrap;
}
.obs-menubar span { padding: 2px 7px; border-radius: 4px; cursor: default; }
.obs-menubar span:hover { background: rgba(120, 160, 230, 0.18); }
.obs-preview {
  position: relative;
  margin: 8px;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid #3d87e0;
  aspect-ratio: 16 / 8.4;
  background: #10141c;
}
.obs-preview img.scene { width: 100%; height: 100%; object-fit: cover; display: block; }
.obs-preview .watermark {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: radial-gradient(ellipse at center, rgba(6, 12, 26, 0.32), transparent 68%);
}
.obs-preview .watermark .wm-logo { width: 92px; height: 92px; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.55)); }
.obs-preview .watermark .wm-title {
  font-size: 26px; font-weight: 900; color: #fff; letter-spacing: 2px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
}
.obs-preview .watermark .wm-url {
  font-family: var(--mono); font-size: 17px; color: #fff; letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
}
.obs-preview .live-tag {
  position: absolute; top: 8px; left: 8px;
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(232, 17, 35, 0.92); color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: 1px;
  padding: 3px 9px; border-radius: 4px;
}
.obs-preview .live-tag i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.obs-preview .res-tag {
  position: absolute; top: 8px; right: 8px;
  background: rgba(8, 14, 28, 0.6); color: #cfe0f8;
  font-size: 10px; font-family: var(--mono);
  padding: 3px 8px; border-radius: 4px;
}
.obs-docks {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.35fr) minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 6px;
  padding: 0 8px 8px;
}
.obs-dock {
  background: var(--mock-panel);
  border: 1px solid var(--mock-line);
  border-radius: 4px;
  overflow: hidden;
  min-width: 0;
  min-height: 128px;
  display: flex;
  flex-direction: column;
}
.obs-dock .dock-head {
  padding: 4px 8px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--mock-text);
  border-bottom: 1px solid var(--mock-line);
  background: rgba(120, 150, 210, 0.08);
  display: flex; justify-content: space-between;
}
.obs-dock .dock-body { padding: 5px 6px; flex: 1; }
.obs-row {
  padding: 3px 6px;
  border-radius: 3px;
  color: var(--mock-text);
  font-size: 10.5px;
  display: flex; align-items: center; gap: 5px;
  white-space: nowrap; overflow: hidden;
}
.obs-row.sel { background: #2f6fd0; color: #fff; }
.obs-row .eye { margin-left: auto; opacity: 0.6; font-size: 9px; }
/* 混音器 */
.mixer-line { margin-bottom: 7px; }
.mixer-line .m-name { font-size: 10px; color: var(--mock-text); display: flex; justify-content: space-between; margin-bottom: 3px; }
.meter {
  height: 7px; border-radius: 3px;
  background: linear-gradient(90deg, #2ecc71 0%, #2ecc71 62%, #f1c40f 62%, #f1c40f 84%, #e74c3c 84%, #e74c3c 100%);
  position: relative; overflow: hidden;
}
.meter::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--mock-panel);
  transform-origin: right;
  animation: meter 1.6s ease-in-out infinite alternate;
}
.mixer-line.m2 .meter::after { animation-duration: 1.1s; animation-delay: -0.4s; }
@keyframes meter { from { transform: scaleX(0.55); } to { transform: scaleX(0.08); } }
.m-slider { height: 4px; border-radius: 2px; background: var(--mock-line); margin-top: 5px; position: relative; }
.m-slider::after {
  content: ''; position: absolute; left: 68%; top: -3px;
  width: 10px; height: 10px; border-radius: 50%; background: #cfd6e2;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.obs-btn {
  display: block;
  margin: 0 0 5px;
  padding: 4px 6px;
  text-align: center;
  font-size: 10.5px;
  color: var(--mock-text);
  background: rgba(125, 155, 215, 0.12);
  border: 1px solid var(--mock-line);
  border-radius: 3px;
}
.obs-btn.hot { background: rgba(232, 17, 35, 0.16); border-color: rgba(232, 17, 35, 0.5); color: #ff6b74; font-weight: 700; }
.obs-statusbar {
  display: flex; align-items: center; gap: 14px; row-gap: 2px; flex-wrap: wrap;
  padding: 4px 10px;
  border-top: 1px solid var(--mock-line);
  color: var(--mock-text);
  font-size: 10px; font-family: var(--mono);
}
.obs-statusbar .live-dot { display: inline-flex; align-items: center; gap: 5px; color: #ff6b74; font-weight: 700; }
.obs-statusbar .live-dot i { width: 7px; height: 7px; border-radius: 50%; background: #e81123; animation: blink 1.2s infinite; }
.obs-statusbar .right { margin-left: auto; display: flex; gap: 12px; }
/* 窗口倒影 */
.obs-reflection {
  position: absolute;
  left: 3%; right: 3%; top: 100%;
  height: 120px;
  transform: scaleY(-1);
  border-radius: 10px;
  background: linear-gradient(0deg, rgba(70, 120, 200, 0.22), transparent 75%);
  filter: blur(6px);
  opacity: calc(0.7 * var(--glow-op));
  pointer-events: none;
}

/* ==========================================================================
   通用 Section
   ========================================================================== */
.section { position: relative; padding: 88px 0; }
.section.alt { background: var(--bg-deep); transition: background 0.35s; }
.sec-head { text-align: center; margin-bottom: 52px; }
.sec-title {
  margin: 0 0 14px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--text);
}
.sec-sub { margin: 0; color: var(--text-3); font-size: 16px; }
.sec-kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 12px;
  padding: 5px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--tag-bg);
}

/* 首页大区块蓝色渐变底（还原截图整体蓝底） */
.blue-flow {
  background: linear-gradient(160deg, var(--hero-b) 0%, var(--hero-a) 55%, var(--hero-b) 100%);
  position: relative;
  overflow: hidden;
  transition: background 0.35s;
}
.blue-flow::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 46%, rgba(120, 170, 255, 0.1) 46.2%, rgba(120, 170, 255, 0.03) 100%);
  pointer-events: none;
}
.blue-flow .sec-title { color: var(--hero-text); }
.blue-flow .sec-sub { color: var(--hero-sub); opacity: 0.8; }
.blue-flow > .wrap { position: relative; z-index: 2; }

/* ---- 特性卡片 ---- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature-card {
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.28s, box-shadow 0.28s, border-color 0.28s;
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--blue), var(--cyan));
  opacity: 0;
  transition: opacity 0.28s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.feature-card:hover::after { opacity: 1; }
.feature-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--blue-soft);
  background: var(--tag-bg);
  border: 1px solid var(--line);
  padding: 5px 13px;
  border-radius: 6px;
  margin-bottom: 18px;
}
html:not(.dark) .feature-tag { color: var(--blue-deep); }
.feature-card h3 { margin: 0 0 10px; font-size: 20px; font-weight: 800; color: var(--text); }
.feature-card p { margin: 0; font-size: 14.5px; line-height: 1.8; color: var(--text-2); }

/* ---- 数据带 ---- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 60px; }
.stat-item { text-align: center; padding: 22px 10px; border-radius: var(--radius); background: rgba(10, 18, 38, 0.24); border: 1px solid rgba(122, 162, 247, 0.16); }
html:not(.dark) .stat-item { background: rgba(255, 255, 255, 0.55); }
.stat-num { font-size: 32px; font-weight: 900; font-family: var(--mono); color: var(--hero-text); }
.stat-num em { font-style: normal; font-size: 18px; color: var(--blue-soft); margin-left: 2px; }
html:not(.dark) .stat-num em { color: var(--blue-deep); }
.stat-label { margin-top: 6px; font-size: 13.5px; color: var(--hero-sub); letter-spacing: 1px; }

/* ---- 主播卡片 ---- */
.streamer-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.streamer-card {
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
  padding: 24px 16px 20px;
  text-align: center;
  transition: transform 0.28s, box-shadow 0.28s, border-color 0.28s;
}
.streamer-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.streamer-avatar { width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 50%; overflow: hidden; box-shadow: 0 6px 18px rgba(3, 8, 22, 0.4), 0 0 0 3px rgba(122, 162, 247, 0.22); }
.streamer-avatar svg { display: block; width: 100%; height: 100%; }
.streamer-name { font-size: 15px; font-weight: 800; color: var(--text); margin-bottom: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.streamer-pf {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  padding: 3px 12px; border-radius: 6px;
  border: 1px solid; margin-bottom: 10px;
}
.streamer-fans { font-size: 12.5px; color: var(--text-3); margin-bottom: 14px; display: flex; align-items: center; justify-content: center; gap: 5px; }
.streamer-fans b { color: var(--blue-soft); font-family: var(--mono); font-size: 13.5px; }
html:not(.dark) .streamer-fans b { color: var(--blue-deep); }
.streamer-card .el-button { width: 100%; border-radius: 8px !important; font-weight: 600; }
.streamer-card { cursor: pointer; }
.streamer-card.on:hover { border-color: rgba(255, 77, 79, 0.4); }
.live-sum {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  padding: 7px 16px; border-radius: 999px;
  border: 1px solid rgba(255, 77, 79, 0.45); background: rgba(255, 77, 79, 0.1);
  color: #ff6b6d; font-size: 12.5px; font-weight: 700; letter-spacing: 0.4px;
}
html:not(.dark) .live-sum { color: #d4383c; }
.live-sum i { width: 7px; height: 7px; border-radius: 50%; background: #ff4d4f; animation: livePing 1.6s ease-out infinite; }
.sa-wrap { position: relative; width: 76px; margin: 0 auto 18px; }
.sa-wrap .streamer-avatar { margin: 0 auto; }
.sa-wrap.on::before {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(255, 77, 79, 0.55); animation: liveRing 2s ease-out infinite;
}
.sa-live {
  position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px;
  background: linear-gradient(90deg, #ff4d4f, #fe2c55); color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: 0.6px; white-space: nowrap;
  box-shadow: 0 4px 12px rgba(254, 44, 85, 0.45);
}
.sa-off {
  position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%);
  padding: 3px 9px; border-radius: 999px; white-space: nowrap;
  background: rgba(122, 162, 247, 0.12); border: 1px solid var(--line); color: var(--text-3);
  font-size: 10px; font-weight: 700;
}
.eq { display: inline-flex; align-items: flex-end; gap: 1.5px; height: 9px; }
.eq b { width: 2px; background: #fff; border-radius: 1px; transform-origin: bottom; animation: eqBar 1s ease-in-out infinite; }
.eq b:nth-child(1) { height: 5px; }
.eq b:nth-child(2) { height: 9px; animation-delay: 0.25s; }
.eq b:nth-child(3) { height: 6px; animation-delay: 0.5s; }
@keyframes eqBar { 0%, 100% { transform: scaleY(0.45); } 50% { transform: scaleY(1); } }
@keyframes liveRing { 0% { transform: scale(0.92); opacity: 0.9; } 70% { transform: scale(1.18); opacity: 0; } 100% { opacity: 0; } }
@keyframes livePing { 0% { box-shadow: 0 0 0 0 rgba(255, 77, 79, 0.55); } 100% { box-shadow: 0 0 0 9px rgba(255, 77, 79, 0); } }
@media (prefers-reduced-motion: reduce) { .sa-wrap.on::before, .live-sum i, .eq b { animation: none; } }

/* ---- 三步开始 ---- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 20px; }
.step-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
  padding: 46px 30px 34px;
  text-align: center;
  transition: transform 0.28s, box-shadow 0.28s;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step-num {
  position: absolute;
  top: -17px; left: 50%;
  transform: translateX(-50%);
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4aa3ff, #2f7fe0);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(47, 127, 224, 0.5), 0 0 0 5px rgba(64, 158, 255, 0.15);
}
.step-icon { font-size: 40px; color: var(--blue); margin-bottom: 18px; display: inline-flex; }
.step-icon svg, .step-icon .obs-ic { width: 44px; height: 44px; }
.step-card h3 { margin: 0 0 12px; font-size: 20px; font-weight: 800; color: var(--text); }
.step-card p { margin: 0 0 20px; font-size: 14.5px; line-height: 1.8; color: var(--text-2); min-height: 52px; }
.step-link { font-weight: 700; font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; }
.step-link:hover { gap: 10px; }
.step-link { transition: gap 0.2s; }

.perks-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 56px; }
.perk { display: flex; gap: 16px; align-items: flex-start; padding: 0 8px; }
.perk-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--tag-bg);
  border: 1px solid var(--line);
  color: var(--blue-soft);
}
html:not(.dark) .perk-icon { color: var(--blue-deep); }
.perk-icon svg, .perk-icon .obs-ic { width: 24px; height: 24px; }
.perk h4 { margin: 0 0 6px; font-size: 16.5px; font-weight: 800; color: var(--hero-text); }
.perk p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--hero-sub); opacity: 0.85; }

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  background: var(--footer-bg);
  color: #c6d2e8;
  padding: 54px 0 30px;
  border-top: 1px solid rgba(122, 162, 247, 0.12);
}
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.footer-brand .brand-logo { width: 38px; height: 38px; }
.footer-brand .n { font-size: 18px; font-weight: 800; color: #eef3fc; }
.footer-brand .d { font-size: 12.5px; color: #7684a1; margin-top: 2px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; margin: 18px 0 16px; }
.footer-links a { color: #aebad2; font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: var(--blue-soft); }
.footer-friend { font-size: 13px; color: #7684a1; line-height: 2.1; max-width: 720px; }
.footer-friend a { color: #8fa2c4; margin-right: 18px; white-space: nowrap; }
.footer-friend a:hover { color: var(--blue-soft); }
.footer-qr { text-align: center; }
.footer-qr .qr-img { display: inline-block; background: #fff; padding: 8px; border-radius: 12px; box-shadow: 0 6px 24px rgba(0, 0, 0, .35); }
.footer-qr .qr-img img { display: block; width: 104px; height: 104px; object-fit: contain; }
.footer-qr .cap { font-size: 12.5px; color: #7684a1; margin-top: 10px; }
.contact-qr { display: flex; align-items: center; gap: 16px; margin-top: 16px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg2); }
.contact-qr img { flex: none; width: 112px; height: 112px; object-fit: contain; background: #fff; padding: 6px; border-radius: 10px; }
.contact-qr span { font-size: 13px; color: var(--t2); line-height: 1.9; }
.footer-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(122, 162, 247, 0.12);
  text-align: center;
  font-size: 13px;
  color: #7684a1;
}
.footer-bottom .icp a { color: #8fa2c4; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom .icp a:hover { color: var(--blue-soft); }
.footer-bottom .disclaimer { margin-top: 10px; font-size: 12.5px; line-height: 1.8; opacity: 0.85; }

/* 返回顶部 */
.el-back-top {
  background: var(--surface) !important;
  border: 1px solid var(--line-strong);
  color: var(--blue) !important;
  box-shadow: var(--shadow) !important;
  width: 46px !important; height: 46px !important;
}
.el-back-top:hover { background: var(--tag-bg) !important; }

/* ==========================================================================
   内页公共
   ========================================================================== */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 58px) 0 54px;
  background: linear-gradient(135deg, var(--hero-a) 0%, var(--hero-b) 55%, var(--hero-c) 100%);
  overflow: hidden;
  transition: background 0.35s;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 55%, rgba(120, 170, 255, 0.12) 55.2%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { margin: 0 0 12px; font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; color: var(--hero-text); letter-spacing: 1px; }
.page-hero p { margin: 0; color: var(--hero-sub); font-size: 16px; max-width: 640px; line-height: 1.8; }
.crumb { font-size: 13px; color: var(--hero-sub); opacity: 0.75; margin-bottom: 16px; display: flex; gap: 8px; align-items: center; }
.crumb a { color: inherit; }
.crumb a:hover { color: var(--blue-soft); }

.panel {
  background: var(--surface);
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: background 0.35s, border-color 0.35s;
}

/* ---- 下载中心 ---- */
.os-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.os-card { padding: 30px 28px; text-align: center; position: relative; overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; }
.os-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.os-card.recommend { border-color: rgba(64, 158, 255, 0.55); }
.os-card .rec-badge {
  position: absolute; top: 14px; right: -34px;
  transform: rotate(38deg);
  background: linear-gradient(90deg, #4aa3ff, #2f7fe0);
  color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 1px;
  padding: 4px 40px;
}
.os-icon { font-size: 44px; margin-bottom: 14px; display: inline-flex; color: var(--blue); }
.os-icon svg, .os-icon .obs-ic { width: 48px; height: 48px; }
.os-card h3 { margin: 0 0 6px; font-size: 21px; font-weight: 800; color: var(--text); }
.os-card .req { font-size: 13px; color: var(--text-3); margin-bottom: 18px; }
.os-meta { display: flex; justify-content: center; gap: 16px; font-size: 12.5px; color: var(--text-2); margin-bottom: 20px; font-family: var(--mono); }
.os-card .el-button { width: 100%; height: 46px; font-size: 15.5px; font-weight: 700; border-radius: 9px !important; }

.dl-detail { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; margin-top: 26px; }
.dl-box { padding: 26px 28px; }
.dl-box h3 { margin: 0 0 16px; font-size: 17px; font-weight: 800; color: var(--text); display: flex; align-items: center; gap: 8px; }
.dl-box h3 svg, .dl-box h3 .obs-ic { width: 19px; height: 19px; color: var(--blue); }
.hl-list { margin: 0; padding: 0; list-style: none; }
.hl-list li { padding: 7px 0 7px 24px; position: relative; color: var(--text-2); font-size: 14.5px; line-height: 1.7; }
.hl-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.sha-line {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-2);
  word-break: break-all;
}
.sha-line code { flex: 1; }

/* Element 表格适配 */
.el-table { --el-table-bg-color: transparent; --el-table-tr-bg-color: transparent; --el-table-header-bg-color: var(--surface-2); --el-table-border-color: var(--line); --el-table-text-color: var(--text-2); --el-table-header-text-color: var(--text); --el-table-row-hover-bg-color: var(--tag-bg); background: transparent !important; }
.el-table th.el-table__cell { font-weight: 700; }
.el-table .cell { font-size: 13.5px; }

/* ---- 插件中心 ---- */
.plugin-toolbar { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 30px; position: relative; z-index: 40; }
.plugin-toolbar .el-input { max-width: 320px; }
.plugin-toolbar .el-select { width: 150px; }
.plugin-count { margin-left: auto; font-size: 13.5px; color: var(--text-3); }
/* 排序下拉：站点定制面板（取代 EP 默认 popper，双主题自适应） */
.sort-dd { position: relative; width: 158px; }
.sort-dd-trigger { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 10px 14px; background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 10px; color: var(--text); font-family: var(--font); font-size: 13.5px; font-weight: 600; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.sort-dd-trigger:hover { border-color: var(--blue); }
.sort-dd.open .sort-dd-trigger { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(64, 158, 255, .16); }
.sort-dd-trigger .lab { display: inline-flex; align-items: center; gap: 7px; }
.sort-dd-trigger .sort-ic { color: var(--blue); font-size: 14px; }
.sort-dd-trigger .chev { color: var(--text-3); font-size: 13px; transition: transform .25s ease, color .2s; }
.sort-dd.open .sort-dd-trigger .chev { transform: rotate(180deg); color: var(--blue); }
.sort-dd-menu { position: absolute; top: calc(100% + 8px); left: 0; z-index: 80; min-width: 100%; width: max-content; max-height: 268px; overflow: auto; padding: 6px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: var(--shadow-lg); }
.sort-dd-item { display: flex; align-items: center; justify-content: space-between; gap: 22px; width: 100%; padding: 9px 12px; border: 0; border-radius: 8px; background: none; color: var(--text-2); font-family: var(--font); font-size: 13.5px; text-align: left; cursor: pointer; transition: background .15s, color .15s; }
.sort-dd-item + .sort-dd-item { margin-top: 2px; }
.sort-dd-item:hover { background: var(--tag-bg); color: var(--text); }
.sort-dd-item.on { background: var(--tag-bg); color: var(--blue); font-weight: 700; }
html:not(.dark) .sort-dd-item.on { color: var(--blue-deep); }
.sort-dd-item .tick { font-size: 13px; }
.dd-enter-active, .dd-leave-active { transition: opacity .18s ease, transform .18s ease; transform-origin: top center; }
.dd-enter-from, .dd-leave-to { opacity: 0; transform: translateY(-6px) scale(.97); }
/* 捐赠下载弹窗 */
.dn-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.dn-head h3 { margin: 0 0 2px; font-size: 16px; }
.dn-head .ver { font-size: 12px; color: var(--text-3); }
.dn-amt { margin-left: auto; font-size: 24px; font-weight: 800; color: var(--amber); font-family: var(--mono); }
.dn-note { font-size: 13px; line-height: 1.8; color: var(--text-2); background: var(--tag-bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 0 0 14px; }
.dn-methods { display: flex; gap: 10px; margin-bottom: 16px; }
.dn-method { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 8px; background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 10px; color: var(--text-2); font-family: var(--font); font-size: 13.5px; font-weight: 600; cursor: pointer; transition: border-color .15s, box-shadow .15s, color .15s; }
.dn-method.on { border-color: var(--blue); color: var(--text); box-shadow: 0 0 0 3px rgba(64, 158, 255, .16); }
.dn-method .ic { width: 22px; height: 22px; border-radius: 6px; color: #fff; font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.dn-safe { margin-top: 10px; font-size: 12px; color: var(--text-3); display: flex; align-items: center; justify-content: center; gap: 6px; }
.dn-wait { display: flex; gap: 12px; align-items: flex-start; background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 12px; padding: 14px; margin-bottom: 14px; }
.dn-wait b { font-size: 14px; }
.dn-wait p { margin: 4px 0 0; font-size: 12.5px; color: var(--text-3); line-height: 1.7; }
.dn-wait .spin { flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; border: 3px solid var(--tag-bg); border-top-color: var(--blue); animation: dnspin .9s linear infinite; }
@keyframes dnspin { to { transform: rotate(360deg); } }
.dn-done { text-align: center; padding: 6px 0 16px; }
.dn-done .ok { display: flex; width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; background: rgba(66, 211, 146, .15); border: 1px solid rgba(66, 211, 146, .5); color: var(--green); font-size: 26px; align-items: center; justify-content: center; }
.dn-done b { font-size: 16px; }
.dn-done p { margin: 6px 0 0; font-size: 12.5px; color: var(--text-3); }
.dn-dl { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 12px; border-radius: 10px; background: var(--green); color: #08131f; font-size: 15px; font-weight: 800; text-decoration: none; transition: filter .15s; }
.dn-dl:hover { filter: brightness(1.1); }
.plugin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.plugin-card { padding: 26px 24px; display: flex; flex-direction: column; gap: 14px; cursor: pointer; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.plugin-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.plugin-top { display: flex; gap: 14px; align-items: center; }
.plugin-icon {
  width: 54px; height: 54px; flex-shrink: 0;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.plugin-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.plugin-top h3 { margin: 0 0 4px; font-size: 17px; font-weight: 800; color: var(--text); }
.plugin-top .ver { font-size: 12px; color: var(--text-3); font-family: var(--mono); }
.plugin-desc { margin: 0; font-size: 13.5px; line-height: 1.75; color: var(--text-2); flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.plugin-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.plugin-tags .el-tag { border-radius: 6px; }
.plugin-foot { display: flex; align-items: center; gap: 14px; font-size: 12.5px; color: var(--text-3); border-top: 1px solid var(--line); padding-top: 14px; }
.plugin-foot .rate { color: var(--amber); font-weight: 700; }
.plugin-foot .el-button { margin-left: auto; }
.plugin-empty { text-align: center; padding: 60px 0; }

/* 插件详情弹窗 */
.el-dialog { --el-dialog-bg-color: var(--surface); --el-dialog-title-font-size: 18px; border-radius: 16px !important; border: 1px solid var(--line-strong); }
.el-dialog__title { color: var(--text); font-weight: 800; }
.el-dialog__body { color: var(--text-2); }
.plugin-detail-head { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; }
.plugin-detail-head .plugin-icon { width: 68px; height: 68px; font-size: 32px; }
.plugin-detail-head h2 { margin: 0 0 6px; font-size: 22px; color: var(--text); }
.detail-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0; }
.detail-meta .m { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px; text-align: center; }
.detail-meta .m b { display: block; font-size: 16px; color: var(--text); font-family: var(--mono); }
.detail-meta .m span { font-size: 12px; color: var(--text-3); }
.install-steps { margin: 14px 0 0; padding-left: 20px; color: var(--text-2); font-size: 14px; line-height: 2; }

/* ---- 帮助中心 ---- */
.help-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.help-side { position: sticky; top: calc(var(--nav-h) + 20px); padding: 14px; }
.help-side a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: 10px;
  color: var(--text-2); font-size: 14.5px; font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.help-side a:hover { background: var(--tag-bg); color: var(--text); }
.help-side a.active { background: var(--tag-bg); color: var(--blue); font-weight: 700; }
.faq-group { margin-bottom: 26px; padding: 8px 22px 14px; scroll-margin-top: calc(var(--nav-h) + 20px); }
.faq-group > h3 { font-size: 18px; font-weight: 800; color: var(--text); margin: 14px 0 8px; display: flex; align-items: center; gap: 10px; }
.faq-group > h3 .bar { width: 4px; height: 18px; border-radius: 2px; background: linear-gradient(180deg, var(--blue), var(--cyan)); }
.el-collapse { --el-collapse-border-color: var(--line); --el-collapse-header-bg-color: transparent; --el-collapse-content-bg-color: transparent; --el-collapse-header-text-color: var(--text); --el-collapse-content-text-color: var(--text-2); --el-collapse-header-height: 56px; border-top: none; }
.el-collapse-item__header { font-size: 15px; font-weight: 700; }
.el-collapse-item__content { font-size: 14.5px; line-height: 1.9; padding-bottom: 18px; }

/* ---- 关于页 ---- */
.about-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 26px; align-items: stretch; }
.about-box { padding: 32px 30px; }
.about-box h2 { margin: 0 0 16px; font-size: 22px; font-weight: 900; color: var(--text); }
.about-box p { color: var(--text-2); font-size: 15px; line-height: 2; margin: 0 0 12px; }
.contact-rows { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.contact-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; }
.contact-row .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--tag-bg); display: flex; align-items: center; justify-content: center; color: var(--blue); flex-shrink: 0; }
.contact-row .ic svg, .contact-row .ic .obs-ic { width: 20px; height: 20px; }
.contact-row b { display: block; color: var(--text); font-size: 14.5px; }
.contact-row span { font-size: 13px; color: var(--text-3); font-family: var(--mono); }

/* ==========================================================================
   动效：入场 & 滚动显现
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--rd, 0s); will-change: opacity, transform; }
.reveal.revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-glow, .meter::after, .live-tag i { animation: none !important; }
  .hero-enter, .ad-rail.left, .ad-rail.right { animation: none !important; }
}
.hero-enter { animation: heroIn 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero-enter.d1 { animation-delay: 0.08s; }
.hero-enter.d2 { animation-delay: 0.18s; }
.hero-enter.d3 { animation-delay: 0.3s; }
.hero-enter.d4 { animation-delay: 0.42s; }
.hero-enter.d5 { animation-delay: 0.55s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Element Plus 细节覆盖
   ========================================================================== */
.el-button { font-family: var(--font); }
.el-message { border-radius: 10px !important; }
html.dark .el-message { background: var(--surface-2) !important; border-color: var(--line-strong) !important; }
html.dark .el-message__content { color: var(--text) !important; }
html.dark .el-input__wrapper, html.dark .el-select__wrapper { background-color: var(--surface-2); box-shadow: 0 0 0 1px var(--line-strong) inset; }
html.dark .el-input__inner, html.dark .el-select__placeholder, html.dark .el-select__selected-item { color: var(--text); }
html.dark .el-popper.is-light { background: var(--surface-2); border-color: var(--line-strong); color: var(--text); }
html.dark .el-popper.is-light .el-popper__arrow::before { background: var(--surface-2) !important; border-color: var(--line-strong) !important; }
html.dark .el-select-dropdown__item { color: var(--text-2); }
html.dark .el-select-dropdown__item.is-hovering { background: var(--tag-bg); }
html.dark .el-drawer { background: var(--surface); }
html.dark .el-drawer__header { color: var(--text); }
html.dark .el-dialog__headerbtn .el-dialog__close { color: var(--text-3); }
.el-radio-button__inner { font-weight: 600; }
html.dark .el-radio-button__inner { background: var(--surface-2); border-color: var(--line-strong); color: var(--text-2); box-shadow: -1px 0 0 0 var(--line-strong); }
html.dark .el-radio-button__original-radio:checked + .el-radio-button__inner { background: var(--blue-deep); border-color: var(--blue-deep); box-shadow: -1px 0 0 0 var(--blue-deep); }
html.dark .el-tabs__item { color: var(--text-3); }
html.dark .el-tabs__item.is-active { color: var(--blue-soft); }
html.dark .el-empty__description p { color: var(--text-3); }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1180px) {
  .streamer-grid { grid-template-columns: repeat(3, 1fr); }
  .obs-docks { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.4fr) minmax(0, 1fr); }
  .obs-dock.d-transition { display: none; }
}
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .obs-stage { max-width: 720px; }
  .feature-grid, .steps-grid, .perks-row, .os-grid, .plugin-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .dl-detail, .about-grid { grid-template-columns: 1fr; }
  .help-layout { grid-template-columns: 1fr; }
  .help-side { position: static; display: flex; flex-wrap: wrap; gap: 4px; }
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
}
@media (max-width: 640px) {
  :root { --nav-h: 62px; }
  .nav-inner { gap: 12px; }
  .brand { gap: 8px; }
  .brand-name { font-size: 16px; }
  .brand-domain { display: none; }
  .brand-logo { width: 34px; height: 34px; }
  .nav-actions { gap: 8px; }
  .nav-sponsor { padding: 0 8px !important; height: 30px; }
  .hero { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 64px; }
  .section { padding: 60px 0; }
  .feature-grid, .steps-grid, .perks-row, .os-grid, .plugin-grid, .streamer-grid { grid-template-columns: 1fr; }
  .streamer-grid { gap: 16px; }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .hero-cta .el-button { flex: 1; min-width: 0; }
  .obs-docks { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
  .obs-dock.d-scenes, .obs-dock.d-transition { display: none; }
  .obs-preview .watermark .wm-title { font-size: 17px; }
  .obs-preview .watermark .wm-url { font-size: 12px; }
  .obs-preview .watermark .wm-logo { width: 56px; height: 56px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-qr { text-align: left; }
  .detail-meta { grid-template-columns: repeat(2, 1fr); }
  .plugin-toolbar .el-input { max-width: none; width: 100%; }
  .sort-dd { width: 100%; }
  .sort-dd-menu { width: 100%; }
  .plugin-count { margin-left: 0; width: 100%; }
}

/* ---- 导航赞助按钮 ---- */
.nav-sponsor {
  border: 1px solid rgba(255, 159, 26, 0.65) !important;
  background: rgba(255, 159, 26, 0.1) !important;
  color: var(--amber) !important;
  font-weight: 700;
  border-radius: 9px !important;
  height: 32px;
}
.nav-sponsor:hover { background: rgba(255, 159, 26, 0.22) !important; border-color: var(--amber) !important; }
.nav-sponsor .dollar { font-family: var(--mono); font-weight: 800; margin-right: 5px; }

/* ---- 下载中心（版本卡片网格） ---- */
.dc-banner {
  background: var(--surface);
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
  padding: 34px 24px;
  text-align: center;
  margin-bottom: 34px;
  position: relative;
  overflow: hidden;
}
.dc-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(620px 170px at 50% -40%, rgba(64, 158, 255, 0.16), transparent 70%);
}
.dc-banner h2 { margin: 0 0 10px; font-size: 22px; font-weight: 800; color: var(--text); position: relative; }
.dc-banner p { margin: 0; font-size: 13.5px; color: var(--text-3); position: relative; }
.dc-tabs {
  display: flex; justify-content: center; margin: 0 auto 30px;
  width: max-content; max-width: 100%;
  background: var(--surface); border: 1px solid var(--card-line);
  border-radius: 10px; padding: 4px;
}
.dc-tabs button {
  display: inline-flex; align-items: center; gap: 7px;
  border: 0; background: transparent; color: var(--text-2);
  font-size: 13.5px; font-weight: 700; padding: 9px 20px;
  border-radius: 8px; cursor: pointer; transition: 0.2s; font-family: inherit;
}
.dc-tabs button svg, .dc-tabs button .obs-ic { width: 15px; height: 15px; }
.dc-tab-emoji { font-size: 15px; line-height: 1; }
.dc-tabs button:hover { color: var(--text); }
.dc-tabs button.on {
  background: linear-gradient(90deg, #4aa3ff, #2f7fe0); color: #fff;
  box-shadow: 0 4px 14px rgba(47, 127, 224, 0.35);
}
.dc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dc-card {
  background: var(--surface); border: 1px solid var(--card-line);
  border-radius: 14px; padding: 24px 20px 20px;
  display: flex; flex-direction: column; position: relative;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.dc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.dc-card.latest { border-color: rgba(64, 158, 255, 0.65); box-shadow: 0 0 0 1px rgba(64, 158, 255, 0.3); }
.dc-logo { width: 58px; height: 58px; margin: 0 auto 18px; display: block; }
.dc-emoji { font-size: 42px; line-height: 58px; text-align: center; margin-bottom: 18px; }
.dc-name {
  font-size: 14.5px; font-weight: 800; color: var(--text);
  margin: 0 0 14px; display: flex; align-items: flex-start; gap: 8px; flex-wrap: wrap;
  min-height: 42px; line-height: 1.45;
}
.dc-tag {
  font-size: 11px; padding: 2px 8px; border-radius: 6px; flex-shrink: 0;
  background: rgba(64, 158, 255, 0.16); color: var(--blue-soft);
  border: 1px solid rgba(64, 158, 255, 0.4); font-weight: 700;
}
.dc-tag.official { background: rgba(62, 207, 142, 0.14); color: var(--green); border-color: rgba(62, 207, 142, 0.4); }
.dc-meta {
  display: flex; justify-content: space-between; gap: 10px;
  font-size: 12.5px; color: var(--text-3); padding: 7px 0;
  border-top: 1px dashed var(--line);
}
.dc-meta b { color: var(--text); font-family: var(--mono); font-weight: 700; }
.dc-card .el-button { width: 100%; margin-top: 14px; height: 40px; font-weight: 700; border-radius: 8px !important; }
.dc-foot { text-align: center; margin-top: 26px; font-size: 13px; color: var(--text-3); }
.dc-foot a { font-weight: 700; }
.dc-empty { padding: 56px 24px; text-align: center; color: var(--text-3); }
.dc-empty .obs-ic { width: 34px; height: 34px; color: var(--text-3); opacity: 0.7; }
.dc-empty .obs-ic svg { width: 100%; height: 100%; }
.dc-empty p { margin: 14px 0 0; font-size: 14px; }

/* ---- 赞助弹窗 ---- */
.sp-mask {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(4, 8, 18, 0.72); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content:center; padding: 20px;
}
.sp-box {
  width: min(430px, 94vw); max-height: calc(100vh - 40px); overflow-y: auto;
  background: var(--surface); border: 1px solid var(--card-line);
  border-radius: 18px; padding: 38px 30px 28px; text-align: center;
  position: relative; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
}
.sp-close {
  position: absolute; top: 14px; right: 14px; width: 32px; height: 32px;
  border-radius: 50%; border: 0; background: var(--tag-bg); color: var(--text-2);
  cursor: pointer; font-size: 14px; transition: 0.2s;
}
.sp-close:hover { background: var(--line-strong); color: var(--text); transform: rotate(90deg); }
.sp-icon { width: 62px; height: 62px; margin: 0 auto 18px; color: var(--text); }
.sp-icon svg { width: 100%; height: 100%; }
.sp-title { margin: 0 0 12px; font-size: 22px; font-weight: 800; color: var(--text); }
.sp-sub { margin: 0; font-size: 14px; color: var(--text-2); }
.hl-g { color: var(--green); font-weight: 800; }
.hl-b { color: var(--blue); font-weight: 800; }
.sp-divider { height: 1px; background: var(--line); margin: 22px -30px; }
.sp-body { margin: 0; font-size: 14px; line-height: 1.95; color: var(--text-2); text-align: justify; }
.sp-thanks { margin: 20px 0 16px; font-size: 14.5px; color: var(--text); display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; }
.sp-thanks b { font-weight: 800; }
.sp-thanks a { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.sp-qr {
  width: 200px; height: 200px; margin: 0 auto; background: #fff;
  border-radius: 12px; padding: 12px; position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.sp-qr img { width: 100%; height: 100%; object-fit: contain; display: block; }
.sp-qr .qr-box, .sp-qr .qr-box canvas { width: 100% !important; height: 100% !important; }
.sp-thumb {
  position: absolute; right: -10px; bottom: -10px; width: 38px; height: 38px;
  border-radius: 50%; background: linear-gradient(135deg, #ffc53d, #ff9f1a);
  color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(255, 159, 26, 0.45); border: 3px solid #fff;
}
.sp-thumb svg { width: 19px; height: 19px; }
.sp-cap { margin: 16px 0 18px; font-size: 13.5px; font-weight: 700; color: var(--green); }
.sp-tabs { display: flex; gap: 12px; justify-content: center; }
.sp-tabs button {
  min-width: 96px; padding: 10px 18px; border-radius: 9px;
  border: 1px solid var(--line-strong); background: var(--tag-bg);
  color: var(--text-2); font-size: 14px; font-weight: 700;
  cursor: pointer; transition: 0.2s; font-family: inherit;
}
.sp-tabs button.on.wx { border-color: rgba(62, 207, 142, 0.7); color: var(--green); background: rgba(62, 207, 142, 0.1); }
.sp-tabs button.on.ali { border-color: rgba(64, 158, 255, 0.7); color: var(--blue); background: rgba(64, 158, 255, 0.1); }
.spfade-enter-active, .spfade-leave-active { transition: opacity 0.25s ease; }
.spfade-enter-active .sp-box, .spfade-leave-active .sp-box { transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1); }
.spfade-enter-from, .spfade-leave-to { opacity: 0; }
.spfade-enter-from .sp-box { transform: translateY(26px) scale(0.96); }
.spfade-leave-to .sp-box { transform: translateY(12px) scale(0.98); }

/* ---- 赞助墙 ---- */
.wall-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.wall-item {
  background: var(--surface); border: 1px solid var(--card-line);
  border-radius: 12px; padding: 16px 18px; transition: 0.2s;
}
.wall-item:hover { transform: translateY(-3px); border-color: rgba(255, 159, 26, 0.5); }
.wall-item .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.wall-item .n { font-weight: 800; font-size: 14px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wall-item .a { font-family: var(--mono); font-weight: 800; color: var(--amber); flex-shrink: 0; }
.wall-item .m { margin: 8px 0 0; font-size: 12.5px; color: var(--text-3); line-height: 1.7; }

@media (max-width: 1200px) {
  .dc-grid, .wall-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 992px) {
  .dc-grid, .wall-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .dc-grid, .wall-grid { grid-template-columns: 1fr; }
  .dc-tabs { width: 100%; flex-wrap: wrap; justify-content: center; }
  .dc-tabs button { padding: 9px 12px; font-size: 12.5px; }
  .sp-box { padding: 32px 20px 24px; }
  .sp-divider { margin: 20px -20px; }
}
@media (prefers-reduced-motion: reduce) {
  .spfade-enter-active, .spfade-leave-active,
  .spfade-enter-active .sp-box, .spfade-leave-active .sp-box { transition: none !important; }
}

/* 插件卡片标题直链（SEO 详情页入口） */
.plugin-card h3 a { color: inherit; text-decoration: none; transition: color .15s; }
.plugin-card h3 a:hover { color: var(--blue); }

/* ---- B 站视频嵌入（详情弹窗 / 卡片标识） ---- */
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  box-shadow: 0 12px 32px rgba(2, 6, 16, .45);
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-note { margin: 8px 2px 0; font-size: 12px; color: var(--t3); line-height: 1.7; }
.video-note a { color: var(--blue); text-decoration: none; }
.video-note a:hover { text-decoration: underline; }
.video-flag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #fb7299;
  background: rgba(251, 114, 153, .12);
  border: 1px solid rgba(251, 114, 153, .4);
  vertical-align: middle;
}