﻿/* ============================================================
   AI视频翻译平台 · 全站共享样式 v3.0（与工作台统一蓝色系）
   主色: #3fae7d 绿 · #6AEBAB 薄荷 · #E58EA6 粉 · #EBB54F 金
   ============================================================ */

:root {
    --primary: #3fae7d;
    --primary-dark: #238f63;
    --primary-light: #e6f7ee;
    --primary-glow: rgba(63, 174, 125, .18);

  --accent: #E58EA6;
  --accent-light: #FCE8EE;
  --accent-2: #6AEBAB;
  --accent-2-light: #EAF6EF;
  --accent-3: #EBB54F;
  --accent-3-light: #FDF3DF;

  --ink: #1e293b;
  --ink-2: #475569;
  --ink-3: #94a3b8;
  --bg: #f7f9fc;
  --bg-soft: #f0f4fa;
  --card: #ffffff;
  --line: #e6ebf2;
  --ok: #6AEBAB;
  --ok-dark: #3fa76c;
  --err: #ef4444;
  --err-light: #fee2e2;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(30, 41, 59, .07);
  --shadow-lg: 0 16px 48px rgba(30, 41, 59, .12);
    --grad-main: linear-gradient(135deg, #3fae7d 0%, #238f63 100%);
  --grad-pink: linear-gradient(135deg, #E58EA6 0%, #f0b3c4 100%);
  --grad-gold: linear-gradient(135deg, #EBB54F 0%, #f5cf85 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; }
::selection { background: var(--primary-glow); }

/* ============ 顶部导航 ============ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 66px; display: flex; align-items: center; gap: 26px;
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: -.2px;
}
.logo .mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--grad-main);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 17px; box-shadow: 0 4px 12px var(--primary-glow);
}
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links > a {
  padding: 8px 14px; border-radius: 10px; font-size: 14px; font-weight: 500;
  color: var(--ink-2); transition: all .18s;
}
.nav-links > a:hover { background: var(--primary-light); color: var(--primary-dark); }
.nav-links > a.active { color: var(--primary-dark); font-weight: 700; background: var(--primary-light); }

/* 工具下拉菜单 */
.nav-drop { position: relative; }
.nav-drop > a { display: inline-flex; align-items: center; gap: 5px; }
.nav-drop > a .caret { font-size: 10px; opacity: .7; transition: transform .2s; }
.nav-drop:hover > a .caret { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 20px 56px rgba(30,41,59,.16);
  padding: 8px; min-width: 240px;
  opacity: 0; visibility: hidden; transition: all .22s; z-index: 200;
}
.nav-drop:hover .nav-drop-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-drop-menu a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 11px;
  font-size: 13.5px; color: var(--ink-2); transition: .15s; white-space: nowrap;
}
.nav-drop-menu a:hover { background: var(--primary-light); color: var(--primary-dark); }
.nav-drop-menu a .d-ic {
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--bg-soft); display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.nav-drop-menu a:hover .d-ic { background: #fff; }
.nav-drop-menu a b { display: block; font-size: 13px; font-weight: 650; color: var(--ink); line-height: 1.3; }
.nav-drop-menu a:hover b { color: var(--primary-dark); }
.nav-drop-menu a small { font-size: 11px; color: var(--ink-3); }
.nav-drop-menu .drop-main { background: var(--primary-light); }
.nav-drop-menu .drop-sep { height: 1px; background: var(--line); margin: 6px 8px; }

/* 导航用户区 */
.nav-user {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--primary-light); font-size: 13px; font-weight: 600; color: var(--primary-dark);
}
.nav-user .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); }
.nav-drop {
  position: relative;
}
.nav-drop > a { display: inline-flex; align-items: center; gap: 5px; }
.nav-drop > a .caret { font-size: 10px; opacity: .7; transition: transform .2s; }
.nav-drop:hover > a .caret { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(6px);
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 16px 48px rgba(30,41,59,.16);
  padding: 8px; min-width: 240px; opacity: 0; visibility: hidden; transition: all .2s; z-index: 200;
}
.nav-drop:hover .nav-drop-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-drop-menu a {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px;
  font-size: 13.5px; color: var(--ink-2); text-decoration: none; transition: .15s; white-space: nowrap;
}
.nav-drop-menu a:hover { background: var(--primary-light); color: var(--primary-dark); }
.nav-drop-menu a .d-ic {
  width: 30px; height: 30px; border-radius: 8px; background: #f1f5f9;
  display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0;
}
.nav-drop-menu a:hover .d-ic { background: #fff; }
.nav-drop-menu a b { display: block; font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.nav-drop-menu a:hover b { color: var(--primary-dark); }
.nav-drop-menu a small { font-size: 11px; color: var(--ink-3); }
.nav-drop-menu .drop-main { background: var(--primary-light); }
.nav-drop-menu .drop-main:hover { background: var(--primary-light); }
.nav-drop-menu .drop-sep { height: 1px; background: var(--line); margin: 6px 8px; }

/* 公告条 */
.ann-bar {
  background: #0a0a0a;
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 9px 24px; font-size: 13px; color: rgba(255,255,255,.75); text-align: center;
  position: relative; z-index: 101;
}
.ann-bar b { color: var(--primary-dark); }

/* ============ 按钮 ============ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 20px; border-radius: 999px; border: none;
  background: var(--primary); color: #fff; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all .2s; box-shadow: 0 4px 14px var(--primary-glow);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: 999px;
  background: var(--grad-main); color: #fff; font-size: 13.5px; font-weight: 650;
  box-shadow: 0 4px 14px var(--primary-glow); transition: all .2s;
}
.btn-nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px var(--primary-glow); }

/* ============ Hero ============ */
.hero {
  max-width: none; margin: 0 auto; padding: 72px 24px 40px; text-align: center;
  position: relative;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(229,142,166,.16), transparent 60%),
    radial-gradient(900px 420px at 10% -10%, rgba(63,174,125,.18), transparent 55%),
    linear-gradient(180deg, #F0F6FF 0%, var(--bg) 100%);
  border-radius: 0 0 28px 28px;
  overflow: hidden;
}
.hero .badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 18px; border-radius: 999px;
  background: var(--primary-light); color: var(--primary-dark);
  font-size: 13px; font-weight: 600; border: 1px solid rgba(63,174,125,.2);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(34px, 5.5vw, 56px); font-weight: 850; line-height: 1.18;
  letter-spacing: -1.5px; color: var(--ink);
}
.hero h1 .grad {
  background: var(--grad-main); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero .sub {
  max-width: 680px; margin: 18px auto 0; font-size: 16.5px; color: var(--ink-2); line-height: 1.8;
}
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.cta-row { display: flex; justify-content: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.btn-hero {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: 999px; font-size: 15.5px; font-weight: 700;
  transition: all .22s; cursor: pointer; border: none;
}
.btn-hero.primary {
  background: var(--grad-main); color: #fff;
  box-shadow: 0 8px 24px var(--primary-glow);
}
.btn-hero.primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px var(--primary-glow); }
.btn-hero.ghost {
  background: #fff; color: var(--ink); border: 1.5px solid var(--line);
}
.btn-hero.ghost:hover { border-color: var(--primary); color: var(--primary-dark); transform: translateY(-2px); }

/* 首页统计 */
.stats-row { display: flex; justify-content: center; gap: 48px; margin-top: 44px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat b {
  display: block; font-size: 30px; font-weight: 850;
  background: var(--grad-main); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat span { font-size: 13px; color: var(--ink-3); }

/* ============ Section 通用 ============ */
.section { max-width: none; margin: 0 auto; padding: 64px 24px; }
.section-head { text-align: center; margin-bottom: 42px; }
.section-head h2 { font-size: clamp(26px, 3.5vw, 34px); font-weight: 800; letter-spacing: -.5px; }
.section-head p { color: var(--ink-2); margin-top: 10px; font-size: 15px; }

/* ============ 卡片网格 ============ */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); transition: all .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(63,174,125,.25); }
.card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.card p.muted { font-size: 13.5px; color: var(--ink-2); line-height: 1.75; }

/* 首页特性卡 */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.feat-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); transition: all .25s; position: relative; overflow: hidden;
}
.feat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-main); opacity: 0; transition: opacity .25s;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feat-card:hover::before { opacity: 1; }
.feat-card .ic {
  width: 50px; height: 50px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 16px;
}
.feat-card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.feat-card p { font-size: 13.5px; color: var(--ink-2); line-height: 1.75; }

/* 场景卡 */
.use-scene { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.scene-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); transition: all .25s;
}
.scene-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(229,142,166,.3); }
.scene-card .sic {
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--accent-light); display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 14px;
}
.scene-card h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 6px; }
.scene-card p { font-size: 13px; color: var(--ink-2); line-height: 1.7; }

/* 三步流程 */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 10px; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; text-align: center; box-shadow: var(--shadow); transition: all .25s; position: relative;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step .num {
  width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 14px;
  background: var(--grad-main); color: #fff; font-size: 18px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px var(--primary-glow);
}
.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--ink-2); line-height: 1.7; }

/* 对比表 */
.cmp-table {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; max-width: 860px; margin: 0 auto;
}
.cmp-table table { width: 100%; border-collapse: collapse; }
.cmp-table th, .cmp-table td { padding: 15px 20px; text-align: center; font-size: 14px; }
.cmp-table thead th { background: var(--primary-light); color: var(--primary-dark); font-weight: 700; }
.cmp-table thead th:first-child { background: transparent; }
.cmp-table td { border-top: 1px solid var(--line); }
.cmp-table td:first-child { font-weight: 600; color: var(--ink-2); text-align: left; }
.cmp-table td.good { color: var(--ok-dark); font-weight: 650; }
.cmp-table tr:hover td { background: var(--bg-soft); }

/* ============ 表单 ============ */
.form-box {
  max-width: 420px; margin: 60px auto; background: var(--card);
  border: 1px solid var(--line); border-radius: 20px; padding: 36px;
  box-shadow: var(--shadow-lg);
}
.form-box h2 { font-size: 22px; font-weight: 800; margin-bottom: 6px; text-align: center; }
.form-box .sub { text-align: center; color: var(--ink-3); font-size: 13px; margin-bottom: 26px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.field input {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 11px;
  font-size: 14px; background: #fff; color: var(--ink); transition: all .2s;
}
.field input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border: none; border-radius: 11px;
  background: var(--grad-main); color: #fff; font-size: 14.5px; font-weight: 700;
  cursor: pointer; transition: all .2s; box-shadow: 0 6px 18px var(--primary-glow);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px var(--primary-glow); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-dark); }
.btn-sm { padding: 7px 14px; font-size: 12.5px; border-radius: 9px; }
.form-msg { margin-top: 14px; font-size: 13px; text-align: center; }
.form-msg.err { color: var(--err); }
.form-msg.ok { color: var(--ok-dark); }
.form-foot { text-align: center; font-size: 13px; color: var(--ink-3); margin-top: 20px; }

/* ============ 工具页 ============ */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.tool-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); transition: all .25s;
}
.tool-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.tool-head { font-size: 15.5px; font-weight: 700; margin-bottom: 4px; }
.tool-desc { display: block; font-size: 12.5px; color: var(--ink-3); margin-bottom: 16px; }
.tool-select, .tool-config-input {
  width: 100%; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 13.5px; background: #fff; color: var(--ink); transition: all .2s;
}
.tool-select:focus, .tool-config-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }
.tool-url-input {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 13.5px; background: #fff; margin-bottom: 12px; transition: all .2s;
}
.tool-url-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }
.tool-file {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 2px dashed #cbd5e1; border-radius: 14px; padding: 32px 20px;
  text-align: center; cursor: pointer; transition: all .2s; background: var(--bg-soft);
}
.tool-file:hover, .tool-file.over { border-color: var(--primary); background: var(--primary-light); }
.tool-file .icon { font-size: 34px; }
.tool-fname { color: var(--primary-dark); font-weight: 600; font-size: 13px; margin-top: 8px; word-break: break-all; }
.tool-row { margin: 14px 0; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.tool-row label { font-size: 13px; color: var(--ink-2); font-weight: 500; min-width: 64px; }
.tool-btn {
  width: 100%; padding: 14px; border: none; border-radius: 12px;
  background: var(--grad-main); color: #fff; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: all .2s; box-shadow: 0 6px 18px var(--primary-glow);
}
.tool-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px var(--primary-glow); }
.tool-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.tool-result { margin-top: 14px; font-size: 13px; }
.tool-dl { margin-top: 10px; }
.tool-err { color: var(--err); font-size: 13px; margin-top: 10px; }

/* CTA 横幅 */
.cta-banner {
  max-width: none; margin: 0 auto; padding: 54px 32px; text-align: center;
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light), var(--accent-3-light));
  border-radius: 24px; border: 1px solid rgba(63,174,125,.1);
}
.cta-banner h2 { font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.cta-banner p { color: var(--ink-2); margin-bottom: 22px; }

/* ============ 页脚 ============ */
.footer {
  background: #0f172a; color: #94a3b8; margin-top: 80px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 56px 24px 32px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px;
}
.footer .brand .logo { color: #fff; }
.footer .logo .mark img.ft-logo-img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; display: block; }

.footer .brand p { font-size: 13px; margin-top: 14px; line-height: 1.8; max-width: 280px; }
.footer .col h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.footer .col a { display: block; color: #94a3b8; font-size: 13px; padding: 5px 0; transition: .15s; }
.footer .col a:hover { color: #fff; }
.footer .copy {
  text-align: center; font-size: 12.5px; color: #64748b;
  border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0;
}

/* ============ 公告列表 ============ */
.ann-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.ann-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.ann-title { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.ann-meta { font-size: 12px; color: var(--ink-3); margin-bottom: 10px; }
.ann-content { font-size: 14px; color: var(--ink-2); line-height: 1.8; }
.ann-level { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; margin-left: 8px; vertical-align: 2px; }
.ann-level.info { background: var(--primary-light); color: var(--primary-dark); }
.ann-level.warn { background: var(--accent-3-light); color: #b07d1e; }
.ann-level.new { background: var(--accent-2-light); color: var(--ok-dark); }

/* ============ 表格（管理后台） ============ */
.table-wrap {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; overflow-x: auto;
}
.table-wrap table { width: 100%; border-collapse: collapse; min-width: 640px; }
.table-wrap th, .table-wrap td { padding: 12px 16px; font-size: 13px; text-align: left; }
.table-wrap thead th { background: var(--bg-soft); color: var(--ink-2); font-weight: 650; white-space: nowrap; }
.table-wrap td { border-top: 1px solid var(--line); }
.table-wrap tr:hover td { background: var(--bg-soft); }

/* 状态徽章 */
.badge {
  display: inline-block; padding: 3px 11px; border-radius: 999px;
  font-size: 11.5px; font-weight: 650;
}
.badge.admin { background: var(--accent-light); color: #c2556f; }
.badge.user { background: var(--primary-light); color: var(--primary-dark); }
.badge.active { background: var(--accent-2-light); color: var(--ok-dark); }
.badge.disabled { background: #f1f5f9; color: var(--ink-3); }
.badge.done { background: var(--accent-2-light); color: var(--ok-dark); }
.badge.error { background: var(--err-light); color: var(--err); }
.badge.running { background: var(--accent-3-light); color: #b07d1e; }

/* ============ 工具类 ============ */
.muted { color: var(--ink-3); }
.mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; }
.flex { display: flex; align-items: center; gap: 10px; }
.flex-wrap { flex-wrap: wrap; }
.spacer { flex: 1; }

/* ============ 响应式 ============ */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav-inner { gap: 14px; }
  .nav-links > a { padding: 7px 10px; font-size: 13px; }
}
@media (max-width: 640px) {
  .hero { padding: 48px 18px 30px; }
  .section { padding: 48px 18px; }
  .stats-row { gap: 28px; }
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; gap: 20px 14px; }
  .footer-inner .brand { grid-column: 1 / -1; }
  .footer .col h4 { font-size: 13px; margin-bottom: 10px; }
  .footer .col a { font-size: 12px; padding: 4px 0; }
  .footer .brand p { max-width: none; }
  .nav-links > a:nth-child(n+3) { display: none; }
  .cmp-table th, .cmp-table td { padding: 11px 12px; font-size: 12.5px; }
}

/* ============================================================
   顶部导航 v3（站点 风格高级导航）
   ============================================================ */
.nx-nav {
  position: sticky; top: 0; z-index: 1000;
  height: 72px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s, height .3s;
}
.nx-nav.is-scrolled {
  background: rgba(255,255,255,.88);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 32px rgba(15,23,42,.06);
}
.nx-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 28px;
  height: 100%; display: flex; align-items: center; gap: 8px;
}
/* ---- Logo ---- */
.nx-logo {
  display: flex; align-items: center; gap: 11px;
  text-decoration: none; margin-right: 14px; flex-shrink: 0;
}
.nx-logo-mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, #3fae7d 0%, #238f63 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(63,174,125,.35), inset 0 1px 0 rgba(255,255,255,.25);
  position: relative; overflow: hidden;
  transition: transform .25s ease;
}
.nx-logo-mark img.nx-logo-img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; display: block; }

.nx-logo:hover .nx-logo-mark { transform: rotate(-6deg) scale(1.04); }
.nx-logo-mark svg { width: 20px; height: 20px; display: block; }
.nx-logo-mark::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.35), transparent 55%);
}
.nx-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.nx-logo-text b {
  font-size: 17px; font-weight: 800; letter-spacing: -.2px;
  background: linear-gradient(120deg, #0f172a 30%, #334155 90%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.nx-logo-text em {
  font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: 2.6px;
  color: var(--ink-3); text-transform: uppercase; margin-top: 2px;
}
/* ---- 主导航链接 ---- */
.nx-links { display: flex; align-items: center; gap: 2px; }
.nx-link {
  position: relative; display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 15px; border-radius: 10px;
  font-size: 14.5px; font-weight: 550; color: var(--ink-2);
  text-decoration: none; cursor: pointer; border: none; background: none;
  transition: color .18s, background .18s;
  font-family: inherit;
}
.nx-link:hover { color: var(--primary-dark); background: var(--primary-light); }
.nx-link.active { color: var(--primary-dark); font-weight: 700; background: var(--primary-light); }
.nx-link .nx-caret {
  font-size: 9px; opacity: .65; transition: transform .25s ease;
  display: inline-block;
}
.nx-drop:hover .nx-caret, .nx-drop.open .nx-caret { transform: rotate(180deg); }
.nx-link::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 3px;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), #238f63);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nx-link:hover::after, .nx-link.active::after { transform: scaleX(1); }
/* ---- 下拉容器 ---- */
.nx-drop { position: relative; }
.nx-drop-panel {
  position: absolute; top: calc(100% + 6px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 24px 60px rgba(15,23,42,.14), 0 4px 16px rgba(15,23,42,.06);
  padding: 10px; min-width: 240px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.nx-drop:hover .nx-drop-panel, .nx-drop.open .nx-drop-panel {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nx-drop-panel::before {
  content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 12px;
}
/* 宽版 mega 面板（工具） */
.nx-drop-panel.nx-mega { width: 560px; left: 50%; padding: 14px; }
.nx-mega-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
}
.nx-mega-main {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 14px;
  padding: 13px 14px; border-radius: 13px;
  background: linear-gradient(135deg, var(--primary-light), #e6f7ee);
  border: 1px solid rgba(63,174,125,.14);
  text-decoration: none; margin-bottom: 6px;
  transition: transform .18s, box-shadow .18s;
}
.nx-mega-main:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(63,174,125,.12); }
.nx-mega-main .mm-ic {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, #3fae7d, #238f63);
  display: flex; align-items: center; justify-content: center; font-size: 21px;
  box-shadow: 0 4px 12px rgba(63,174,125,.3);
}
.nx-mega-main b { font-size: 15px; color: var(--ink); display: block; }
.nx-mega-main small { font-size: 12px; color: var(--ink-2); opacity: .85; }
.nx-mega-main .mm-go {
  margin-left: auto; width: 28px; height: 28px; border-radius: 50%;
  background: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--primary); box-shadow: 0 2px 8px rgba(15,23,42,.1);
  transition: transform .2s;
}
.nx-mega-main:hover .mm-go { transform: translateX(3px); }
.nx-drop-link {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 11px; text-decoration: none;
  transition: background .15s;
}
.nx-drop-link:hover { background: var(--bg-soft); }
.nx-drop-link .dl-ic {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.nx-drop-link b { font-size: 13.5px; color: var(--ink); display: block; line-height: 1.3; }
.nx-drop-link small { font-size: 11.5px; color: var(--ink-3); display: block; line-height: 1.4; }
/* 单列下拉（资源） */
.nx-drop-panel.nx-list { min-width: 270px; padding: 12px; }
.nx-list-link {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: 11px; text-decoration: none;
  transition: background .15s;
}
.nx-list-link:hover { background: var(--bg-soft); }
.nx-list-link .nl-ic {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  background: var(--bg-soft); display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.nx-list-link b { font-size: 13.5px; color: var(--ink); display: block; }
.nx-list-link small { font-size: 11.5px; color: var(--ink-3); display: block; margin-top: 1px; }
.nx-drop-sep { height: 1px; background: var(--line); margin: 8px 10px; }
/* 资源下拉：公告卡片 */
.nx-ann-card {
  margin: 10px 6px 4px; padding: 13px 14px; border-radius: 13px;
  background: linear-gradient(135deg, #0F172A, #1E293B);
  color: #fff; text-decoration: none; display: block;
  position: relative; overflow: hidden; transition: transform .18s;
}
.nx-ann-card:hover { transform: translateY(-2px); }
.nx-ann-card::after {
  content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px;
  background: radial-gradient(circle, rgba(109,93,246,.5), transparent 70%);
}
.nx-ann-card .ac-tag {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  color: #C7D2FE; text-transform: uppercase; margin-bottom: 6px;
}
.nx-ann-card .ac-title { font-size: 13.5px; font-weight: 600; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nx-ann-card .ac-more { font-size: 11.5px; color: #7dd3a8; margin-top: 8px; display: flex; align-items: center; gap: 4px; }
/* ---- 右侧操作区 ---- */
.nx-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nx-icon-btn {
  width: 38px; height: 38px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  cursor: pointer; font-size: 15px; transition: all .18s;
}
.nx-icon-btn:hover { border-color: var(--primary); color: var(--primary); box-shadow: 0 2px 10px rgba(63,174,125,.12); }
/* 搜索展开 */
.nx-search-wrap { position: relative; display: flex; align-items: center; }
.nx-search-ic { display: none; }
.nx-search-input {
  width: 0; opacity: 0; padding: 0; border: none;
  height: 38px; border-radius: 11px; font-size: 13.5px;
  background: var(--bg-soft); color: var(--ink);
  transition: width .3s ease, opacity .25s ease, padding .3s ease;
  outline: none; font-family: inherit;
}
.nx-search-wrap.open .nx-search-input {
  width: 210px; opacity: 1; padding: 0 12px 0 36px;
  border: 1px solid var(--line);
}
.nx-search-wrap.open .nx-search-ic { position: absolute; left: 11px; font-size: 13px; color: var(--ink-3); pointer-events: none; display: flex; }
.nx-search-wrap.open .nx-icon-btn { border-color: var(--primary); color: var(--primary); }
/* 语言切换 */
.nx-lang { position: relative; }
.nx-lang-btn {
  display: flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 13px; border-radius: 11px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit;
  transition: all .18s;
}
.nx-lang-btn:hover { border-color: var(--primary); color: var(--primary); }
.nx-lang-panel {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: rgba(255,255,255,.98); backdrop-filter: blur(20px);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 20px 50px rgba(15,23,42,.14);
  padding: 8px; min-width: 170px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .2s;
}
.nx-lang.open .nx-lang-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nx-lang-item {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 9px 11px; border-radius: 9px; border: none; background: none;
  font-size: 13px; color: var(--ink-2); cursor: pointer; font-family: inherit;
  transition: background .15s;
}
.nx-lang-item:hover { background: var(--bg-soft); }
.nx-lang-item .lg-flag { font-size: 16px; }
.nx-lang-item .lg-code { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--ink-3); }
.nx-lang-item.current { color: var(--primary-dark); font-weight: 700; background: var(--primary-light); }
/* 登录/注册按钮 */
.nx-btn-login {
  height: 38px; padding: 0 18px; border-radius: 11px;
  border: 1.5px solid var(--primary); background: #fff; color: var(--primary-dark);
  font-size: 13.5px; font-weight: 650; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all .2s; font-family: inherit;
}
.nx-btn-login:hover { background: var(--primary-light); box-shadow: 0 4px 14px rgba(63,174,125,.18); }
.nx-btn-cta {
  height: 38px; padding: 0 20px; border-radius: 11px;
  background: linear-gradient(135deg, #3fae7d, #238f63);
  color: #fff; font-size: 13.5px; font-weight: 700; text-decoration: none;
  display: inline-flex; align-items: center; gap: 7px;
  box-shadow: 0 6px 18px rgba(63,174,125,.35), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .18s, box-shadow .18s; font-family: inherit;
}
.nx-btn-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(63,174,125,.42); }
/* 用户菜单 */
.nx-user { position: relative; }
.nx-user-btn {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; padding: 0; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  transition: all .18s; font-family: inherit;
}
.nx-user-btn:hover { border-color: var(--primary); box-shadow: 0 4px 14px rgba(63,174,125,.12); }
.nx-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #3fae7d, #238f63);
  color: #fff; font-size: 14.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(63,174,125,.28);
}
.nx-user-btn .nu-name { font-size: 13px; font-weight: 600; color: var(--ink); max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nx-user-panel {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: rgba(255,255,255,.98); backdrop-filter: blur(20px);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 20px 50px rgba(15,23,42,.14);
  padding: 8px; min-width: 190px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .2s;
}
.nx-user.open .nx-user-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nx-user-head { padding: 10px 12px 8px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.nx-user-head b { font-size: 13.5px; color: var(--ink); display: block; }
.nx-user-head small { font-size: 11.5px; color: var(--ink-3); }
.nx-user-item {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 9px 12px; border-radius: 9px; border: none; background: none;
  font-size: 13px; color: var(--ink-2); cursor: pointer; font-family: inherit;
  text-decoration: none; transition: background .15s;
}
.nx-user-item:hover { background: var(--bg-soft); color: var(--primary-dark); }
.nx-user-item.danger { color: var(--err); }
.nx-user-item.danger:hover { background: var(--err-light); }
/* ---- 汉堡按钮（移动端） ---- */
.nx-burger {
  display: none; width: 40px; height: 40px; border-radius: 11px;
  border: 1px solid var(--line); background: #fff;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  cursor: pointer; transition: all .2s;
}
.nx-burger span {
  width: 18px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform .3s ease, opacity .2s ease;
}
.nx-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nx-burger.open span:nth-child(2) { opacity: 0; }
.nx-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* 移动端抽屉（右侧半屏滑入） */
.nx-drawer {
  position: fixed; top: 72px; right: 0; bottom: 0; left: auto; z-index: 1001;
  width: min(62vw, 340px);
  background: rgba(255,255,255,.98); backdrop-filter: blur(24px);
  padding: 18px 22px 40px; overflow-y: auto;
  box-shadow: -12px 0 32px rgba(15,23,42,.16);
  opacity: 0; visibility: hidden; transform: translateX(105%);
  transition: all .3s ease;
}
.nx-drawer.open { opacity: 1; visibility: visible; transform: translateX(0); }
/* 抽屉遮罩 */
.nx-drawer-mask {
  position: fixed; top: 72px; left: 0; right: 0; bottom: 0; z-index: 1000;
  background: rgba(15,23,42,.45); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: all .3s ease;
}
.nx-drawer-mask.open { opacity: 1; visibility: visible; }
.nx-drawer-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 4px; font-size: 16px; font-weight: 600; color: var(--ink);
  text-decoration: none; border-bottom: 1px solid var(--line);
}
.nx-drawer-link:hover { color: var(--primary-dark); }
.nx-drawer-sub { padding: 6px 0 12px 12px; }
.nx-drawer-sub a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 8px; font-size: 14px; color: var(--ink-2); text-decoration: none; border-radius: 9px;
}
.nx-drawer-sub a:hover { background: var(--bg-soft); color: var(--primary-dark); }
.nx-drawer-cta {
  display: flex; margin-top: 22px; gap: 10px;
}
.nx-drawer-cta a { flex: 1; text-align: center; }
/* 响应式 */
@media (max-width: 1080px) {
  .nx-links, .nx-actions .nx-icon-btn, .nx-search-wrap, .nx-lang, .nx-btn-login, .nx-btn-cta, .nx-user { display: none; }
  .nx-burger { display: flex; }
  .nx-actions { margin-left: auto; }
  .nx-inner { padding: 0 18px; }
  .nx-nav { height: 64px; }
  .nx-drawer { top: 64px; }
  .nx-drawer-mask { top: 64px; }
}
@media (min-width: 1081px) {
  .nx-drawer, .nx-drawer-mask { display: none; }
}

/* SVG 图标基础 */
.ic { display: inline-block; vertical-align: -2px; flex-shrink: 0; }
.nx-nav .ic { color: inherit; }

/* ========== 工具页统一布局：左工作台 + 右预览（与 /tools/video 一致） ========== */
.tool-layout { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 22px; align-items: start; }
.tool-left, .tool-right {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 22px; box-shadow: 0 4px 24px rgba(30,41,59,.07);
}
.tool-left { position: sticky; top: 96px; }

/* 预览区：视频/音频在上，控制条紧贴下方 */
.pv-stage {
  position: relative; height: 500px; display: flex; flex-direction: column; overflow: hidden;
}
.pv-stage .pv-body {
  position: relative; flex: 1; min-height: 0;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.pv-stage video { width: 100%; height: 100%; object-fit: contain; }

/* 预览区空状态 = 上传入口（录咖式） */
.pv-upload {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  cursor: pointer; gap: 10px; background: transparent; transition: all .25s;
}
.pv-upload:hover { background: rgba(63,174,125,.05); }
.pv-upload .up-icon {
  width: 76px; height: 76px; border-radius: 24px; display: flex; align-items: center; justify-content: center;
  background: rgba(148,163,184,.14); border: 1.5px solid rgba(148,163,184,.25);
}
.pv-upload .up-icon svg { width: 32px; height: 32px; color: #cbd5e1; }
.pv-upload .up-title { font-size: 16px; font-weight: 700; color: #e2e8f0; }
.pv-upload .up-hint { font-size: 12.5px; color: #94a3b8; }
.pv-upload .up-btn {
  margin-top: 8px; padding: 11px 30px; border-radius: 12px; border: none; font-size: 14px; font-weight: 700;
  background: linear-gradient(135deg, #3fae7d, #238f63); color: #fff; cursor: pointer; box-shadow: 0 8px 22px rgba(63,174,125,.35);
  transition: all .25s;
}
.pv-upload .up-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(63,174,125,.45); }
.pv-upload .up-fname { font-size: 12.5px; color: #7dd3fc; font-weight: 600; word-break: break-all; max-width: 80%; text-align: center; }

/* 播放控制条 */
.pv-controls {
  display: flex; align-items: center; gap: 10px; padding: 8px 14px; flex-shrink: 0;
  background: transparent; border-top: none;
}
.pv-controls button.pc-btn {
  width: 38px; height: 38px; border-radius: 11px; border: none; cursor: pointer; flex-shrink: 0;
  background: rgba(63,174,125,.08); color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.pv-controls button.pc-btn:hover { background: rgba(63,174,125,.16); color: var(--primary-dark); }
.pv-controls button.pc-btn svg { width: 17px; height: 17px; }
.pv-controls .pc-time { font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pv-controls input[type=range].pc-seek {
  flex: 1; min-width: 60px; cursor: pointer; height: 4px;
  -webkit-appearance: none; appearance: none; background: transparent;
}
.pv-controls input[type=range].pc-seek::-webkit-slider-runnable-track {
  height: 4px; border-radius: 999px; background: var(--line);
}
.pv-controls input[type=range].pc-seek::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 12px; height: 12px; border-radius: 50%;
  background: #3fae7d; margin-top: -4px; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(63,174,125,.4);
}
.pv-controls input[type=range].pc-seek::-moz-range-track {
  height: 4px; border-radius: 999px; background: var(--line);
}
.pv-controls input[type=range].pc-seek::-moz-range-thumb {
  width: 12px; height: 12px; border-radius: 50%; background: #3fae7d; border: 2px solid #fff;
}
.pv-controls .pc-mute { width: 30px; height: 30px; border-radius: 9px; border: none; cursor: pointer;
  background: transparent; color: var(--ink-3); display: inline-flex; align-items: center; justify-content: center; }
.pv-controls .pc-mute:hover { color: var(--primary-dark); }
.pv-controls .pc-mute svg { width: 16px; height: 16px; }

/* 切换胶囊 */
.pv-switch {
  position: absolute; top: 12px; left: 12px; z-index: 60; display: none;
  align-items: center; gap: 3px; background: rgba(15,23,42,.6);
  border-radius: 999px; padding: 4px; backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.08); box-shadow: 0 4px 16px rgba(0,0,0,.35);
}
.pv-switch button {
  border: none; border-radius: 999px; padding: 6px 16px; font-size: 12.5px; font-weight: 600;
  cursor: pointer; transition: all .2s; font-family: inherit;
}
.pv-switch button.on { background: linear-gradient(135deg, #3fae7d, #238f63); color: #fff; box-shadow: 0 2px 8px rgba(91,108,245,.4); }
.pv-switch button.off { background: transparent; color: #cbd5e1; }
.pv-switch button.off:hover { color: #fff; }

@media (max-width: 860px) {
  .tool-layout { grid-template-columns: 1fr; }
  .tool-left { position: static; }
  .pv-stage { min-height: 320px; }
  .tool-left, .tool-right { padding: 16px; border-radius: 16px; }
}
