@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@500;700&family=Inter:wght@400;600&display=swap');
:root {
  --bg: #0b0a0d; --panel: #16131a; --line: #2c2530; --text: #ece8ee; --muted: #9a91a0;
  --red: #e0233f; --red-dim: #5a1420; --ok: #3ddc97;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.45 Inter, system-ui, sans-serif; }
h1, h2 { font-family: 'Chakra Petch', sans-serif; letter-spacing: .02em; margin: 0 0 12px; }
h1 { font-size: 24px; } h2 { font-size: 15px; text-transform: uppercase; color: var(--muted); }
button { font: 600 14px Inter, sans-serif; background: var(--red); color: #fff; border: 0; border-radius: 8px; padding: 10px 16px; cursor: pointer; }
button.ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
button:disabled { opacity: .45; cursor: default; }
input, textarea, select { font: inherit; color: var(--text); background: #0f0d12; border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; width: 100%; }
input:focus, textarea:focus, select:focus, button:focus-visible { outline: 2px solid var(--red); outline-offset: 1px; }
label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.hint { color: var(--muted); font-size: 13px; margin: 0; }
.err { color: #ff6b7f; min-height: 1em; margin: 0; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); display: inline-block; flex: none; }
.dot.on { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
canvas.avatar { display: block; width: 100%; height: 100%; }
