:root {
  color-scheme: light;
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  color: #4f4035;
  background: #f3e9dc;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,.92), transparent 34%),
    radial-gradient(circle at 82% 72%, rgba(216,187,157,.34), transparent 32%),
    linear-gradient(145deg, #faf5ee, #eadccb 68%, #f8f1e8);
}

.login-shell { width: min(100%, 430px); }

.login-card {
  padding: 34px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 26px;
  background: rgba(255,253,250,.8);
  box-shadow: 0 30px 80px -40px rgba(91,63,39,.45);
  backdrop-filter: blur(18px) saturate(1.15);
}

.login-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9b7454;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
}

.login-eyebrow i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b23a48;
  box-shadow: 0 0 0 4px rgba(178,58,72,.1);
}

h1 {
  margin: 12px 0 9px;
  color: #4b382d;
  font-size: 27px;
  letter-spacing: -.02em;
}

.login-copy {
  margin: 0 0 24px;
  color: #8b7867;
  font-size: 12px;
  line-height: 1.75;
}

form { display: grid; gap: 15px; }

label { display: grid; gap: 7px; }

label span {
  color: #7f6a58;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}

input {
  width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid rgba(128,98,70,.18);
  border-radius: 12px;
  outline: none;
  color: #4f4035;
  background: rgba(255,255,255,.68);
  font: inherit;
  transition: border-color .18s ease, box-shadow .18s ease;
}

input:focus {
  border-color: rgba(165,72,76,.52);
  box-shadow: 0 0 0 4px rgba(178,58,72,.09);
}

button {
  min-height: 44px;
  margin-top: 4px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #8f2f3a, #bd5c63);
  box-shadow: 0 12px 24px -14px rgba(143,47,58,.58);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
}

button:disabled { cursor: wait; opacity: .62; }

.login-status {
  min-height: 18px;
  margin: 0;
  color: #a23b46;
  font-size: 12px;
  line-height: 1.5;
}

.login-status.is-ok { color: #487863; }

.login-foot {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(128,98,70,.1);
  color: #a08d7b;
  font-size: 10px;
  line-height: 1.65;
}

.login-foot a {
  color: inherit;
  text-decoration: none;
}

.login-foot a:hover,
.login-foot a:focus-visible {
  color: #8f2f3a;
  text-decoration: underline;
}
