/* ============================================================
   AI Live Studio · Control Deck UI
   简洁 + 科技感：近黑底色 / 蓝图网格 / 霓虹强调 / 等宽数据
   ============================================================ */
:root {
  --bg: #04070d;
  --bg-2: #070c16;
  --panel: #0b1220;
  --panel-2: #0e1728;
  --panel-3: #111c30;
  --line: #1b2a44;
  --line-2: #26395c;
  --text: #dbe7f5;
  --text-2: #8fa3c0;
  --text-3: #5d7290;
  --accent: #4f8cff;
  --accent-2: #2f6bff;
  --neon: #38e1ff;
  --ok: #3ddc97;
  --warn: #ffb648;
  --danger: #ff5d6c;
  --mono: "Consolas", "Cascadia Mono", "Courier New", monospace;
  --sans: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }

body {
  font-family: var(--sans);
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(79, 140, 255, 0.10), transparent 60%),
    radial-gradient(900px 420px at -10% 110%, rgba(56, 225, 255, 0.06), transparent 55%),
    linear-gradient(rgba(148, 180, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 180, 255, 0.028) 1px, transparent 1px),
    var(--bg);
  background-size: auto, auto, 44px 44px, 44px 44px, auto;
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* 粒子背景层 */
#fxCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

#app {
  display: flex;
  height: 100vh;
  position: relative;
  z-index: 1;
}

/* ---------- 侧栏 ---------- */
.sider {
  width: 212px;
  flex-shrink: 0;
  background: rgba(7, 12, 22, 0.82);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(8px);
  z-index: 5;
}
.brand {
  display: flex; gap: 11px; align-items: center;
  padding: 18px 16px 14px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.brand::after {
  content: "";
  position: absolute; left: 0; bottom: -1px;
  width: 64px; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.logo {
  width: 34px; height: 34px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-weight: 700; font-size: 13px;
  color: #eaf4ff;
  background: linear-gradient(150deg, rgba(79,140,255,.25), rgba(47,107,255,.08));
  border: 1px solid rgba(79,140,255,.55);
  border-radius: 7px;
  box-shadow: 0 0 14px rgba(79, 140, 255, 0.35), inset 0 0 10px rgba(56,225,255,.10);
}
.brand-name { font-weight: 700; font-size: 14px; letter-spacing: .04em; }
.brand-sub { font-size: 11px; color: var(--text-3); font-family: var(--mono); letter-spacing: .02em; }

.sider nav { flex: 1; padding: 12px 10px; display: flex; flex-direction: column; gap: 3px; overflow-y: auto; }
.nav {
  display: flex; align-items: center; gap: 10px;
  background: none; border: 0; color: var(--text-2);
  text-align: left; padding: 9px 12px; border-radius: 6px;
  cursor: pointer; font-size: 13px; font-family: var(--sans);
  border-left: 2px solid transparent;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}
.nav .idx { font-family: var(--mono); font-size: 10px; color: var(--text-3); letter-spacing: .05em; transition: color .16s; }
.nav:hover { background: rgba(79, 140, 255, 0.07); color: var(--text); transform: translateX(2px); }
.nav:hover .idx { color: var(--neon); }
.nav.active {
  background: linear-gradient(90deg, rgba(79,140,255,.16), rgba(79,140,255,.03));
  color: #fff;
  border-left-color: var(--neon);
  box-shadow: inset 0 0 18px rgba(79, 140, 255, 0.08);
}
.nav.active .idx { color: var(--neon); }

.sider-foot {
  padding: 12px 16px; border-top: 1px solid var(--line);
  font-size: 11px; color: var(--text-3); font-family: var(--mono);
  background: rgba(7, 12, 22, .6);
  cursor: pointer;
}
.sider-foot:hover { color: var(--text-2); }
.sider-foot b { color: var(--text); font-size: 12px; }
.sider-foot .tag { margin-left: 6px; }

/* ---------- 主区 ---------- */
main { flex: 1; display: flex; flex-direction: column; min-width: 0; }

.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 24px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10,16,30,.9), rgba(7,11,20,.75));
  backdrop-filter: blur(6px);
  position: relative; z-index: 4;
}
.topbar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, rgba(79,140,255,.35), transparent 30%, transparent 70%, rgba(79,140,255,.25));
}
.topbar h1 { margin: 0; font-size: 16px; letter-spacing: .06em; font-weight: 700; }
.topbar h1::before {
  content: "SYS//";
  font-family: var(--mono); font-size: 12px; color: var(--neon);
  margin-right: 8px; letter-spacing: .1em;
}
.topbar p { margin: 3px 0 0; color: var(--text-3); font-size: 11px; font-family: var(--mono); letter-spacing: .03em; }
.top-actions { display: flex; gap: 8px; align-items: center; }

/* ---------- Tab 内容 ---------- */
.tab { display: none; padding: 18px 24px 28px; overflow-y: auto; flex: 1; scrollbar-width: thin; }
.tab.active { display: block; }

/* 进入动画 */
.tab.active > * { animation: rise .32s ease both; }
.tab.active > *:nth-child(2) { animation-delay: .05s; }
.tab.active > *:nth-child(3) { animation-delay: .10s; }
.tab.active > *:nth-child(4) { animation-delay: .15s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 按钮 ---------- */
.btn {
  padding: 7px 14px; border-radius: 6px;
  border: 1px solid var(--line-2);
  background: var(--panel-3);
  color: var(--text); cursor: pointer;
  font-size: 12.5px; font-family: var(--mono); letter-spacing: .04em;
  transition: border-color .16s ease, box-shadow .16s ease, transform .12s ease, background .16s ease;
}
.btn:hover { border-color: var(--accent); box-shadow: 0 0 0 1px rgba(79,140,255,.28), 0 0 14px rgba(79,140,255,.15); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent; color: #fff; font-weight: 600;
  box-shadow: 0 0 16px rgba(79, 140, 255, 0.28);
}
.btn.primary:hover { box-shadow: 0 0 22px rgba(79, 140, 255, 0.45); border-color: transparent; }
.btn.danger { background: rgba(255, 93, 108, .12); border-color: rgba(255,93,108,.5); color: #ff9aa5; }
.btn.danger:hover { border-color: var(--danger); box-shadow: 0 0 14px rgba(255,93,108,.25); }
.btn.ghost { background: none; border-color: transparent; color: var(--text-3); }
.btn.ghost:hover { color: var(--text); border-color: var(--line-2); box-shadow: none; transform: none; }
.btn.mini { padding: 3px 9px; font-size: 11px; }
.btn.busy { opacity: .55; cursor: wait; }
.btn-row { display: flex; gap: 8px; margin: 10px 0; flex-wrap: wrap; }

/* ---------- 卡片 / 列表项 ---------- */
.card {
  background: linear-gradient(180deg, rgba(14, 23, 40, .85), rgba(10, 16, 28, .9));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px; margin-bottom: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
  position: relative;
}
.card::before, .card::after {
  content: ""; position: absolute; width: 10px; height: 10px; pointer-events: none;
  border: 1px solid rgba(79, 140, 255, .4);
}
.card::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.card::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.card h3, .row-between h3 {
  margin: 0 0 10px; font-size: 13.5px; font-weight: 700; letter-spacing: .05em;
  display: flex; align-items: center; gap: 8px;
}
.card h3::before, .row-between h3::before {
  content: "▍"; color: var(--neon); font-size: 12px; text-shadow: 0 0 8px rgba(56,225,255,.8);
}
.card h4 { margin: 10px 0 6px; font-size: 12.5px; color: var(--text-2); letter-spacing: .03em; }

.item {
  background: rgba(13, 21, 36, .8);
  border: 1px solid var(--line);
  border-left: 2px solid rgba(79, 140, 255, .55);
  border-radius: 6px;
  padding: 11px 14px; margin-bottom: 9px;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.item:hover { border-color: var(--line-2); background: rgba(16, 26, 44, .9); box-shadow: 0 0 14px rgba(79,140,255,.08); }
.item h4 { margin: 0; font-size: 14px; letter-spacing: .02em; }
.item p { margin: 6px 0; color: var(--text-2); }
.item .meta { font-size: 11px; color: var(--text-3); font-family: var(--mono); letter-spacing: .01em; }
.actions { display: flex; gap: 8px; margin-top: 9px; flex-wrap: wrap; }
.card-list { display: flex; flex-direction: column; gap: 0; }

.row-between { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.row-between h3 { margin-bottom: 0; }
.row-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* ---------- 表单 ---------- */
input, select, textarea {
  width: 100%;
  background: rgba(5, 9, 17, .85);
  border: 1px solid var(--line-2);
  color: var(--text);
  border-radius: 6px;
  padding: 7px 10px; margin: 5px 0;
  font-size: 12.5px; font-family: var(--sans);
  transition: border-color .16s ease, box-shadow .16s ease;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px rgba(79,140,255,.3), 0 0 12px rgba(79,140,255,.12); }
select option { background: var(--panel-2); color: var(--text); }
label { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-2); margin-right: 12px; cursor: pointer; }
label input { width: auto; margin: 0; accent-color: var(--accent); }
code { font-family: var(--mono); background: rgba(56, 225, 255, .08); border: 1px solid rgba(56,225,255,.18); color: var(--neon); padding: 0 5px; border-radius: 4px; font-size: 12px; }
pre { font-family: var(--mono); }
hr { border: 0; border-top: 1px solid var(--line); margin: 14px 0; }

.form-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.form-row input, .form-row select { margin: 4px 0; }
.speed-label { font-size: 11px; color: var(--text-3); white-space: nowrap; font-family: var(--mono); }
.speed-select {
  width: auto; min-width: 0; max-width: 100%;
  background: var(--panel-3); color: var(--text);
  border: 1px solid var(--line-2); border-radius: 5px;
  font-size: 11.5px; font-family: var(--mono);
  padding: 2px 6px; outline: none; cursor: pointer;
}
.speed-select:focus { border-color: var(--accent); box-shadow: 0 0 0 1px rgba(79,140,255,.3); }
.speed-input { width: 64px; background: var(--panel-3); color: var(--text); border: 1px solid var(--line-2); border-radius: 5px; font-size: 11.5px; font-family: var(--mono); padding: 2px 6px; outline: none; }
.desk-voice-row { flex-wrap: wrap; }
.desk-voice-row #deskVoiceSelect { flex: 1 1 140px; min-width: 0; }
.desk-voice-row #deskVoiceSpeed { flex: 0 0 auto; }
.clip { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.settings-grid { display: flex; flex-wrap: wrap; gap: 6px 4px; margin: 8px 0; }
.form-block { border: 1px dashed var(--line-2); border-radius: 6px; padding: 10px 12px; margin-bottom: 10px; background: rgba(5,9,17,.35); }
.form-block h4 { margin-top: 0; }
.accordion summary { cursor: pointer; font-weight: 600; color: var(--neon); padding: 4px 0; font-size: 13px; letter-spacing: .02em; }
.accordion summary::marker { color: var(--text-3); }

/* ---------- 标签 / 状态 ---------- */
.tag {
  font-size: 10.5px; padding: 2px 9px; border-radius: 3px;
  background: rgba(79, 140, 255, .10);
  color: var(--text-2);
  border: 1px solid rgba(79, 140, 255, .22);
  font-family: var(--mono); letter-spacing: .04em;
}
.tag.live { background: rgba(61, 220, 151, .10); color: var(--ok); border-color: rgba(61,220,151,.35); }
.tag.idle { background: rgba(255, 182, 72, .08); color: var(--warn); border-color: rgba(255,182,72,.3); }
.tag-admin { background: rgba(56, 225, 255, .10); color: var(--neon); border-color: rgba(56,225,255,.4); }
.tag-off { background: rgba(255, 93, 108, .10); color: var(--danger); border-color: rgba(255,93,108,.4); }
.tag-ok { background: rgba(61, 220, 151, .10); color: var(--ok); border-color: rgba(61,220,151,.35); }

/* ---------- 账号 / 管理后台 ---------- */
.kv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px 14px; margin: 10px 0; }
.kv { display: flex; justify-content: space-between; gap: 10px; padding: 6px 10px; background: rgba(5,9,17,.4); border: 1px solid var(--line); border-radius: 5px; font-size: 12px; }
.kv span { color: var(--text-3); flex-shrink: 0; }
.kv b { color: var(--text); font-family: var(--mono); font-weight: 600; text-align: right; }
.mono { font-family: var(--mono); letter-spacing: .04em; }

/* ---------- 登录 / 注册 ---------- */
.auth-tabs { display: flex; gap: 6px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.auth-tab {
  flex: 1; background: none; border: 1px solid transparent; border-bottom: none;
  color: var(--text-3); padding: 9px 0; cursor: pointer; font-size: 13px;
  letter-spacing: .08em; font-family: var(--sans); border-radius: 5px 5px 0 0;
}
.auth-tab:hover { color: var(--text); }
.auth-tab.active {
  color: var(--neon); border-color: var(--line);
  background: rgba(79, 140, 255, .07);
  box-shadow: inset 0 -2px 0 var(--neon);
}

.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; padding: 4px 11px; border-radius: 4px;
  background: var(--panel-3);
  color: var(--text-2);
  border: 1px solid var(--line-2);
  font-family: var(--mono); letter-spacing: .03em;
}
.pill::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: currentColor; opacity: .9;
  box-shadow: 0 0 8px currentColor;
}
.pill.on::before { animation: pulse 1.6s ease infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}
#duckPill { color: var(--warn); }
#duckPill::before { animation: pulse .8s ease infinite; }

.badge {
  display: inline-block;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  color: var(--neon);
  border: 1px solid rgba(56, 225, 255, .4);
  background: rgba(56, 225, 255, .07);
  padding: 3px 10px; border-radius: 3px;
  box-shadow: 0 0 14px rgba(56, 225, 255, .18);
  margin-bottom: 10px;
}

/* ---------- Hero ---------- */
.hero {
  display: flex; gap: 22px; align-items: center;
  background:
    linear-gradient(120deg, rgba(79,140,255,.12), rgba(10,16,30,.5) 45%, rgba(56,225,255,.06)),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px; padding: 24px; margin-bottom: 16px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(148,180,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,180,255,.05) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(120deg, rgba(0,0,0,.8), transparent 70%);
}
.hero h2 { margin: 6px 0; font-size: 19px; letter-spacing: .02em; position: relative; }
.hero p { color: var(--text-2); margin: 6px 0; position: relative; }
.hero code { position: relative; }
.hero-actions { display: flex; gap: 10px; margin-top: 12px; position: relative; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; min-width: 250px; position: relative; }
.stat {
  background: rgba(8, 13, 24, .8);
  border: 1px solid var(--line);
  border-radius: 6px; padding: 12px 8px; text-align: center;
  transition: border-color .16s ease, transform .16s ease;
}
.stat:hover { border-color: rgba(56,225,255,.5); transform: translateY(-2px); }
.stat .n { font-size: 21px; font-weight: 700; color: var(--neon); font-family: var(--mono); text-shadow: 0 0 12px rgba(56,225,255,.5); }
.stat .l { font-size: 11px; color: var(--text-3); font-family: var(--mono); letter-spacing: .05em; }

.grid3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); gap: 10px; }
.feature {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 7px; padding: 13px 14px;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.feature:hover { border-color: var(--line-2); box-shadow: 0 0 16px rgba(79,140,255,.1); transform: translateY(-2px); }
.feature .t { font-weight: 700; margin-bottom: 4px; font-size: 13px; }
.feature .d { font-size: 11.5px; color: var(--text-3); }

/* ---------- 日志 / 输出 ---------- */
.log {
  min-height: 60px; max-height: 200px; overflow-y: auto;
  background: rgba(4, 7, 13, .9);
  border: 1px solid var(--line);
  border-radius: 6px; padding: 8px 10px; margin-top: 8px;
  font-size: 11.5px; font-family: var(--mono);
  scrollbar-width: thin;
}
.line { padding: 3px 0; border-bottom: 1px dashed rgba(38, 57, 92, .5); color: var(--text-2); }
.line:last-child { border-bottom: 0; }
.out {
  background: rgba(4, 7, 13, .9);
  border: 1px solid var(--line);
  border-radius: 6px; padding: 10px 12px;
  font-size: 11.5px; white-space: pre-wrap;
  color: var(--neon); min-height: 40px;
  font-family: var(--mono); line-height: 1.6;
}
.hint { font-size: 11.5px; color: var(--text-3); margin: 6px 0; }

/* ---------- 播放器 ---------- */
.now-playing {
  background: rgba(4, 7, 13, .85);
  border: 1px solid var(--line);
  border-left: 2px solid var(--neon);
  border-radius: 6px; padding: 10px 12px; margin: 8px 0;
  color: var(--text-2); font-size: 12.5px; min-height: 42px;
  font-family: var(--mono);
}
.player-card audio { width: 100%; margin-top: 6px; }
.queue-list { display: flex; flex-direction: column; gap: 6px; max-height: 360px; overflow-y: auto; }

.float-player {
  position: fixed; right: 18px; bottom: 18px; width: 306px;
  background: rgba(8, 13, 24, .94);
  border: 1px solid rgba(79, 140, 255, .45);
  border-radius: 8px; padding: 11px 13px;
  box-shadow: 0 10px 34px rgba(0, 0, 0, .6), 0 0 22px rgba(79, 140, 255, .14);
  z-index: 40;
  backdrop-filter: blur(8px);
}
.float-player.hidden { display: none; }
.float-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 7px; }
.float-head strong { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--neon); }
.float-head strong::before { content: "● "; color: var(--ok); text-shadow: 0 0 8px var(--ok); }
.float-text { font-size: 12px; color: var(--text-2); max-height: 60px; overflow-y: auto; line-height: 1.5; }
.float-chan { display: flex; gap: 8px; align-items: flex-start; padding: 2px 0; }
.float-chan .fc-label { flex-shrink: 0; font-family: var(--mono); font-size: 10.5px; color: var(--text-3); letter-spacing: .05em; padding-top: 1px; }
.float-chan .float-text { max-height: 34px; }

/* ---------- 弹窗 ---------- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(2, 5, 10, .72);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; z-index: 60;
}
.dialog {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-2);
  border-top: 2px solid var(--accent);
  border-radius: 10px; padding: 18px 20px; width: 340px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, .65), 0 0 30px rgba(79, 140, 255, .1);
  animation: rise .25s ease both;
}
.dialog h3 { margin: 0 0 12px; font-size: 14px; letter-spacing: .05em; }
.dialog .form-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.dialog .form-row input, .dialog .form-row select { flex: 1; min-width: 0; }
.modal { position: fixed; inset: 0; background: rgba(2,5,10,.72); display: flex; align-items: center; justify-content: center; z-index: 100; backdrop-filter: blur(6px); }
.modal.hidden { display: none; }
.modal-box {
  width: 360px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-2);
  border-top: 2px solid var(--accent);
  border-radius: 10px; padding: 20px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, .65), 0 0 30px rgba(79, 140, 255, .1);
}
.modal-box h3 { margin-top: 0; letter-spacing: .05em; }

/* ---------- 布局网格 ---------- */
.desktop-layout, .split, .desk-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.col { display: flex; flex-direction: column; gap: 0; min-width: 0; }

/* ---------- 进度条 ---------- */
.progress { height: 9px; background: rgba(5, 9, 17, .9); border-radius: 5px; overflow: hidden; margin-top: 10px; border: 1px solid var(--line); }
.progress .bar {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--neon));
  box-shadow: 0 0 10px rgba(79, 140, 255, .6);
  transition: width .4s;
}

/* ---------- 滚动条 ---------- */
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #1d2c47; border-radius: 5px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: #2a3d61; background-clip: content-box; border: 2px solid transparent; }

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .desk-layout, .split { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .sider { width: 168px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .tab { padding: 14px 16px; }
  .topbar { padding: 11px 16px; }
}
@media (max-width: 620px) {
  .sider { width: 62px; }
  .brand > div:last-child, .sider-foot, .nav .idx { display: none; }
  .nav { justify-content: center; padding: 10px 4px; font-size: 0; }
  .nav::after { content: "·"; font-size: 18px; color: var(--text-3); }
  .nav.active::after { color: var(--neon); }
}
