:root {
  --bg: #090b10;
  --bg-elev: #11151e;
  --bg-card: #161b27;
  --bg-hover: #1d2434;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eef2f8;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --amber: #f59e0b;
  --amber-soft: rgba(245, 158, 11, 0.16);
  --emerald: #10b981;
  --emerald-soft: rgba(16, 185, 129, 0.16);
  --cyan: #38bdf8;
  --cyan-soft: rgba(56, 189, 248, 0.14);
  --rose: #f43f5e;
  --radius: 14px;
  --radius-sm: 10px;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Monaco, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

body.has-player { padding-bottom: 92px; }

.mono { font-family: var(--font-mono); }
.text-amber { color: var(--amber); }
.text-cyan { color: var(--cyan); }

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
}
.bg-glow-1 {
  width: 520px; height: 520px;
  top: -180px; left: -120px;
  background: radial-gradient(circle, #f59e0b 0%, transparent 70%);
}
.bg-glow-2 {
  width: 480px; height: 480px;
  top: 120px; right: -160px;
  background: radial-gradient(circle, #0ea5e9 0%, transparent 70%);
}

.container {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 顶部导航 */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(9, 11, 16, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.brand-mark {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 24px;
  padding: 4px 6px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
}
.brand-mark i {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: var(--amber);
  animation: eqPulse 1.4s ease-in-out infinite;
}
.brand-mark i:nth-child(1) { height: 7px; animation-delay: 0s; }
.brand-mark i:nth-child(2) { height: 15px; animation-delay: 0.2s; }
.brand-mark i:nth-child(3) { height: 10px; animation-delay: 0.4s; background: var(--emerald); }
.brand-mark i:nth-child(4) { height: 13px; animation-delay: 0.6s; }

@keyframes eqPulse {
  0%, 100% { transform: scaleY(0.55); opacity: 0.8; }
  50% { transform: scaleY(1); opacity: 1; }
}

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 17px; letter-spacing: 0.01em; }
.brand-text small { font-size: 11px; color: var(--text-muted); }

.topbar-actions { display: flex; align-items: center; gap: 10px; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.status-pill .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--text-dim);
}
.status-pill.is-online {
  border-color: rgba(16, 185, 129, 0.35);
  background: var(--emerald-soft);
  color: #6ee7b7;
}
.status-pill.is-online .dot {
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.65);
  animation: liveRing 1.8s infinite;
}
.status-pill.is-offline {
  border-color: rgba(244, 63, 94, 0.35);
  background: rgba(244, 63, 94, 0.14);
  color: #fda4af;
}
.status-pill.is-offline .dot { background: var(--rose); }

@keyframes liveRing {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.16s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { background: var(--bg-hover); border-color: var(--border-strong); }
.btn-primary {
  background: var(--amber);
  border-color: var(--amber);
  color: #0b0d12;
  font-weight: 600;
}
.btn-primary:hover { background: #fbbf24; border-color: #fbbf24; }
.btn-mono { font-family: var(--font-mono); font-size: 12.5px; color: #fde68a; border-color: rgba(245, 158, 11, 0.28); }
.btn-ghost { background: transparent; }
.btn-xs { height: 30px; padding: 0 10px; font-size: 12px; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: none;
  font-size: 20px;
  transition: all 0.15s ease;
}
.icon-btn:hover { color: var(--text); background: var(--bg-hover); border-color: var(--border); }

/* 面板 */
.main-content { padding-top: 24px; padding-bottom: 48px; }
.panel {
  background: rgba(17, 21, 30, 0.88);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

/* 实时控制台布局 */
.console-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}
.room-panel { padding: 22px; }

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.room-title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.room-name { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.room-topic { color: var(--text-muted); font-size: 13.5px; margin-top: 4px; }

.tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.tag-open { background: var(--emerald-soft); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.3); }
.tag-rec { background: rgba(244, 63, 94, 0.14); color: #fda4af; border: 1px solid rgba(244, 63, 94, 0.3); }

.latency-badge {
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
}

/* 遥测卡片 */
.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.metric-label { font-size: 12px; color: var(--text-muted); }
.metric-value { font-size: 28px; font-weight: 700; line-height: 1.15; }
.metric-value small { font-size: 15px; color: var(--text-muted); font-weight: 500; margin-left: 3px; }
.metric-sub { font-size: 11px; color: var(--text-dim); }

.slot-leds { display: flex; gap: 5px; margin-top: 6px; }
.slot-led {
  flex: 1;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.slot-led.is-lit {
  background: var(--emerald);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.7);
}

/* 节拍可视化条 */
.beat-strip-wrap {
  background: rgba(9, 11, 16, 0.55);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 20px;
}
.beat-strip-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.beat-strip-title { font-size: 12px; color: var(--text-muted); }
.beat-counter { font-size: 12px; color: var(--amber); }

.beat-strip {
  display: grid;
  grid-template-columns: repeat(16, minmax(0, 1fr));
  gap: 5px;
}
.beat-cell {
  height: 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
  transition: background 0.08s ease, transform 0.08s ease;
}
.beat-cell.is-bar { background: rgba(245, 158, 11, 0.18); }
.beat-cell.is-active {
  background: var(--amber);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.75);
  transform: scaleY(1.25);
}

/* 在线乐手 */
.stage-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.stage-header h2 { font-size: 15px; font-weight: 600; }
.stage-subtitle { font-size: 12px; color: var(--text-dim); }

.users-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.user-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.user-avatar {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: #0b0d12;
  flex-shrink: 0;
}
.user-info { min-width: 0; flex: 1; }
.user-name-row { display: flex; align-items: center; gap: 8px; }
.user-name { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-ip { font-size: 11px; color: var(--text-dim); font-family: var(--font-mono); }

.channel-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.channel-tag {
  font-size: 11.5px;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--cyan-soft);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.empty-stage {
  grid-column: 1 / -1;
  border: 1px dashed var(--border-strong);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  background: rgba(9, 11, 16, 0.35);
}
.empty-stage h3 { font-size: 15px; margin-bottom: 6px; color: var(--text); }
.empty-stage p { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.empty-stage code {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2px 7px;
  border-radius: 6px;
  color: #fde68a;
  font-family: var(--font-mono);
}

/* 右侧栏 */
.side-stack { display: flex; flex-direction: column; gap: 16px; }
.stats-panel, .feed-panel, .tips-panel { padding: 18px; }
.side-title { font-size: 14px; font-weight: 600; margin-bottom: 12px; color: var(--text); }
.side-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.side-head .side-title { margin-bottom: 0; }
.live-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  padding: 2px 7px; border-radius: 999px;
  background: var(--emerald-soft); color: #6ee7b7;
}

.mini-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.mini-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 12px;
  display: flex;
  flex-direction: column;
}
.mini-stat strong { font-size: 20px; color: var(--text); }
.mini-stat span { font-size: 11.5px; color: var(--text-muted); }

.activity-feed {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 200px;
  overflow-y: auto;
}
.activity-feed li {
  font-size: 12.5px;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
  line-height: 1.45;
}
.feed-time { color: var(--text-dim); font-family: var(--font-mono); font-size: 11.5px; flex-shrink: 0; }
.feed-join { color: #6ee7b7; }
.feed-record { color: #fde68a; }
.feed-empty { color: var(--text-dim); font-style: italic; }

.cmd-list { display: flex; flex-direction: column; gap: 8px; }
.cmd-item { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--text-muted); }
.cmd-item code {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: #fde68a;
}

/* 录音库区域 */
.recordings-section { margin-top: 34px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 14px;
}
.section-title { font-size: 21px; font-weight: 700; }
.section-desc { font-size: 13px; color: var(--text-muted); margin-top: 3px; }

.toolbar {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.search-box {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0 12px;
  height: 38px;
  color: var(--text-muted);
}
.search-box:focus-within { border-color: var(--amber); }
.search-box input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 13.5px;
}

.filter-group { display: flex; gap: 6px; }
.chip {
  height: 36px;
  padding: 0 13px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.chip:hover { color: var(--text); }
.chip.is-active {
  background: var(--amber-soft);
  border-color: rgba(245, 158, 11, 0.45);
  color: #fde68a;
  font-weight: 600;
}

.active-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--cyan-soft);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #bae6fd;
  font-size: 12.5px;
}
.active-filter-pill button {
  background: none; border: none; color: inherit; cursor: pointer; font-size: 16px; line-height: 1;
}

.select-input {
  height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 13px;
  outline: none;
}

/* 录音卡片 */
.recordings-list { display: flex; flex-direction: column; gap: 14px; }

.rec-card {
  background: rgba(17, 21, 30, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.rec-card:hover { border-color: var(--border-strong); }
.rec-card.is-playing {
  border-color: rgba(245, 158, 11, 0.55);
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.2), 0 14px 36px rgba(0, 0, 0, 0.35);
}

.rec-top {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.rec-play-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--amber);
  color: #0b0d12;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.15s ease, background 0.15s ease;
}
.rec-play-btn:hover { transform: scale(1.06); background: #fbbf24; }

.rec-info { flex: 1; min-width: 0; }
.rec-title-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}
.rec-title { font-size: 16.5px; font-weight: 650; color: var(--text); }
.rec-time { font-size: 12.5px; color: var(--text-muted); font-family: var(--font-mono); }

.rec-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 5px;
  font-size: 12.5px;
  color: var(--text-muted);
}
.rec-meta span { display: inline-flex; align-items: center; gap: 5px; }

/* 波形画布 */
.waveform-wrap {
  position: relative;
  margin: 14px 0 12px;
  height: 64px;
  border-radius: 10px;
  background: rgba(9, 11, 16, 0.65);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
}
.waveform-canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.waveform-hover-time {
  position: absolute;
  top: 5px;
  transform: translateX(-50%);
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(9, 11, 16, 0.92);
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  color: #fde68a;
  pointer-events: none;
  display: none;
}

.rec-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.participant-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.musician-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.musician-pill:hover { border-color: var(--cyan); color: #bae6fd; }
.musician-dot { width: 7px; height: 7px; border-radius: 50%; }

.rec-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.loading-box, .empty-recs {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
  background: rgba(17, 21, 30, 0.65);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
}
.empty-recs h3 { color: var(--text); font-size: 16px; margin-bottom: 6px; }

.pagination {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}
.page-info { font-size: 13px; color: var(--text-muted); }

/* 吸底播放器 */
.player-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: rgba(13, 17, 25, 0.95);
  backdrop-filter: blur(18px);
  border-top: 1px solid var(--border-strong);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.45);
}
.player-inner {
  height: 78px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}
.player-controls { display: flex; align-items: center; gap: 6px; }
.play-circle {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--amber);
  color: #0b0d12;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.play-circle:hover { background: #fbbf24; }

.player-center { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.player-meta-row { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.player-title { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-sub { font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.player-progress-row { display: flex; align-items: center; gap: 10px; }
.time-label { font-size: 11.5px; color: var(--text-muted); min-width: 40px; }
.scrubber {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  overflow: hidden;
}
.scrubber-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  border-radius: 999px;
}

.player-right { display: flex; align-items: center; gap: 10px; }
.volume-wrap { display: flex; align-items: center; gap: 6px; color: var(--text-muted); }
.volume-wrap input[type="range"] { width: 76px; accent-color: var(--amber); }

/* 弹窗 */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(5, 7, 11, 0.72);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-backdrop[hidden] { display: none; }
.modal-card {
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.modal-wide { max-width: 720px; }
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
.modal-head h3 { font-size: 17px; }
.modal-sub { font-size: 12.5px; color: var(--text-muted); margin-top: 3px; }
.modal-body { padding: 20px; overflow-y: auto; }

.connect-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 18px;
}
.connect-label { display: block; font-size: 11.5px; color: var(--text-muted); }
.connect-addr { font-family: var(--font-mono); font-size: 19px; font-weight: 700; color: #fde68a; }

.guide-steps { display: flex; flex-direction: column; gap: 14px; }
.guide-step { display: flex; gap: 12px; align-items: flex-start; }
.step-num {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--amber-soft);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fde68a;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.guide-step p { font-size: 13px; color: var(--text-muted); margin-top: 3px; }
.guide-step code {
  font-family: var(--font-mono);
  background: var(--bg-card);
  padding: 1px 6px;
  border-radius: 5px;
  color: #fde68a;
}

.timeline-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.timeline-table th, .timeline-table td {
  text-align: left;
  padding: 9px 10px;
  border-bottom: 1px solid var(--border);
}
.timeline-table th { color: var(--text-muted); font-weight: 500; font-size: 12px; }
.timeline-row { cursor: pointer; }
.timeline-row:hover { background: var(--bg-hover); }

.footer {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  color: var(--text-dim);
  font-size: 12.5px;
}
.footer-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.toast {
  position: fixed;
  top: 78px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 95;
  background: #1e293b;
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #fef3c7;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

/* 响应式 */
@media (max-width: 960px) {
  .console-grid { grid-template-columns: 1fr; }
  .telemetry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .topbar-inner { height: auto; padding: 10px 0; flex-wrap: wrap; }
  .users-grid { grid-template-columns: 1fr; }
  .player-inner { grid-template-columns: auto minmax(0, 1fr); height: auto; padding: 12px 16px; }
  .player-right { display: none; }
  .rec-top { gap: 12px; }
  .rec-play-btn { width: 42px; height: 42px; }
}
