:root {
  --bg: #0b0d0c; --surface: #121614; --surface-2: #181d1a; --line: #242b27; --line-2: #2f3732;
  --text: #e8ede9; --muted: #93a098; --faint: #66726b;
  --accent: #53fc18; --accent-ink: #0b0d0c; --gold: #f5c451; --violet: #b48cff; --danger: #ff6b6b;
  --r: 12px; --r-sm: 8px; --s: 8px;
  --shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 10px 30px rgba(0,0,0,.35);
}
* { box-sizing: border-box; }
html { color-scheme: dark; scrollbar-color: #2f3732 transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 500 16px/1.5 Manrope, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--r-sm);
  border: 1px solid var(--line-2); background: var(--surface-2); font-weight: 700; cursor: pointer; text-decoration: none; color: var(--text); transition: background .15s, border-color .15s, transform .1s; }
.btn:hover { border-color: #3d4740; background: #1e2420; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.primary:hover { background: #6bff38; }
.btn.ghost { background: transparent; }
.btn.small { min-height: 36px; padding: 0 12px; font-size: 14px; }
.btn.danger { color: var(--danger); }

input[type=text], input[type=number], textarea, select { width: 100%; min-height: 44px; padding: 10px 12px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: #0e1110; }
input:focus, textarea:focus { border-color: #4b564f; outline: none; box-shadow: 0 0 0 3px rgba(83,252,24,.12); }
textarea { resize: vertical; min-height: 70px; }
label { display: block; font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }

.switch { position: relative; display: inline-block; width: 44px; height: 26px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: #2a322d; transition: .15s; cursor: pointer; }
.switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #9aa69f; transition: .15s; }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::after { transform: translateX(18px); background: var(--accent-ink); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.muted { color: var(--muted); }
.mark { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.01em; }
.mark svg { flex: none; }
