:root { --bg: #111214; --panel: #1e1f22; --line: #2e3035; --text: #e9eaee; --muted: #9a9ca5; --accent: #ffb627; --bad: #ff5d5d; color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--accent); }
.top { position: sticky; top: 0; z-index: 5; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  padding: 12px max(16px, calc(50% - 480px)); background: rgba(17, 18, 20, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand { display: flex; gap: 8px; align-items: center; font-weight: 700; color: var(--text); text-decoration: none; }
.brand span { color: var(--accent); font-weight: 600; }
.top nav { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--text); }
main { max-width: 960px; margin: 0 auto; padding: 0 16px 80px; }
section { padding-top: 32px; }
.hero h1 { font-size: clamp(26px, 5vw, 38px); margin: 24px 0 8px; }
.hero p { color: var(--muted); max-width: 680px; }
h2 { font-size: 22px; margin: 0 0 14px; }
.muted { color: var(--muted); font-size: 13px; }
code { font: 13px/1.5 ui-monospace, Consolas, monospace; background: #26282c; padding: 1px 5px; border-radius: 5px; word-break: break-word; }
pre { background: #18191c; border: 1px solid var(--line); border-radius: 10px; padding: 14px; overflow-x: auto; }
pre code { background: none; padding: 0; word-break: normal; white-space: pre; }
table { width: 100%; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }
td:first-child { white-space: nowrap; font-weight: 600; }
.steps li { margin-bottom: 6px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin-bottom: 14px; display: grid; gap: 12px; }
.card-head { display: flex; gap: 12px; align-items: center; }
.ava { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #111; overflow: hidden; flex: none; }
.ava img { width: 100%; height: 100%; object-fit: cover; }
.tag { font-size: 10px; background: #5865f2; color: #fff; padding: 1px 5px; border-radius: 4px; vertical-align: 2px; }
label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
label.row { display: flex; align-items: center; gap: 8px; }
input, textarea, select { width: 100%; background: #111214; color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; font: inherit; }
input[type=checkbox] { width: auto; }
.row { display: flex; gap: 8px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.row select { width: auto; min-width: 180px; flex: 1; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.btn { background: #2b2d31; color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; font: inherit; cursor: pointer; text-decoration: none; display: inline-block; }
.btn:hover { background: #35373c; }
.btn.main { background: var(--accent); color: #1a1205; border-color: transparent; font-weight: 600; }
.btn.danger { color: var(--bad); }
.secret { display: grid; gap: 6px; background: #2a2412; border: 1px solid #6b5418; border-radius: 10px; padding: 12px; }
.secret code { font-size: 12px; user-select: all; }
.secret .btn { justify-self: start; }
.tabs { display: flex; gap: 6px; margin-top: 14px; }
.tabs button { background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 8px; padding: 5px 12px; cursor: pointer; font: inherit; }
.tabs button.on { color: var(--text); border-color: var(--accent); }
.note { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #2b2d31; border: 1px solid var(--line); padding: 10px 16px; border-radius: 10px; z-index: 10; max-width: calc(100% - 32px); }
.note.bad { border-color: var(--bad); }
