:root {
  color-scheme: dark;
  --bg: #06101b;
  --text: #eef6ff;
  --muted: #8ea6bc;
  --red: #ff466a;
  --cyan: #41e5d1;
  font-family: "Microsoft YaHei UI", "PingFang SC", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  display: grid;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
  place-items: center;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 70, 106, 0.2), transparent 35%),
    radial-gradient(circle at 100% 80%, rgba(65, 229, 209, 0.12), transparent 32%),
    var(--bg);
}

.login-shell {
  width: min(420px, 100%);
  padding: 30px;
  border: 1px solid rgba(164, 190, 214, 0.16);
  border-radius: 24px;
  background: rgba(14, 30, 47, 0.92);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

.login-mark {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--red), #ff5537);
  font-size: 1.2rem;
  font-weight: 900;
}

.login-eyebrow {
  color: var(--cyan);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

h1 {
  margin: 5px 0 12px;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

.login-note {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.7;
}

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

label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 58px;
  padding: 0 16px;
  border: 1px solid rgba(164, 190, 214, 0.2);
  border-radius: 14px;
  outline: none;
  color: var(--text);
  background: rgba(4, 13, 22, 0.65);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.3em;
}

input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(65, 229, 209, 0.08);
}

button {
  min-height: 56px;
  margin-top: 4px;
  border: 0;
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, var(--red), #e92e55);
  cursor: pointer;
  font-weight: 900;
}

button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.login-error {
  min-height: 1.4em;
  margin: 14px 0 0;
  color: #ffadb6;
  font-size: 0.76rem;
}
