:root {
  --bg: #0A120E; --panel: #0F2018; --line: #1F3A2D; --line2: #2B4A3B;
  --ink: #F4F1E8; --muted: #9DB3A7; --mint: #34D399; --mint-ink: #06140E;
  --purple: #6D4FD6; --red: #FF8FA3; --redbg: #3D1420; --live: #5BD68A; --video: #6FB7FF;
  --glass: rgba(8,16,12,0.78);
  --display: "Sora", "Segoe UI", system-ui, sans-serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--ink); font-family: var(--body); }
body { overscroll-behavior: none; }
button, input, select { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--mint); }
.hidden { display: none !important; }
.display { font-family: var(--display); font-weight: 700; }
.muted { color: var(--muted); }
.brand { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--mint); }

.btn { height: 52px; border-radius: 14px; border: 0; font-weight: 700; font-size: 15px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.btn-primary { background: var(--purple); color: #fff; }
.btn-mint { background: var(--mint); color: var(--mint-ink); }
.btn-outline { background: transparent; color: var(--mint); border: 1.5px solid var(--mint); }
.btn-danger { background: var(--redbg); color: var(--red); border: 1.5px solid var(--red); }
.btn-ghost { background: var(--panel); color: var(--ink); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.icon-btn { width: 44px; height: 44px; border-radius: 22px; border: 0; background: var(--glass); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.icon-btn svg { width: 20px; height: 20px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.input { height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line2); background: var(--panel); color: var(--ink); font-size: 16px; width: 100%; }
.seg { display: inline-flex; padding: 3px; border-radius: 14px; background: var(--bg); gap: 2px; flex-wrap: wrap; }
.seg button { min-width: 44px; height: 40px; padding: 0 12px; border-radius: 11px; border: 0; background: transparent; color: var(--muted); font-weight: 600; font-size: 13px; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); font-weight: 700; }
.switch { width: 56px; height: 32px; border-radius: 16px; border: 0; padding: 3px; background: var(--line2); display: flex; justify-content: flex-start; }
.switch::after { content: ""; width: 26px; height: 26px; border-radius: 50%; background: var(--muted); }
.switch[aria-checked="true"] { background: var(--mint); justify-content: flex-end; }
.switch[aria-checked="true"]::after { background: var(--bg); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--live); display: inline-block; flex-shrink: 0; }
.dot.paused { background: var(--red); }
.dot.off { background: #55655c; }
.toast-wrap { position: fixed; left: 0; right: 0; top: 70px; display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 50; pointer-events: none; }
.toast { padding: 10px 14px; border-radius: 14px; background: var(--mint); color: var(--mint-ink); font-weight: 700; font-size: 13px; max-width: 90vw; text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,.35); }
.toast.warn { background: var(--redbg); color: var(--red); border: 1px solid var(--red); }
.toast.info { background: var(--panel); color: var(--ink); border: 1px solid var(--line2); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
