/* 808音频工作室 · 官网样式
 * 主题：默认浅色（:root），深色（[data-theme="dark"]），
 *      强调色由 JS 写入 --accent / --accent-2 及其衍生变量实现自定义配色。
 */

/* ============ 浅色主题（默认） ============ */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #f2f3f8;
  --border-solid: #e3e6ef;
  --text: #10111a;
  --muted: #5b5f70;
  --muted-dim: #7a7f92;

  --accent: #6d5cff;
  --accent-2: #12b5d1;
  --on-accent: #ffffff;
  --accent-soft: rgba(109, 92, 255, .10);
  --accent-line: rgba(109, 92, 255, .30);
  --accent-text: #4b3ce0;
  --accent-shadow: rgba(109, 92, 255, .45);
  --glow-1: rgba(109, 92, 255, .16);
  --glow-2: rgba(18, 181, 209, .12);

  --tint: rgba(16, 18, 30, .04);
  --tint-strong: rgba(16, 18, 30, .07);
  --nav-bg: rgba(255, 255, 255, .88);
  --mask: rgba(18, 20, 32, .45);
  --card-grad: linear-gradient(180deg, #ffffff 0%, #f7f8fc 100%);
  --skeleton-2: #eef0f6;

  --chip-win: #2563eb;
  --chip-win-line: rgba(37, 99, 235, .25);
  --chip-android: #16a34a;
  --chip-android-line: rgba(22, 163, 74, .25);

  --ok: #10b981;
  --ok-text: #0f766e;
  --warn: #f59e0b;
  --danger: #e5484d;
  --danger-soft: rgba(229, 72, 77, .10);
  --danger-line: rgba(229, 72, 77, .30);
  --pink: #ff3d81;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 42px -22px rgba(16, 18, 32, .35);
  --grad: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
}

/* ============ 深色主题 ============ */
[data-theme="dark"] {
  --bg: #08080d;
  --bg-soft: #0e0e16;
  --surface: #14141f;
  --surface-2: #1b1b28;
  --border-solid: #262633;
  --text: #ecedf4;
  --muted: #8f8fa6;
  --muted-dim: #6b6b80;

  --on-accent: #0a0a12;
  --accent-soft: rgba(124, 92, 255, .10);
  --accent-line: rgba(124, 92, 255, .32);
  --accent-text: #cfc6ff;
  --accent-shadow: rgba(124, 92, 255, .9);
  --glow-1: rgba(124, 92, 255, .28);
  --glow-2: rgba(34, 211, 238, .18);

  --tint: rgba(255, 255, 255, .03);
  --tint-strong: rgba(255, 255, 255, .06);
  --nav-bg: rgba(8, 8, 13, .82);
  --mask: rgba(4, 4, 8, .78);
  --card-grad: linear-gradient(180deg, var(--surface) 0%, rgba(14, 14, 22, .6) 100%);
  --skeleton-2: #1b1b28;

  --chip-win: #8ab4ff;
  --chip-win-line: rgba(138, 180, 255, .25);
  --chip-android: #7ee787;
  --chip-android-line: rgba(126, 231, 135, .25);

  --ok: #34d399;
  --ok-text: #a7f3d0;
  --warn: #fbbf24;
  --danger: #f87171;
  --danger-soft: rgba(248, 113, 113, .12);
  --danger-line: rgba(248, 113, 113, .3);
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .8);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ============ 顶部导航 ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border-solid);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 66px; }
.logo { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 17px; letter-spacing: .3px; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--grad);
  display: grid; place-items: center;
  font-size: 15px; font-weight: 800; color: var(--on-accent);
  box-shadow: 0 6px 18px -6px var(--accent-shadow);
}
.logo small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 1.5px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--muted); font-size: 14.5px; transition: color .18s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--border-solid); color: var(--text); border-radius: 8px; padding: 6px 10px; cursor: pointer; }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--radius-sm);
  font-size: 14.5px; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; background: var(--surface-2); color: var(--text);
  transition: transform .15s, opacity .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--grad); color: var(--on-accent); }
.btn-ghost { background: transparent; border-color: var(--border-solid); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: 8px; }
.btn-danger { background: var(--danger-soft); color: var(--danger); border-color: var(--danger-line); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ============ Hero ============ */
.hero { position: relative; padding: 88px 0 64px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% 0 auto -10%; height: 620px;
  background: radial-gradient(ellipse at 25% 30%, var(--glow-1), transparent 62%),
              radial-gradient(ellipse at 75% 20%, var(--glow-2), transparent 60%);
  filter: blur(10px); pointer-events: none;
}
.hero-inner { position: relative; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; font-size: 12.5px; color: var(--muted);
  border: 1px solid var(--border-solid); background: var(--tint);
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.hero h1 { font-size: clamp(32px, 5vw, 58px); line-height: 1.15; margin: 22px 0 0; font-weight: 800; letter-spacing: -.5px; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 17px; color: var(--muted); max-width: 620px; margin: 18px 0 0; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

.wave { display: flex; align-items: flex-end; gap: 4px; height: 34px; margin-top: 40px; }
.wave span {
  width: 4px; border-radius: 3px; background: var(--grad); opacity: .55;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { height: 8px; } 50% { height: 34px; } }

/* ============ 通用区块 ============ */
.section { padding: 72px 0; }
.section-head { margin-bottom: 34px; }
.section-head h2 { font-size: 28px; margin: 0 0 8px; font-weight: 750; letter-spacing: -.2px; }
.section-head p { color: var(--muted); margin: 0; font-size: 15px; }

/* ============ 产品卡片 ============ */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.card {
  position: relative; padding: 24px; border-radius: var(--radius);
  background: var(--card-grad);
  border: 1px solid var(--border-solid);
  transition: transform .2s, border-color .2s, box-shadow .2s;
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: var(--grad); opacity: 0; transition: opacity .2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: var(--shadow); }
.card:hover::after { opacity: 1; }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  font-size: 22px; background: var(--surface-2); border: 1px solid var(--border-solid); margin-bottom: 16px;
}
.card h3 { margin: 0 0 4px; font-size: 17.5px; font-weight: 700; }
.card .tagline { color: var(--muted); font-size: 13.5px; margin: 0 0 14px; }
.card .desc { color: var(--muted-dim); font-size: 13.5px; margin: 0 0 18px; min-height: 44px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip {
  font-size: 11.5px; padding: 3px 9px; border-radius: 6px;
  background: var(--tint); color: var(--muted); border: 1px solid var(--border-solid);
}
.chip.win { color: var(--chip-win); border-color: var(--chip-win-line); }
.chip.android { color: var(--chip-android); border-color: var(--chip-android-line); }
.chip.cat { color: var(--accent-text); border-color: var(--accent-line); background: var(--accent-soft); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dl-count { font-size: 12px; color: var(--muted-dim); }

/* ============ 特性 ============ */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.feature { padding: 22px; border-radius: var(--radius); border: 1px solid var(--border-solid); background: var(--bg-soft); }
.feature .fi { font-size: 22px; margin-bottom: 10px; }
.feature h4 { margin: 0 0 6px; font-size: 15.5px; }
.feature p { margin: 0; color: var(--muted-dim); font-size: 13.5px; }

/* ============ 公告条 ============ */
.notice {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  border-radius: var(--radius-sm); border: 1px solid var(--accent-line);
  background: var(--accent-soft); font-size: 14px; color: var(--accent-text);
}

/* ============ 页脚 ============ */
.footer { border-top: 1px solid var(--border-solid); padding: 40px 0; margin-top: 40px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer p { margin: 0; color: var(--muted-dim); font-size: 13.5px; }
.footer-links { display: flex; gap: 18px; font-size: 13.5px; color: var(--muted-dim); }
.footer-links a:hover { color: var(--text); }

/* ============ 下载页 ============ */
.page-head { padding: 56px 0 24px; }
.page-head h1 { font-size: 34px; margin: 0 0 10px; font-weight: 800; }
.page-head p { color: var(--muted); margin: 0; }
.filters { display: flex; gap: 10px; margin: 26px 0 8px; flex-wrap: wrap; }
.filter {
  padding: 8px 16px; border-radius: 999px; font-size: 13.5px; cursor: pointer;
  border: 1px solid var(--border-solid); background: transparent; color: var(--muted);
  transition: all .16s;
}
.filter:hover { color: var(--text); }
.filter.on { background: var(--grad); color: var(--on-accent); border-color: transparent; font-weight: 600; }
.filter-label { font-size: 12.5px; color: var(--muted-dim); margin-right: 2px; align-self: center; }

.dl-row {
  display: flex; gap: 18px; align-items: center; padding: 20px;
  border: 1px solid var(--border-solid); border-radius: var(--radius);
  background: var(--bg-soft); margin-bottom: 12px; transition: border-color .18s, transform .18s;
}
.dl-row:hover { border-color: var(--accent-line); transform: translateX(3px); }
.dl-row .card-icon { margin-bottom: 0; flex: 0 0 auto; }
.dl-body { flex: 1; min-width: 0; }
.dl-body h3 { margin: 0 0 4px; font-size: 16.5px; }
.dl-body p { margin: 0 0 8px; color: var(--muted); font-size: 13.5px; }
.dl-actions { flex: 0 0 auto; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }

/* ============ 主题切换器 ============ */
.theme-fab { position: fixed; right: 18px; bottom: 18px; z-index: 150; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.theme-btn {
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--border-solid); background: var(--surface); color: var(--text);
  display: grid; place-items: center; font-size: 18px; box-shadow: var(--shadow);
}
.theme-panel {
  width: 268px; padding: 16px; border-radius: 14px;
  border: 1px solid var(--border-solid); background: var(--surface); box-shadow: var(--shadow);
}
.theme-panel h4 { margin: 0 0 12px; font-size: 14px; }
.theme-modes { display: flex; gap: 8px; margin-bottom: 14px; }
.theme-modes button {
  flex: 1; padding: 8px; border-radius: 9px; cursor: pointer; font-size: 13px;
  border: 1px solid var(--border-solid); background: var(--bg-soft); color: var(--muted);
}
.theme-modes button.on { background: var(--grad); color: var(--on-accent); border-color: transparent; font-weight: 600; }
.theme-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; font-size: 13px; color: var(--muted); }
.theme-row input[type="color"] {
  width: 46px; height: 30px; padding: 0; cursor: pointer;
  border: 1px solid var(--border-solid); border-radius: 6px; background: none;
}
.presets { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 12px; }
.preset { width: 26px; height: 26px; border-radius: 50%; cursor: pointer; border: 1px solid var(--border-solid); }
.preset.on { outline: 2px solid var(--accent); outline-offset: 2px; }
.theme-actions { display: flex; gap: 8px; }
.theme-actions button {
  flex: 1; padding: 7px; border-radius: 8px; cursor: pointer; font-size: 12.5px;
  border: 1px solid var(--border-solid); background: transparent; color: var(--muted);
}
.theme-actions button:hover { color: var(--text); background: var(--surface-2); }

/* ============ 后台 ============ */
.admin-wrap { max-width: 1080px; margin: 0 auto; padding: 32px 24px 80px; }
.login-box {
  max-width: 420px; margin: 90px auto; padding: 32px;
  border: 1px solid var(--border-solid); border-radius: 18px; background: var(--surface);
  box-shadow: var(--shadow);
}
.login-box h1 { font-size: 22px; margin: 0 0 6px; }
.login-box .sub { color: var(--muted); font-size: 13.5px; margin: 0 0 24px; }
.tabs { display: flex; gap: 6px; background: var(--bg-soft); padding: 4px; border-radius: 10px; margin-bottom: 20px; }
.tabs button {
  flex: 1; padding: 8px; border: 0; border-radius: 7px; background: transparent;
  color: var(--muted); font-size: 13.5px; cursor: pointer; font-family: inherit;
}
.tabs button.on { background: var(--surface-2); color: var(--text); font-weight: 600; }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 10px 12px; border-radius: var(--radius-sm);
  background: var(--bg-soft); border: 1px solid var(--border-solid); color: var(--text);
  font-size: 14px; font-family: inherit; outline: none; transition: border-color .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 78px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }

.panel { border: 1px solid var(--border-solid); border-radius: var(--radius); background: var(--surface); margin-bottom: 20px; overflow: hidden; }
.panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid var(--border-solid); background: var(--bg-soft);
}
.panel-head h3 { margin: 0; font-size: 16px; font-weight: 700; }
.panel-body { padding: 20px; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 22px; }
.stat { padding: 18px; border-radius: var(--radius); border: 1px solid var(--border-solid); background: var(--surface); }
.stat .n { font-size: 26px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .l { font-size: 13px; color: var(--muted); }

table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--border-solid); }
th { color: var(--muted); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .5px; }
tbody tr:hover { background: var(--tint); }
td .ops { display: flex; gap: 6px; }

.admin-bar {
  display: flex; align-items: center; gap: 14px; padding: 14px 20px;
  border: 1px solid var(--border-solid); border-radius: var(--radius);
  background: var(--surface); margin-bottom: 22px; flex-wrap: wrap;
}
.admin-bar .who { font-size: 13.5px; color: var(--muted); }
.admin-bar .who b { color: var(--text); font-weight: 600; }
.admin-bar .spacer { margin-left: auto; }

/* 弹窗 */
.modal-mask {
  position: fixed; inset: 0; background: var(--mask); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; z-index: 100; padding: 20px;
}
.modal-mask.show { display: flex; }
.modal {
  width: 100%; max-width: 560px; max-height: 88vh; overflow: auto;
  background: var(--surface); border: 1px solid var(--border-solid); border-radius: 16px; padding: 26px;
}
.modal h3 { margin: 0 0 18px; font-size: 18px; }
.modal-foot { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; }

/* 提示 */
.toast-wrap { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast {
  padding: 12px 18px; border-radius: var(--radius-sm); font-size: 14px;
  background: var(--surface-2); border: 1px solid var(--border-solid); box-shadow: var(--shadow);
  animation: slideIn .22s ease;
}
.toast.ok { border-color: var(--ok); color: var(--ok-text); }
.toast.err { border-color: var(--danger-line); color: var(--danger); }
@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

.empty { text-align: center; padding: 50px 20px; color: var(--muted-dim); font-size: 14px; }
.skeleton { height: 120px; border-radius: var(--radius); background: linear-gradient(90deg, var(--surface) 25%, var(--skeleton-2) 50%, var(--surface) 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.hidden { display: none !important; }

/* ---------- 拖拽上传区 ---------- */
.dropzone {
  border: 2px dashed var(--accent-line);
  border-radius: var(--radius);
  background: var(--accent-soft);
  padding: 22px 18px;
  text-align: center;
  cursor: pointer;
  transition: border-color .18s, background .18s, transform .18s;
}
.dropzone:hover { border-color: var(--accent); }
.dropzone.over {
  border-color: var(--accent);
  background: var(--tint-strong);
  transform: scale(1.01);
}
.dz-icon { font-size: 30px; line-height: 1; margin-bottom: 8px; }
.dz-text { font-size: 14px; color: var(--text); }
.dz-link { color: var(--accent-text); font-weight: 700; text-decoration: underline; }
.dz-tip { margin-top: 8px; font-size: 12px; color: var(--muted-dim); }
.dz-file {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border-solid);
  border-radius: var(--radius-sm); padding: 10px 12px; text-align: left;
}
.dz-name { flex: 1; font-size: 13.5px; font-weight: 600; word-break: break-all; }
.dz-size { font-size: 12px; color: var(--muted-dim); white-space: nowrap; }
.dz-bar {
  margin-top: 12px; height: 6px; border-radius: 99px;
  background: var(--tint-strong); overflow: hidden;
}
.dz-bar > div {
  height: 100%; width: 0%; border-radius: 99px;
  background: var(--grad); transition: width .2s ease;
}
.dz-status { margin-top: 10px; font-size: 12.5px; color: var(--accent-text); }
.dz-current { margin-top: 8px; font-size: 12.5px; color: var(--muted-dim); }
.dz-current b { color: var(--ok-text); }

/* ---------- 首页语音频道入口 ---------- */
.voice-entry {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  padding: 26px 28px; border-radius: var(--radius);
  border: 1px solid var(--accent-line);
  background: linear-gradient(120deg, var(--accent-soft) 0%, var(--surface) 70%);
}
.ve-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; color: var(--accent-text);
  background: var(--surface); border: 1px solid var(--accent-line);
  border-radius: 99px; padding: 4px 12px; margin-bottom: 12px;
}
.ve-left h3 { margin: 0 0 8px; font-size: 22px; }
.ve-left p { margin: 0 0 14px; font-size: 14px; color: var(--muted); max-width: 520px; line-height: 1.7; }
.ve-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.ve-right { text-align: center; }
.ve-tip { margin: 10px 0 0; font-size: 12px; color: var(--muted-dim); }

/* ---------- 语音频道 ---------- */
.voice-gate { display: flex; justify-content: center; }
.gate-card {
  width: 100%; max-width: 420px;
  background: var(--surface); border: 1px solid var(--border-solid);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 28px 26px; text-align: center;
}
.gate-icon { font-size: 40px; line-height: 1; margin-bottom: 10px; }
.gate-card h3 { margin: 0 0 6px; font-size: 20px; }
.gate-card .sub { margin: 0 0 18px; font-size: 13.5px; color: var(--muted-dim); }
.gate-card .field { text-align: left; margin-bottom: 14px; }
.gate-tip { margin: 14px 0 0; font-size: 12px; color: var(--muted-dim); line-height: 1.6; }

.voice-room {
  background: var(--surface); border: 1px solid var(--border-solid);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.room-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--border-solid);
  background: var(--bg-soft);
}
.room-title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }
.room-stat { font-size: 13px; color: var(--muted-dim); }
.room-stat b { color: var(--accent-text); font-size: 16px; }
.live-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, .6); animation: pulse 1.8s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.quality-bar {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 14px 20px; border-bottom: 1px solid var(--border-solid);
}
.peer-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px; padding: 20px;
}
.peer-card {
  background: var(--bg-soft); border: 1px solid var(--border-solid);
  border-radius: var(--radius-sm); padding: 16px 14px; text-align: center;
}
.peer-card.self { border-color: var(--accent-line); background: var(--accent-soft); }
.peer-avatar {
  width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad); color: var(--on-accent);
  font-size: 18px; font-weight: 700;
}
.peer-name { font-size: 13.5px; font-weight: 600; word-break: break-all; }
.peer-state { margin-top: 4px; font-size: 12px; color: var(--muted-dim); }
.level {
  margin-top: 10px; height: 5px; border-radius: 99px;
  background: var(--tint-strong); overflow: hidden;
}
.level > div {
  height: 100%; width: 0%; border-radius: 99px;
  background: var(--grad); transition: width .12s linear;
}
.device-bar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 14px 20px; border-bottom: 1px solid var(--border-solid);
}
.device-bar select {
  padding: 7px 10px; border-radius: var(--radius-sm); font-size: 13px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border-solid); max-width: 220px;
}
.dev-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.dev-note { font-size: 12px; color: var(--muted-dim); }
.room-controls {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 16px 20px; border-top: 1px solid var(--border-solid); background: var(--bg-soft);
}
.vol-wrap { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.vol-wrap input { width: 130px; accent-color: var(--accent); }
.room-tip { margin: 0; padding: 0 20px 20px; font-size: 12px; color: var(--muted-dim); line-height: 1.7; }
/* 注意：远端音频元素不能放进 display:none 容器，部分浏览器会暂停播放，
   改为零尺寸可视容器（<audio> 无 controls 时本身不渲染任何东西） */
.audio-box { position: absolute; width: 0; height: 0; overflow: hidden; opacity: 0; pointer-events: none; }

/* ---------- 语音：门禁音质设置 ---------- */
.gate-audio-box {
  margin-top: 14px; padding: 14px; border: 1px solid var(--border-solid);
  border-radius: 12px; background: var(--bg-soft);
}
.gate-audio-title { font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 10px; letter-spacing: .4px; }
.gate-audio-box .field { margin-bottom: 10px; }
.gate-audio-box .field label { font-size: 12px; }
.gate-audio-box .gate-tip { margin: 8px 0 0; font-size: 11.5px; line-height: 1.65; }
.chk-line {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 4px;
  font-size: 12.5px; color: var(--muted); cursor: pointer; user-select: none;
}
.chk-line input { width: 15px; height: 15px; accent-color: var(--accent); cursor: pointer; }

/* ---------- 语音：提示条 ---------- */
.banner-tip {
  margin: 12px 20px 0; padding: 11px 14px; border-radius: 10px;
  background: rgba(245, 158, 11, .12); border: 1px solid rgba(245, 158, 11, .35);
  color: var(--text); font-size: 12.5px; line-height: 1.7;
}
.banner-tip .btn { margin-left: 6px; }
.chip.warn { color: #b45309; border-color: rgba(180, 83, 9, .4); background: rgba(245, 158, 11, .1); }

/* ---------- 语音：诊断面板 ---------- */
.diag-panel { margin: 0 20px 18px; padding: 14px; border: 1px solid var(--border-solid); border-radius: 12px; background: var(--bg-soft); }
.diag-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.diag-head h4 { margin: 0; font-size: 13px; color: var(--muted); }
.diag-box {
  margin: 0; padding: 12px; border-radius: 8px; background: var(--bg); border: 1px solid var(--border-solid);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px; line-height: 1.75; color: var(--muted);
  white-space: pre-wrap; word-break: break-all; max-height: 220px; overflow: auto;
}
.log-box { margin-top: 8px; max-height: 130px; color: var(--muted-dim); font-size: 11px; }

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 66px; left: 0; right: 0; background: var(--bg-soft); padding: 16px 24px; border-bottom: 1px solid var(--border-solid); }
  .nav-toggle { display: block; }
  .hero { padding: 56px 0 40px; }
  .dl-row { flex-wrap: wrap; }
  .dl-actions { width: 100%; flex-direction: row; align-items: center; }
  .field-row, .field-row-3 { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .theme-panel { width: calc(100vw - 36px); max-width: 268px; }
}

/* ============================================================
   Liquid Glass 改版（v13）· 参考 GlassSurface 组件
   —— 追加区块，覆盖上面的平面样式；配合 assets/js/glass.js 使用
   ============================================================ */

/* ---------- 玻璃变量：浅色 ---------- */
:root {
  --glass-bg: rgba(255, 255, 255, .40);
  --glass-bg-strong: rgba(255, 255, 255, .58);
  --glass-border: rgba(255, 255, 255, .70);
  --glass-edge: rgba(20, 22, 40, .09);
  --glass-blur: 15px;
  --glass-shadow: 0 20px 45px -26px rgba(20, 22, 40, .28);
  --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, .65);
  --orb-o: .5;
}

/* ---------- 玻璃变量：深色 ---------- */
[data-theme="dark"] {
  --glass-bg: rgba(24, 24, 38, .38);
  --glass-bg-strong: rgba(24, 24, 38, .60);
  --glass-border: rgba(255, 255, 255, .12);
  --glass-edge: rgba(0, 0, 0, .45);
  --glass-blur: 17px;
  --glass-shadow: 0 22px 50px -22px rgba(0, 0, 0, .7);
  --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, .10);
  --orb-o: .55;
}

html { background: var(--bg); }
body { background: transparent; }

/* ---------- 背景光斑（玻璃折射的"内容源"） ---------- */
.bg-orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-orbs i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: var(--orb-o); will-change: transform; }
.bg-orbs i:nth-child(1) {
  width: 620px; height: 620px; left: -160px; top: -180px;
  background: radial-gradient(circle at 35% 35%, var(--glow-1), transparent 70%);
  animation: orb1 28s ease-in-out infinite;
}
.bg-orbs i:nth-child(2) {
  width: 520px; height: 520px; right: -140px; top: 12%;
  background: radial-gradient(circle at 60% 40%, var(--glow-2), transparent 70%);
  animation: orb2 34s ease-in-out infinite;
}
.bg-orbs i:nth-child(3) {
  width: 680px; height: 680px; left: 26%; bottom: -320px;
  background: radial-gradient(circle at 50% 50%, var(--glow-1), var(--glow-2) 60%, transparent 78%);
  animation: orb3 40s ease-in-out infinite;
}
@keyframes orb1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(90px,70px) scale(1.12); } }
@keyframes orb2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-70px,110px) scale(.92); } }
@keyframes orb3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-60px,-50px) scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .bg-orbs i { animation: none; } .hero-logo { animation: none; } }

/* ---------- 玻璃面板基座 ----------
 * 大面板（折射组）：本体透明，霜化+着色在 ::before，
 * SVG 边缘折射在 ::after（由 glass.js 注入 --glass-filter；不支持的浏览器自动为 none）。
 */
.card, .dl-row, .panel, .stat, .login-box, .gate-card, .voice-entry, .feature,
.theme-panel, .notice, .dropzone, .admin-bar, .nav-inner, .modal, .voice-room {
  position: relative;
  z-index: 0;
  background: transparent;
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow), var(--glass-highlight);
}
.card::before, .dl-row::before, .panel::before, .stat::before, .login-box::before,
.gate-card::before, .voice-entry::before, .theme-panel::before, .notice::before,
.dropzone::before, .admin-bar::before, .nav-inner::before, .modal::before, .voice-room::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  border-radius: inherit;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.7);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.7);
}
.card::after, .dl-row::after, .panel::after, .stat::after, .login-box::after,
.gate-card::after, .voice-entry::after, .feature::after, .theme-panel::after,
.notice::after, .dropzone::after, .admin-bar::after, .nav-inner::after,
.modal::after, .voice-room::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background: none; opacity: 1; transition: none;
  -webkit-backdrop-filter: var(--glass-filter, none);
  backdrop-filter: var(--glass-filter, none);
}
/* 特殊面板保留各自的色彩倾向 */
.voice-entry::before { background: linear-gradient(120deg, var(--accent-soft), var(--glass-bg) 72%); }
.notice::before, .dropzone::before { background: var(--accent-soft); }

/* ---------- 小元素：轻磨砂 ---------- */
.badge, .toast, .theme-btn, .btn-ghost, .filter, .peer-card, .gate-audio-box,
.diag-panel, .banner-tip, .tabs, .ve-badge {
  -webkit-backdrop-filter: blur(10px) saturate(1.4);
  backdrop-filter: blur(10px) saturate(1.4);
}
.badge, .ve-badge, .tabs { background: var(--glass-bg-strong); }
.toast { background: var(--glass-bg-strong); }
.btn-ghost { background: var(--glass-bg-strong); border-color: var(--glass-edge); }
.peer-card, .gate-audio-box, .diag-panel { background: var(--glass-bg); border-color: var(--glass-edge); }
.theme-btn { background: var(--glass-bg-strong); }
.filter { background: var(--glass-bg); }
.peer-card.self { background: var(--accent-soft); }

/* ---------- 悬浮胶囊导航 ---------- */
.nav {
  position: sticky; top: 14px; z-index: 50;
  background: transparent; border-bottom: 0;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.nav-inner {
  height: 64px; padding: 0 12px 0 18px;
  border-radius: 19px;
  border: 1px solid var(--glass-border);
}
.nav-links a { padding: 6px 10px; border-radius: 9px; }
.nav-links a:hover, .nav-links a.active { background: var(--tint); }
.nav-toggle { background: var(--glass-bg-strong); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* ---------- 新 Logo ---------- */
.logo-mark {
  width: 38px; height: 38px; border-radius: 11px; object-fit: cover;
  background: #000; border: 1px solid var(--glass-border);
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .55);
}
.hero-logo {
  width: 106px; height: 106px; border-radius: 26px; object-fit: cover;
  background: #000; border: 1px solid var(--glass-border);
  box-shadow: 0 26px 60px -22px rgba(0, 0, 0, .5), var(--glass-highlight);
  margin-bottom: 24px; display: block;
  animation: heroFloat 6s ease-in-out infinite;
}
@keyframes heroFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- 卡片与列表 ---------- */
.card { overflow: hidden; }
.card:hover { box-shadow: 0 26px 55px -24px rgba(20, 22, 40, .38), var(--glass-highlight); }
.card-icon { background: var(--glass-bg-strong); border-color: var(--glass-border); }
.stat .n, .hero h1 .grad { filter: drop-shadow(0 4px 14px var(--accent-shadow)); }

/* ---------- 后台 / 表单 ---------- */
.panel { overflow: hidden; }
.panel-head { background: var(--tint); }
.field input, .field textarea, .field select, .device-bar select {
  background: var(--tint);
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.dz-file { background: var(--glass-bg-strong); }
.diag-box { background: var(--tint); }

/* ---------- 语音房间 ---------- */
.room-head, .room-controls, .quality-bar, .device-bar { background: transparent; }
.room-head, .room-controls { background: var(--tint); }

/* ---------- 移动端适配 ---------- */
@media (max-width: 720px) {
  .nav { top: 10px; }
  .nav-links.open {
    top: 74px; border: 1px solid var(--glass-border); border-radius: 16px;
    background: var(--glass-bg-strong);
    -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6);
    box-shadow: var(--glass-shadow);
  }
  .hero-logo { width: 88px; height: 88px; border-radius: 22px; }
}

/* ============================================================
   v14 · 极简高级（Minimal Editorial）
   废弃玻璃拟态：关闭 v13 的折射层，改为暗色摄影首屏 +
   超大字排版 + 发丝分割线 + 大留白。功能与结构完全保留。
   ============================================================ */

/* 关闭液态玻璃层（保留变量以免其他引用报错） */
.card::before, .dl-row::before, .panel::before, .stat::before, .login-box::before,
.gate-card::before, .voice-entry::before, .feature::before, .theme-panel::before,
.notice::before, .dropzone::before, .admin-bar::before, .nav-inner::before,
.modal::before, .voice-room::before,
.card::after, .dl-row::after, .panel::after, .stat::after, .login-box::after,
.gate-card::after, .voice-entry::after, .feature::after, .theme-panel::after,
.notice::after, .dropzone::after, .admin-bar::after, .nav-inner::after,
.modal::after, .voice-room::after { display: none !important; }

:root {
  --border-solid: rgba(20, 20, 26, .12);
  --hair: rgba(20, 20, 26, .10);
  --hair-2: rgba(20, 20, 26, .05);
  --panel: #ffffff;
  --panel-2: #f6f6f8;
  --muted-2: #6c6c78;
  --radius: 6px;
  --pad: 104px;
  --kicker: #8a8a96;
}
[data-theme="dark"] {
  --bg: #08080a;
  --bg-soft: #0d0d10;
  --surface: #0e0e12;
  --surface-2: #15151a;
  --border-solid: rgba(255, 255, 255, .10);
  --hair: rgba(255, 255, 255, .10);
  --hair-2: rgba(255, 255, 255, .05);
  --text: #f2f2f4;
  --muted: #9a9aa6;
  --muted-dim: #71717e;
  --panel: #0e0e12;
  --panel-2: #141419;
  --muted-2: #7c7c88;
  --kicker: #7a7a86;
  --nav-bg: rgba(8, 8, 10, .72);
  --shadow: 0 30px 60px -40px rgba(0, 0, 0, .9);
}

html { background: var(--bg); }
body { background: var(--bg); }
.bg-orbs { display: none !important; }
.container { max-width: 1240px; }

/* ---------- 排版基调 ---------- */
h1, h2, h3, h4 { letter-spacing: -.02em; }
.kicker, .eyebrow {
  display: block; font-size: 11px; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--kicker); margin: 0 0 18px;
}
.section { padding: var(--pad) 0; }
.section-head { margin-bottom: 46px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; margin: 0 0 12px; }
.section-head p { color: var(--muted); font-size: 15px; max-width: 560px; }
.section-head .eyebrow { margin-bottom: 14px; }

/* ---------- 极简导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--hair-2);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.nav-inner {
  height: 72px; padding: 0; border-radius: 0;
  border: 0; box-shadow: none; background: transparent;
}
.logo { font-size: 16px; letter-spacing: .04em; gap: 12px; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 4px;
  background: none; border: 0; box-shadow: none;
}
.logo small { font-size: 10px; letter-spacing: .28em; }
.nav-links { gap: 4px; }
.nav-links a {
  font-size: 12.5px; letter-spacing: .12em; color: var(--muted);
  padding: 8px 14px; border-radius: 0; background: none;
}
.nav-links a:hover { color: var(--text); background: none; }
.nav-links a.active { color: var(--text); background: none; position: relative; }
.nav-links a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 0;
  height: 1px; background: var(--text);
}
.nav-toggle { border-radius: 4px; }

/* 首页：导航与暗色首屏一体，滚动后仍为实色暗条 */
body.home .nav {
  background: #050507;
  border-bottom: 0; backdrop-filter: none; -webkit-backdrop-filter: none;
}
body.home .nav .logo, body.home .nav-links a { color: rgba(255, 255, 255, .82); }
body.home .nav .logo small { color: rgba(255, 255, 255, .55); }
body.home .nav-links a:hover, body.home .nav-links a.active { color: #fff; }
body.home .nav-links a.active::after { background: #fff; }
body.home .nav-toggle { color: #fff; border-color: rgba(255, 255, 255, .3); }

/* ---------- 首屏（暗色摄影 + 巨型装饰字） ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; display: flex; align-items: center;
  padding: 120px 0 140px; background: #050507;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: grayscale(1) contrast(1.12) brightness(.72); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #050507 0%, rgba(5, 5, 7, .82) 42%, rgba(5, 5, 7, .35) 100%),
              linear-gradient(180deg, rgba(5, 5, 7, .6) 0%, transparent 30%, rgba(5, 5, 7, .85) 100%);
  pointer-events: none;
}
.hero-ghost {
  position: absolute; right: -.06em; top: 50%; transform: translateY(-50%);
  font-size: 34vw; line-height: .8; font-weight: 800; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .16);
  pointer-events: none; user-select: none;
}
.hero-inner { position: relative; z-index: 2; }
.hero .kicker { color: rgba(255, 255, 255, .62); }
.hero h1 {
  font-size: clamp(38px, 6.4vw, 86px); line-height: 1.04; font-weight: 700;
  margin: 0 0 26px; color: #fff; letter-spacing: -.035em;
}
.hero h1 .grad {
  background: none; -webkit-background-clip: initial; background-clip: initial;
  color: #fff; filter: none;
}
.hero p.lead { color: rgba(255, 255, 255, .68); font-size: 17px; max-width: 520px; margin: 0; line-height: 1.85; }
.hero-actions { margin-top: 44px; gap: 12px; }
.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .28); background: transparent; }
.hero .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.hero .btn-primary { background: #fff; color: #0a0a0c; }
.hero .btn-primary:hover { background: rgba(255, 255, 255, .88); }
.hero-logo {
  width: 132px; height: auto; border-radius: 0; background: none; border: 0;
  box-shadow: none; margin: 0 0 34px; mix-blend-mode: screen; animation: none;
}
.hero-side, .hero-scroll {
  position: absolute; z-index: 2; font-size: 10.5px; letter-spacing: .34em;
  text-transform: uppercase; color: rgba(255, 255, 255, .45);
}
.hero-side { left: 30px; bottom: 46px; writing-mode: vertical-rl; }
.hero-scroll { right: 30px; bottom: 46px; }
.hero .wave span { background: rgba(255, 255, 255, .55); opacity: 1; }
.hero .wave { margin-top: 56px; }

/* ---------- 按钮：直角极简 ---------- */
.btn {
  border-radius: 4px; padding: 13px 24px; font-size: 12.5px;
  letter-spacing: .14em; font-weight: 600; text-transform: uppercase;
  background: var(--panel-2); border-color: var(--hair);
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.btn-ghost { background: transparent; border-color: var(--hair); backdrop-filter: none; }
.btn-primary { background: var(--text); color: var(--bg); border-color: transparent; }
.btn-primary:hover { opacity: .88; }
.btn-danger { background: transparent; }
.btn-sm { padding: 9px 16px; letter-spacing: .1em; }

/* ---------- 卡片：发丝边框、无阴影 ---------- */
.grid { gap: 1px; background: var(--hair-2); border: 1px solid var(--hair-2); grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.card {
  background: var(--bg); border: 0; border-radius: 0; box-shadow: none;
  padding: 34px 32px 30px; overflow: hidden;
}
.card:hover { transform: none; box-shadow: none; background: var(--panel-2); }
.card::after { display: none !important; }
.card-icon {
  border-radius: 4px; background: var(--panel-2); border: 1px solid var(--hair-2);
  width: 42px; height: 42px; font-size: 19px; margin-bottom: 22px;
}
.card h3 { font-size: 19px; margin-bottom: 6px; }
.card .tagline { font-size: 13.5px; margin-bottom: 12px; }
.card .desc { min-height: 46px; margin-bottom: 22px; }
.chip { border-radius: 3px; font-size: 10.5px; letter-spacing: .08em; padding: 4px 9px; }
.card-foot { padding-top: 18px; border-top: 1px solid var(--hair-2); }

.feature, .stat, .panel, .login-box, .gate-card, .voice-entry, .dl-row,
.admin-bar, .dropzone, .modal, .voice-room, .notice, .theme-panel {
  background: var(--panel); border: 1px solid var(--hair);
  border-radius: var(--radius); box-shadow: none;
}
.feature { background: var(--panel); border-radius: 0; padding: 34px 30px; }
.features { gap: 1px; background: var(--hair-2); border: 1px solid var(--hair-2); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.feature .fi { font-size: 20px; margin-bottom: 16px; opacity: .9; }
.feature h4 { font-size: 16px; margin-bottom: 8px; }
.feature p { line-height: 1.8; }

/* ---------- 下载列表 ---------- */
.dl-row { background: var(--panel); border-radius: var(--radius); margin-bottom: -1px; }
.dl-row:hover { transform: none; border-color: var(--accent-line); background: var(--panel-2); }
.dl-row .card-icon { background: var(--panel-2); border-radius: 4px; }
.page-head { padding: 92px 0 34px; border-bottom: 1px solid var(--hair-2); }
.page-head h1 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 700; letter-spacing: -.03em; }
.filters { margin: 30px 0 34px; }
.filter { border-radius: 999px; background: transparent; letter-spacing: .06em; }
.filter.on { background: var(--text); color: var(--bg); }

/* ---------- 语音入口 / 公告 ---------- */
.voice-entry {
  padding: 44px 46px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--hair);
}
.ve-left h3 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.ve-badge { border-radius: 3px; background: transparent; border-color: var(--hair); letter-spacing: .16em; font-size: 10.5px; }
.notice { border-radius: var(--radius); background: var(--panel-2); border-color: var(--hair); color: var(--muted); }
.voice-room, .room-head, .room-controls, .quality-bar, .device-bar { border-radius: 0; }
.room-head, .room-controls { background: var(--panel-2); }
.gate-card, .login-box { border-radius: var(--radius); }
.gate-audio-box, .diag-panel, .peer-card { background: var(--panel-2); border-radius: var(--radius); }

/* ---------- 后台 ---------- */
.admin-wrap { max-width: 1140px; }
.panel { border-radius: var(--radius); }
.panel-head { background: var(--panel-2); border-bottom: 1px solid var(--hair); }
.stat { border-radius: var(--radius); }
.stat .n { font-size: 30px; }
.field input, .field textarea, .field select, .device-bar select {
  background: var(--panel-2); border: 1px solid var(--hair); border-radius: 4px;
}
.field label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--kicker); }
.dropzone { border-radius: var(--radius); background: var(--panel-2); border-style: dashed; }
th { letter-spacing: .18em; font-size: 10.5px; }
.tabs { border-radius: 4px; background: var(--panel-2); }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--hair); padding: 54px 0; }
.footer p, .footer-links { font-size: 12px; letter-spacing: .1em; }
.footer-links a { text-transform: uppercase; }

/* ---------- 主题面板 ---------- */
.theme-panel { border-radius: var(--radius); background: var(--panel); }
.theme-btn { border-radius: 4px; background: var(--panel); }

@media (max-width: 900px) {
  .hero { min-height: auto; padding: 96px 0 108px; }
  .hero-ghost { font-size: 46vw; }
  .hero-side, .hero-scroll { display: none; }
  .grid, .features { border: 0; background: none; }
  .card, .feature { border: 1px solid var(--hair-2); }
  :root { --pad: 72px; }
}

/* ---------- 案例墙（works.html） ---------- */
#caseGrid { border-top: 1px solid var(--hair); }
.case-row {
  display: grid; grid-template-columns: 84px minmax(0,1fr) minmax(220px,340px) 230px;
  gap: 26px; align-items: center; padding: 30px 6px;
  border-bottom: 1px solid var(--hair); transition: background .2s;
}
.case-row:hover { background: var(--hair-2); }
.case-idx-wrap { position: relative; height: 34px; }
.case-idx { font-size: 24px; font-weight: 300; color: var(--muted-dim); letter-spacing: .05em; font-variant-numeric: tabular-nums; }
.case-eq { display: none; position: absolute; left: 2px; top: 0; gap: 3px; height: 30px; align-items: flex-end; }
.case-row.playing .case-idx { display: none; }
.case-row.playing .case-eq { display: inline-flex; }
.case-eq i { width: 3px; background: var(--accent); border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.case-eq i:nth-child(2) { animation-delay: .16s; }
.case-eq i:nth-child(3) { animation-delay: .32s; }
@keyframes eq { 0%,100% { height: 7px; } 50% { height: 27px; } }
.case-info h3 { font-size: 18px; margin: 0 0 5px; letter-spacing: -.01em; }
.case-info p { margin: 0; color: var(--muted-dim); font-size: 13px; line-height: 1.7; }
.case-wave { width: 100%; height: 56px; display: block; }
.case-side { display: flex; align-items: center; gap: 14px; justify-content: flex-end; }
.case-time { font-variant-numeric: tabular-nums; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.case-plays { font-size: 12px; color: var(--muted-dim); white-space: nowrap; }
.case-play {
  width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto;
  border: 1px solid var(--hair); background: transparent; color: var(--text);
  cursor: pointer; display: grid; place-items: center; font-size: 12px;
  transition: background .18s, color .18s, border-color .18s;
}
.case-play:hover { background: var(--text); color: var(--bg); border-color: transparent; }
.case-play:disabled { opacity: .55; cursor: wait; }
.case-row.playing .case-play { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (max-width: 980px) {
  .case-row { grid-template-columns: 56px minmax(0,1fr) 120px; }
  .case-wave { grid-column: 2 / -1; grid-row: 2; }
  .case-side { justify-content: flex-start; }
  .case-plays { display: none; }
}

/* 波形可拖动定位 */
.case-wave { cursor: pointer; touch-action: none; -webkit-user-select: none; user-select: none; outline: none; }
.case-wave:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
.case-row:not(.playing) .case-wave:hover { opacity: .82; }

/* ---------- 老师 / 明星墙 ---------- */
.teacher-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px 26px; border-top: 1px solid var(--hair); padding-top: 30px; margin-top: 4px;
}
.teacher-card { background: none; padding: 0; }
.t-photo {
  position: relative; width: 100%; aspect-ratio: 3 / 4; overflow: hidden;
  background: var(--hair-2); display: grid; place-items: center; margin-bottom: 16px;
  border: 1px solid var(--hair);
}
.t-photo img { width: 100%; height: 100%; object-fit: cover; display: block; animation: fadeIn .35s ease; transition: transform .45s ease; }
.t-photo img[hidden] { display: none; }
.teacher-card:hover .t-photo img { transform: scale(1.035); }
.t-photo.has-img .t-initial { display: none; }
.t-initial { font-size: 34px; font-weight: 300; color: var(--muted-dim); letter-spacing: .04em; }
.t-tag {
  display: inline-block; font-size: 11px; letter-spacing: .12em;
  color: var(--accent); border: 1px solid var(--hair); padding: 3px 8px; margin-bottom: 10px;
}
.t-body h3 { margin: 0 0 4px; font-size: 17px; letter-spacing: -.01em; }
.t-title { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.t-bio { margin: 0; font-size: 13px; line-height: 1.75; color: var(--muted-dim); white-space: pre-wrap; }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@media (max-width: 640px) {
  .teacher-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 16px; }
}


/* ================= v20 商业简约排版 ================= */

/* 首屏品牌行与数据条 */
.hero-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.hero-brand img { width: 40px; height: 40px; object-fit: contain; }
.hero-brand span { display: flex; flex-direction: column; line-height: 1.4; font-size: 15px; font-weight: 600; }
.hero-brand em {
  font-style: normal; font-size: 10px; letter-spacing: .3em;
  color: rgba(255, 255, 255, .55); font-weight: 400;
}

.hero-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
  margin-top: 54px; padding-top: 26px; max-width: 760px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.hstat { display: flex; flex-direction: column; gap: 6px; }
.hstat b {
  font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; letter-spacing: -.02em;
  color: #fff; font-variant-numeric: tabular-nums; line-height: 1;
}
.hstat span { font-size: 12px; letter-spacing: .1em; color: rgba(255, 255, 255, .6); }
@media (max-width: 720px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; margin-top: 40px; }
}

/* 章节标题：主副两侧布局 */
.section-head.split {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.section-head.split > div { min-width: 0; }
.section-head.split .btn { margin-bottom: 4px; flex: 0 0 auto; }

/* 优势：编号式 */
.feature { position: relative; padding-top: 40px; }
.fnum {
  position: absolute; top: 24px; right: 26px;
  font-size: 11px; letter-spacing: .18em; color: var(--muted-dim);
  font-variant-numeric: tabular-nums;
}
.feature h4 { font-size: 17px; margin-bottom: 10px; }
.feature p { line-height: 1.85; }

/* 精选案例列表 */
.fw-list { border-top: 1px solid var(--hair); }
.fw-item {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto 26px;
  gap: 20px; align-items: center; padding: 22px 4px;
  border-bottom: 1px solid var(--hair); text-decoration: none; color: inherit;
  transition: background .2s ease, padding-left .2s ease;
}
.fw-item:hover { background: var(--hair-2); padding-left: 14px; }
.fw-idx { font-size: 12.5px; color: var(--muted-dim); letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.fw-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fw-main b { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.fw-main em { font-style: normal; font-size: 12.5px; color: var(--muted-dim); }
.fw-play { font-size: 12px; color: var(--muted-dim); white-space: nowrap; }
.fw-arrow { text-align: right; color: var(--muted-dim); transition: transform .2s ease, color .2s ease; }
.fw-item:hover .fw-arrow { transform: translateX(5px); color: var(--accent); }
@media (max-width: 720px) {
  .fw-item { grid-template-columns: 38px 1fr; }
  .fw-play, .fw-arrow { display: none; }
}

/* 关于：双栏 */
.about-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: start; }
.about-text h2 { margin: 0 0 18px; }
.about-text p { color: var(--muted); line-height: 1.95; font-size: 15px; margin: 0 0 28px; }
.about-lines { border-top: 1px solid var(--hair); }
.aline {
  display: grid; grid-template-columns: 58px 1fr; gap: 6px 18px;
  padding: 18px 2px; border-bottom: 1px solid var(--hair); align-items: baseline;
}
.aline .ai { font-size: 10.5px; letter-spacing: .18em; color: var(--accent); text-transform: uppercase; }
.aline .at { font-size: 16px; font-weight: 600; }
.aline .ad { grid-column: 2; font-size: 13px; color: var(--muted-dim); }
@media (max-width: 880px) { .about-split { grid-template-columns: 1fr; gap: 38px; } }

/* CTA 条 */
.cta-band { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); background: var(--panel-2); }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; padding: 58px 24px; flex-wrap: wrap;
}
.cta-band h2 { margin: 10px 0 8px; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.02em; }
.cta-band p { margin: 0; color: var(--muted-dim); font-size: 14px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 720px) { .cta-inner { padding: 44px 24px; } }

/* 页脚：多栏 */
.footer { margin-top: 0; }
.footer-top {
  display: grid; grid-template-columns: 1.15fr 2fr; gap: 52px;
  padding-bottom: 46px;
}
.f-brand img { width: 42px; height: 42px; margin-bottom: 14px; }
.f-brand p { color: var(--muted-dim); font-size: 13.5px; line-height: 1.85; max-width: 320px; }
.f-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.f-col { display: flex; flex-direction: column; gap: 13px; }
.f-col h5 {
  margin: 0 0 4px; font-size: 10.5px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted-dim); font-weight: 600;
}
.f-col a { font-size: 13.5px; color: var(--muted); }
.f-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 22px; border-top: 1px solid var(--hair);
  font-size: 12px; color: var(--muted-dim); letter-spacing: .06em;
}
@media (max-width: 880px) {
  .footer-top { grid-template-columns: 1fr; gap: 38px; }
  .f-cols { grid-template-columns: repeat(2, 1fr); }
}

.band-notice { padding-bottom: 0; }

/* v21 · 云端不可用提示条 */
.notice.outage { margin: 18px auto; border-color: rgba(234,179,8,.5); background: rgba(234,179,8,.12); }
