/* Sign-in page (served by api/auth/page.js). Self-contained: nothing else loads before sign-in. */
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px; line-height: 1.45;
  color: #e8ecef; background: #0b0f14;
  -webkit-font-smoothing: antialiased;
}
.login { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.login__wrap { width: 100%; max-width: 380px; }
.login__foot { margin: 16px 0 0; text-align: center; font-size: 13px; }
.login__foot a { color: #93a0ad; text-decoration: none; }
.login__foot a:hover { color: #e8ecef; text-decoration: underline; }
.login__card {
  width: 100%; padding: 28px 28px 24px;
  background: #121821; border: 1px solid #243040; border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
}
.login__brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: .01em; }
.login__logo { width: 26px; height: 26px; border-radius: 50%; background: #00aff0; box-shadow: inset 0 0 0 5px #121821, inset 0 0 0 8px #fff; }
.login__title { margin: 18px 0 6px; font-size: 22px; font-weight: 800; }
.login__text { margin: 0 0 18px; color: #93a0ad; font-size: 14px; }
.login__error { margin: 0 0 14px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 90, 90, .12); color: #ff8a8a; font-size: 14px; }
.login__notice { margin: 0 0 14px; padding: 10px 12px; border-radius: 10px; background: rgba(0, 175, 240, .12); color: #cfe9f6; font-size: 14px; overflow-wrap: anywhere; }
.login__notice code { font-family: ui-monospace, Consolas, monospace; font-size: 13px; }
.login__notice a { color: #4fc3f7; }
.login__form { display: flex; flex-direction: column; gap: 10px; }
.login__label { font-size: 13px; font-weight: 600; color: #93a0ad; }
.login__input {
  width: 100%; height: 44px; padding: 0 14px;
  border: 1px solid #2c3a4b; border-radius: 10px;
  background: #0b0f14; color: #e8ecef; font: inherit;
}
.login__input:focus { outline: 2px solid #00aff0; outline-offset: 1px; border-color: #00aff0; }
.login__btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 44px; padding: 0 16px;
  border: 0; border-radius: 999px;
  background: #00aff0; color: #fff; font: inherit; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  text-decoration: none; cursor: pointer;
}
.login__btn:hover { background: #1abbff; }
.login__btn--patreon { background: #ff424d; }
.login__btn--patreon:hover { background: #ff5a63; }
.login__hint { margin: 8px 0 0; color: #93a0ad; font-size: 13px; text-align: center; }
.login__divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: #5c6b7a; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.login__divider::before, .login__divider::after { content: ""; flex: 1; height: 1px; background: #243040; }
