:root { --bg: #0d0d0f; --panel: #17171b; --panel2: #1f1f24; --line: #2c2c33; --fg: #f4f2ee; --muted: #9c9aa3; --hot: #ff4d3d; --ok: #3ccf6e; --gold: #ffcf4a; color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.5 "Manrope", system-ui, sans-serif; }
a { color: inherit; }
.wrap { max-width: 520px; margin: 0 auto; padding: 0 16px 60px; }
header.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0 26px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo i { width: 38px; height: 38px; border-radius: 10px; background: var(--hot); display: grid; place-items: center; font: 800 18px "Unbounded", sans-serif; font-style: normal; color: #fff; }
.logo span { font: 800 14px/1.1 "Unbounded", sans-serif; text-transform: uppercase; }
.back { color: var(--muted); text-decoration: none; font-size: 14px; }
h1 { font: 800 30px/1.1 "Unbounded", sans-serif; text-transform: uppercase; margin: 0 0 8px; }
h2 { font: 800 17px/1.2 "Unbounded", sans-serif; margin: 0 0 12px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 20px; margin: 16px 0; }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--panel); padding: 6px; border-radius: 14px; margin: 18px 0 0; }
.tabs button { border: 0; border-radius: 10px; padding: 11px 6px; background: transparent; color: var(--muted); font: 700 15px "Manrope", sans-serif; cursor: pointer; }
.tabs button.on { background: var(--fg); color: var(--bg); }
label { display: block; font-size: 14px; color: var(--muted); margin: 12px 0 6px; }
input { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel2); color: var(--fg); font: 16px "Manrope", sans-serif; }
input:focus { outline: 2px solid var(--fg); outline-offset: 1px; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; width: 100%; margin-top: 16px; padding: 14px 20px; border: 0; border-radius: 99px; background: var(--hot); color: #fff; font: 800 16px "Manrope", sans-serif; cursor: pointer; text-decoration: none; }
.btn.light { background: var(--fg); color: var(--bg); }
.btn.ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 2px var(--line); }
.btn:disabled { opacity: .5; cursor: wait; }
.link { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }
.notice { padding: 12px 14px; border-radius: 12px; margin: 14px 0 0; font-size: 15px; }
.notice.ok { background: #16301f; color: #b7f5c9; }
.notice.bad { background: #3a1513; color: #ffc4bd; }
.notice:empty { display: none; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 18px 0 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.tg { display: flex; justify-content: center; margin-top: 16px; min-height: 40px; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.row:first-of-type { border-top: 0; }
.badge { display: inline-block; font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 99px; background: var(--panel2); color: var(--muted); }
.badge.ok { background: #16301f; color: var(--ok); }
.badge.warn { background: #3a2a10; color: var(--gold); }
.games a { text-decoration: none; font-weight: 800; }
