:root {
  color-scheme: dark;
  font-family: "Microsoft YaHei UI", "PingFang SC", system-ui, sans-serif;
  background: #101818;
  color: #eef5f2;
  --accent: #c5f484;
}

* { box-sizing: border-box; }
body { margin: 0; }
.entry { display: grid; min-height: 100svh; grid-template-columns: minmax(365px, 0.9fr) minmax(0, 1.1fr); }
.sign-in {
  display: grid;
  grid-template-rows: auto 1fr;
  padding: clamp(24px, 4.8vw, 72px);
  background: radial-gradient(ellipse at -12% 84%, #18322e, transparent 72%), #101818;
}
.brand { display: flex; align-items: center; gap: 12px; width: fit-content; color: #eef5f2; text-decoration: none; font-size: 19px; font-weight: 650; }
.brand-mark { display: flex; align-items: center; justify-content: center; gap: 3px; width: 39px; height: 39px; border: 1px solid #4c6246; border-radius: 11px; background: #263425; }
.brand-mark i { width: 2px; height: 10px; border-radius: 2px; background: var(--accent); }
.brand-mark i:nth-child(2) { height: 20px; }
.brand-mark i:nth-child(3) { height: 15px; }
.brand-mark i:nth-child(4) { height: 7px; }
.login { width: min(100%, 398px); align-self: center; justify-self: center; padding-block: 48px; }
h1 { margin: 0; font-size: clamp(30px, 3.1vw, 44px); font-weight: 650; letter-spacing: -.045em; }
.description { margin: 12px 0 32px; line-height: 1.65; color: #9eafaa; font-size: 15px; }
label { display: block; font-size: 14px; margin-bottom: 9px; }
.phone, .code { display: flex; align-items: center; min-height: 52px; border: 1px solid #465953; border-radius: 9px; background: #172522; }
.phone { margin-bottom: 21px; }
.phone span { font-size: 15px; padding: 0 14px; border-right: 1px solid #465953; color: #b7c8c2; }
input { min-width: 0; flex: 1; padding: 0 13px; height: 50px; border: 0; color: #fff; background: transparent; font: inherit; font-size: 16px; }
input::placeholder { color: #91a59e; }
.phone:focus-within, .code:focus-within { border-color: var(--accent); outline: 2px solid #c5f48433; }
input:focus-visible { outline: none; }
button { cursor: pointer; font: inherit; font-weight: 650; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
button:disabled { cursor: default; opacity: .58; }
.send { border: 0; background: transparent; color: #d2f6ab; min-height: 50px; padding: 0 13px; white-space: nowrap; font-size: 14px; }
.send:hover:not(:disabled) { background: #263d35; }
.feedback { min-height: 24px; margin: 10px 0 9px; color: #b6d8cc; font-size: 13px; line-height: 1.7; }
.feedback[data-error="true"] { color: #ffb5a9; }
.verify { width: 100%; min-height: 50px; border: 0; border-radius: 9px; background: var(--accent); color: #17260f; }
.verify:hover:not(:disabled) { background: #d6ffa0; }
.verify:active:not(:disabled), .send:active:not(:disabled) { transform: translateY(1px); }
.portrait { position: relative; min-width: 0; overflow: hidden; background: #1b2928; }
.portrait img { position: absolute; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 36%; }
.portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #1018182b, transparent 35%); pointer-events: none; }

@media (max-width: 740px) {
  .entry { display: flex; flex-direction: column; }
  .sign-in { flex: 1; padding: 26px 22px 20px; }
  .login { padding-block: 44px 32px; }
  .portrait { min-height: 23svh; }
  .portrait img { object-position: 50% 27%; }
}
