:root {
    color-scheme: dark;
    --accent: #d4a24c;
    --error: #ff6b6b;
    --success: #6bd48a;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    background: #15161a;
    color: #e8e6e3;
}

body { margin: 0; }
main { max-width: 32rem; margin: 0 auto; padding: 1.5rem 1rem 3rem; }
h1:focus { outline: none; }
a { color: var(--accent); }

.site-header { display: flex; gap: 1.5rem; align-items: center; padding: 0.75rem 1.5rem; background: #0d0e11; border-bottom: 1px solid #2a2c33; }
.site-header .brand { font-weight: 700; text-decoration: none; }
.site-header nav { display: flex; gap: 1rem; }
.site-header nav a { text-decoration: none; color: inherit; }
.site-header nav a.active { color: var(--accent); }

.registration-form .field { display: flex; flex-direction: column; gap: 0.25rem; margin-bottom: 1rem; }
.registration-form input { padding: 0.5rem; font-size: 1rem; border: 1px solid #3a3d46; border-radius: 4px; background: #1d1f24; color: inherit; }
.registration-form small, .optional { color: #9a9ca3; }
button, .button { display: inline-block; padding: 0.6rem 1.2rem; font-size: 1rem; border: 0; border-radius: 4px; background: var(--accent); color: #15161a; cursor: pointer; text-decoration: none; }

.invalid { outline: 1px solid var(--error); }
.validation-message, .alert { color: var(--error); }
.success { color: var(--success); }

.status-badge { display: inline-flex; gap: 0.4rem; align-items: center; padding: 0.3rem 0.8rem; border-radius: 999px; background: #1d1f24; border: 1px solid #2a2c33; }
.status-badge::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--error); }
.status-badge.online::before { background: var(--success); }
