:root {
  --bg: #07090c;
  --panel: #0f1319;
  --panel-2: #161b23;
  --line: #232a35;
  --text: #e8edf3;
  --muted: #8a96a8;
  --live: #ff3b30;
  --audio: #22c55e;
  --accent: #f5b301;
  --radius: 10px;
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-cond: "Barlow Condensed", "Barlow", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
.ico { flex: none; display: block; }

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 12px; border-radius: 8px;
  background: var(--panel-2); border: 1px solid var(--line); color: var(--text);
  cursor: pointer; white-space: nowrap; text-decoration: none; font-weight: 600; font-size: 14px;
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: #1d2430; border-color: #2f3846; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #111; }
.btn.primary:hover { background: #ffc629; }
.btn.danger:hover { background: #3a1414; border-color: #6b2020; color: #ff8b8b; }
.btn.icon { width: 34px; padding: 0; justify-content: center; }
.btn:disabled { opacity: .45; cursor: default; }

#mv-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px);
  background: #1b222c; border: 1px solid var(--line); color: var(--text);
  padding: 10px 16px; border-radius: 10px; font-size: 14px; font-weight: 600;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 1000;
  box-shadow: 0 10px 30px rgba(0,0,0,.5); max-width: calc(100vw - 32px);
}
#mv-toast.show { opacity: 1; transform: translate(-50%, 0); }
#mv-toast.error { border-color: #6b2020; color: #ffb4b4; }
#mv-toast.ok { border-color: #1f5e37; color: #a7f3c4; }
