:root {
    --bg: #0e1116;
    --card: #161b22;
    --line: #232a33;
    --text: #e6edf3;
    --muted: #8b949e;
    --accent: #7bd3ea;
    --danger: #f0776c;
    --discord: #5865f2;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: var(--bg);
    color: var(--text);
    font: 15px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.card {
    width: 100%;
    max-width: 420px;
    padding: 32px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.brand {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
}

h1 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 650;
}

p {
    margin: 0 0 16px;
    color: var(--muted);
}

.nick {
    display: inline-block;
    padding: 2px 8px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #0e131a;
    color: var(--text);
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
}

button,
.button {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border: 0;
    border-radius: 9px;
    background: var(--accent);
    color: #06222b;
    font: inherit;
    font-weight: 650;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

button:disabled {
    opacity: 0.55;
    cursor: default;
}

.button.discord {
    background: var(--discord);
    color: #fff;
}

.hint {
    margin: 14px 0 0;
    font-size: 13px;
    color: var(--muted);
}

.error {
    color: var(--danger);
}

.hidden {
    display: none;
}
