:root {
  color-scheme: dark;
  font-family: Inter, "Microsoft YaHei", system-ui, sans-serif;
  background: #131419;
  color: #f5f3ee;
  --accent: #ffce54;
  --muted: #a9a9b4;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(430px, 1fr);
}
.showcase {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: clamp(32px, 5vw, 76px);
  background: #000;
  border-right: 1px solid #353741;
}
.showcase-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #0009, transparent 30%, transparent 72%, #0009);
}
.brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff8e9;
  text-decoration: none;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -.04em;
}
.brand img { width: 35px; height: 35px; object-fit: contain; }
.showcase-caption p {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.5vw, 54px);
  font-weight: 750;
  letter-spacing: -.04em;
}
.auth {
  position: relative;
  display: grid;
  place-items: center;
  padding: 48px 48px 76px;
  background: radial-gradient(ellipse at 95% 0%, #26242c 0%, #131419 52%);
}
.auth-card { width: min(100%, 380px); }
h1 { margin: 0 0 29px; font-size: clamp(30px, 3vw, 42px); letter-spacing: -.045em; }
form { display: grid; gap: 10px; }
label { margin-top: 4px; font-size: 14px; font-weight: 600; }
input, button { width: 100%; min-height: 47px; border-radius: 8px; font: inherit; }
input { background: #1d1e26; border: 1px solid #3e414e; color: inherit; padding: 0 13px; }
input:hover { border-color: #686b78; }
button { margin-top: 10px; border: 0; background: var(--accent); color: #201707; font-weight: 750; cursor: pointer; }
button:hover { background: #ffdb7c; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
a { color: var(--accent); text-underline-offset: 3px; }
.hint, .account-switch { color: var(--muted); font-size: 14px; line-height: 1.55; }
.hint { margin: -3px 0 4px; font-size: 12px; }
.account-switch { margin: 24px 0 0; }
.auth footer { position: absolute; bottom: 28px; right: 36px; font-size: 13px; }
.auth footer a { color: var(--muted); }
.login-error { margin: 0; padding: 10px 12px; color: #ffdcdf; background: #44252f; border-radius: 6px; font-size: 14px; }
@media (max-width: 800px) {
  body { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .showcase { min-height: 230px; padding: 22px 26px; border: 0; border-bottom: 1px solid #353741; }
  .showcase-caption p { margin-bottom: 3px; font-size: 27px; }
  .auth { padding: 36px 24px 76px; }
  .auth footer { right: 24px; }
}
