
:root {
  color-scheme: light;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color: #1f2d25;
  background: #edf6ea;
}
* { box-sizing: border-box; }
body {
  min-height: 100dvh;
  margin: 0;
  background-color: #edf6ea;
  background-image: linear-gradient(rgba(237, 246, 234, .72), rgba(237, 246, 234, .72)), url("../login-background.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 160% 100%;
}
.shell {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 76px;
}
.brand { display: flex; flex-direction: column; align-items: center; }
.brand-name { display: inline-flex; align-items: center; justify-content: center; gap: 14px; color: #17221b; font-size: 32px; font-weight: 700; line-height: 44px; white-space: nowrap; }
.mark { display: block; width: 44px; height: 44px; object-fit: contain; }
.slogan { margin: 8px 0 0; color: rgba(31, 45, 37, .62); font-size: 15px; font-weight: 300; line-height: 24px; text-align: center; }
.login { width: 328px; max-width: 100%; margin-top: 52px; }
.error { margin: 0 0 14px; padding: 10px 12px; border: 1px solid rgba(184, 74, 55, .22); border-radius: 8px; background: rgba(255, 240, 236, .9); color: #8f2f20; font-size: 13px; line-height: 20px; }
input { width: 100%; height: 42px; padding: 0 12px; border: 1px solid transparent; border-radius: 8px; outline: 0; background: rgba(223, 237, 226, .88); color: #1f2d25; font: 14px/1.5 inherit; transition: background-color .22s ease, border-color .22s ease, box-shadow .22s ease; }
input::placeholder { color: rgba(31, 45, 37, .46); }
input:hover { background: rgba(215, 232, 219, .94); }
input:focus { border-color: #91b89a; background: rgba(255, 255, 255, .94); box-shadow: 0 0 0 3px rgba(145, 184, 154, .16); }
button { width: 100%; height: 42px; margin-top: 18px; border: 1px solid #b8d6bc; border-radius: 8px; background: #c8e1ca; color: #213a2a; font: 600 16px/1 inherit; cursor: pointer; transition: background-color .18s ease, border-color .18s ease, transform .08s ease; }
button:hover { border-color: #acd0b1; background: #bddbbe; }
button:active { background: #b3d2b6; transform: translateY(1px); }
.footer { position: fixed; right: 20px; bottom: 22px; left: 20px; color: rgba(31, 45, 37, .44); font-size: 13px; line-height: 22px; text-align: center; }
@media (max-width: 520px) {
  body { background-size: 250% 150%; }
  .shell { padding: 28px 16px 68px; }
  .brand-name { gap: 10px; font-size: 26px; line-height: 34px; }
  .mark { width: 36px; height: 36px; }
  .slogan { margin-top: 7px; font-size: 14px; }
  .login { margin-top: 38px; }
  .footer { bottom: 16px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
