:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #24211d;
  background: #f7f3eb;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 28px 18px 70px;
}

.auth-card {
  width: min(100%, 410px);
  padding: 34px 30px 30px;
  border: 1px solid #e3ddd3;
  border-radius: 12px;
  background: #fffdfa;
  box-shadow: 0 12px 34px rgba(53, 45, 35, 0.08);
}

.auth-kicker {
  margin: 0 0 8px;
  color: #8a7d6e;
  font-size: 12px;
  letter-spacing: 0.11em;
}

h1 { margin: 0; font-size: 26px; font-weight: 600; }

.auth-intro {
  margin: 12px 0 26px;
  color: #655e55;
  font-size: 14px;
  line-height: 1.7;
}

.auth-form { display: grid; gap: 16px; }

.auth-field { display: grid; gap: 7px; color: #4a443d; font-size: 13px; }

.auth-field input {
  width: 100%;
  border: 1px solid #d8d0c6;
  border-radius: 7px;
  padding: 11px 12px;
  background: #fff;
  color: inherit;
  font: inherit;
  outline: none;
}

.auth-field input:focus { border-color: #8c1d32; box-shadow: 0 0 0 3px rgba(140, 29, 50, 0.1); }

.auth-submit {
  border: 0;
  border-radius: 7px;
  padding: 12px;
  background: #7f0019;
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.auth-submit:disabled { cursor: wait; opacity: 0.65; }

.auth-message { min-height: 21px; margin: 2px 0 0; color: #5d574f; font-size: 13px; line-height: 1.55; }
.auth-message.error { color: #a61b2b; }
.auth-message.success { color: #2b6a4b; }

.auth-footer { margin: 22px 0 0; color: #70685e; font-size: 13px; line-height: 1.6; }
.auth-footer a { color: #7f0019; text-decoration: none; }
.auth-footer a:hover { text-decoration: underline; }

.site-records {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  color: #756e65;
  font-size: 11px;
}

.site-records a { display: inline-flex; align-items: center; gap: 4px; color: inherit; text-decoration: none; }
.site-records img { width: auto; height: 1em; }

@media (max-width: 390px) {
  .auth-card { padding: 28px 22px 24px; }
  .site-records { gap: 8px; font-size: 10px; }
}
