/* SK Chat — auth & installer · (c) VinzzDev · VinzzApp */
:root { --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
html, html[data-theme="dark"] { color-scheme: dark; --bg: #0f0f0f; --card: #191919; --field: #242424; --text: #ececec; --text-2: #a3a3a3; --text-3: #6f6f6f; --line: rgba(255,255,255,.07); --accent: #f2f2f0; --accent-ink: #111; --danger: #f07a7a; --ok: #4fd18b; --focus: rgba(255,255,255,.22); }
html[data-theme="light"] { color-scheme: light; --bg: #f6f6f4; --card: #ffffff; --field: #f0f0ee; --text: #1a1a1a; --text-2: #5d5d5b; --text-3: #92928f; --line: rgba(0,0,0,.07); --accent: #1a1a1a; --accent-ink: #fff; --danger: #c93c3c; --ok: #1f9d5b; --focus: rgba(0,0,0,.18); }
* { box-sizing: border-box; }
body.auth { margin: 0; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; background: var(--bg); color: var(--text); font: 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
.auth-card { width: 100%; max-width: 400px; background: var(--card); border-radius: 22px; padding: 30px 28px 22px; box-shadow: 0 0 0 1px var(--line), 0 20px 60px rgba(0,0,0,.25); animation: rise .45s cubic-bezier(.2,.8,.2,1) both; }
.auth-card.wide { max-width: 620px; }
.brand { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.brand img { border-radius: 10px; }
.brand h1 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.015em; }
.brand p { margin: 2px 0 0; color: var(--text-2); font-size: 13.5px; }
h2 { font-size: 14px; font-weight: 600; margin: 22px 0 10px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--text-2); margin-bottom: 12px; }
input, select, textarea { font: inherit; width: 100%; background: var(--field); color: var(--text); border: 0; border-radius: 11px; padding: 11px 13px; font-size: 15px; outline: none; transition: box-shadow .15s; }
input:focus, select:focus, textarea:focus { box-shadow: 0 0 0 2px var(--focus); }
textarea.code { font: 12px/1.5 ui-monospace, Menlo, Consolas, monospace; resize: vertical; margin-bottom: 12px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 18px; border-radius: 999px; border: 0; font: 500 15px var(--font); cursor: pointer; text-decoration: none; transition: opacity .15s, transform .1s; }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { opacity: .9; }
.btn:active { transform: scale(.985); }
.btn:disabled { opacity: .4; cursor: default; }
.btn.block { width: 100%; margin-top: 8px; }
.note { border-radius: 12px; padding: 11px 14px; font-size: 14px; margin-bottom: 16px; background: var(--field); display: flex; flex-direction: column; gap: 4px; }
.note.bad { background: color-mix(in srgb, var(--danger) 12%, transparent); }
.note.ok { flex-direction: row; align-items: center; gap: 10px; }
.muted { color: var(--text-2); font-size: 13.5px; }
code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9em; background: var(--field); padding: 1px 6px; border-radius: 6px; }
.checks { background: var(--field); border-radius: 14px; padding: 6px 14px; margin-bottom: 8px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 13.5px; padding: 7px 0; }
.check + .check { box-shadow: 0 -1px 0 var(--line); }
.check .muted { margin-left: auto; font-size: 12.5px; }
.dot { width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--text-3); }
.dot.ok { background: var(--ok); }
.dot.bad { background: var(--danger); }
.switch { text-align: center; color: var(--text-2); font-size: 14px; margin: 16px 0 0; }
.switch a { color: var(--text); }
footer { text-align: center; font-size: 12px; color: var(--text-3); margin-top: 22px; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 520px) { .grid2 { grid-template-columns: 1fr; } .auth-card { padding: 24px 20px 18px; } }
