:root {
  --bg: #07070a; --panel: #111116; --line: #26262e; --text: #f2efe6; --muted: #8d8a82;
  --gold: #e7b84a; --gold2: #f6d77e; --ok: #7bdc8b; --bad: #ff5d5d;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(ellipse at top left, #1b1608 0%, var(--bg) 55%); color: var(--text); min-height: 100vh; }
main { max-width: 860px; margin: 0 auto; padding: 0 18px 60px; }
.top { display: flex; align-items: center; gap: 14px; padding: 18px; max-width: 860px; margin: 0 auto; flex-wrap: wrap; }
.brand { font-weight: 800; letter-spacing: .45em; color: var(--gold); font-size: 18px; }
.sub { color: var(--muted); font-size: 11px; letter-spacing: .2em; flex: 1; }
.eyebrow { color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .2em; margin: 28px 0 6px; }
h1 { font-size: clamp(26px, 5vw, 40px); line-height: 1.15; margin: 0 0 12px; }
h2 { font-size: clamp(22px, 4vw, 30px); margin: 0 0 16px; }
.hl { color: var(--gold2); }
.lead { color: #cfcabe; max-width: 640px; }
.btn { background: var(--gold); color: #111; border: 0; border-radius: 10px; padding: 10px 16px; font-weight: 700; cursor: pointer; font-size: 14px; }
.btn:disabled { opacity: .5; cursor: default; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.small { padding: 6px 12px; font-size: 12px; }
.btn.danger { background: transparent; color: var(--bad); border: 1px solid #5a2323; }
.stepbar { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stepbar li { border: 1px solid var(--line); border-radius: 10px; padding: 10px; font-size: 12px; font-weight: 600; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.stepbar li .n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #22222a; flex: none; }
.stepbar li.active { border-color: var(--gold); color: var(--text); }
.stepbar li.active .n { background: var(--gold); color: #111; }
.stepbar li.done .n { background: var(--gold); color: #111; }
.stepbar li.done .n::after { content: "✓"; }
.stepbar li.done .n { font-size: 0; }
.stepbar li.done .n::after { font-size: 13px; }
@media (max-width: 640px) { .stepbar { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin-bottom: 12px; }
.card.locked { opacity: .45; pointer-events: none; }
.card.current { border-color: var(--gold); }
.label { font-size: 10px; letter-spacing: .2em; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.muted { color: var(--muted); }
.pill { display: inline-block; border: 1px solid var(--gold); color: var(--gold2); border-radius: 999px; padding: 3px 10px; font-size: 12px; margin: 6px 6px 0 0; }
.pill.bad { border-color: var(--bad); color: var(--bad); }
.pill.ok { border-color: var(--ok); color: var(--ok); }
.checks { list-style: none; padding: 0; margin: 8px 0 12px; display: grid; gap: 6px; }
.checks li { border: 1px solid #3c3318; border-radius: 8px; padding: 8px 10px; font-size: 13px; font-weight: 600; }
.checks li::before { content: "✓ "; color: var(--gold); }
.notice { border: 1px solid var(--gold); background: #1c170a; padding: 12px 14px; border-radius: 10px; margin: 14px 0; font-size: 14px; }
.notice.err { border-color: var(--bad); background: #1d0d0d; }
.hidden { display: none; }
.row { margin-top: 6px; font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
select { background: #1a1a20; color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 5px 8px; }
.auto { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0 14px; border-bottom: 1px solid var(--line); margin-bottom: 12px; font-size: 14px; }
.switch { position: relative; width: 44px; height: 24px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: #2a2a32; border-radius: 99px; cursor: pointer; transition: .2s; }
.switch span::before { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; }
.switch input:checked + span { background: var(--gold); }
.switch input:checked + span::before { transform: translateX(20px); }
.drops { display: grid; gap: 10px; }
.drop { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; grid-template-columns: 56px 1fr; gap: 12px; }
.drop img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; background: #222; }
.drop h4 { margin: 0 0 4px; font-size: 15px; }
.stage { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px dashed #24242b; font-size: 13px; flex-wrap: wrap; }
.stage:first-of-type { border-top: 0; }
.free { color: var(--gold2); font-weight: 700; }
.jobs { margin-top: 10px; font-size: 13px; }
.jobs div { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; border-top: 1px solid #1f1f25; flex-wrap: wrap; }
.safety { margin-top: 20px; color: #cfcabe; }
dialog { background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 14px; min-width: 300px; }
dialog::backdrop { background: rgba(0,0,0,.7); }
#walletList { display: grid; gap: 8px; margin: 12px 0; }
#walletList button { display: flex; gap: 10px; align-items: center; }
#walletList img { width: 22px; height: 22px; }
footer { text-align: center; color: var(--muted); font-size: 11px; letter-spacing: .3em; padding: 30px; }
a { color: var(--gold2); }
