:root {
  --ink: #151515;
  --muted: #74716a;
  --paper: #f5f1e8;
  --orange: #fa6235;
  --lime: #d7ef62;
  --line: #d9d3c7;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif; }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr); }
.login-intro {
  background: linear-gradient(90deg, rgba(16, 16, 16, .84) 0%, rgba(16, 16, 16, .66) 56%, rgba(16, 16, 16, .42) 100%), url("/login-toys.png") center / cover no-repeat;
  color: #fff;
  padding: clamp(30px, 6vw, 80px);
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.brand { display: flex; gap: 12px; align-items: center; position: relative; z-index: 1; }
.brand-logo { width: 54px; height: 54px; object-fit: contain; filter: drop-shadow(0 2px 7px rgba(0, 0, 0, .35)); }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; background: var(--lime); color: var(--ink); font-weight: 800; border-radius: 14px; }
.brand strong, .brand small { display: block; }
.brand small, .eyebrow { font-size: 10px; letter-spacing: .16em; color: #d9d4c9; margin-top: 3px; }
.intro-copy { position: relative; z-index: 1; margin: auto 0; }
.eyebrow { margin: 0 0 16px; font-weight: 700; }
.intro-copy h1 { font-size: clamp(45px, 5.4vw, 78px); line-height: .98; letter-spacing: -.075em; margin: 0; text-shadow: 0 3px 18px rgba(0, 0, 0, .32); }
.intro-copy h1 em { color: var(--lime); font-style: normal; }
.intro-copy > p:last-child { max-width: 380px; color: #f0ede6; line-height: 1.7; font-size: 15px; margin: 28px 0 0; text-shadow: 0 2px 12px rgba(0, 0, 0, .42); }
.notice { position: relative; z-index: 1; color: #ece7dc; font-size: 11px; letter-spacing: .04em; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.login-panel { display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 7vw, 110px); max-width: 590px; width: 100%; margin: auto; }
.panel-heading span { color: var(--orange); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.panel-heading h2 { font-size: clamp(34px, 4vw, 48px); letter-spacing: -.07em; margin: 12px 0 8px; }
.panel-heading p { font-size: 14px; color: var(--muted); margin: 0 0 38px; }
form { display: grid; gap: 20px; }
label { font-size: 13px; font-weight: 700; }
input { display: block; width: 100%; border: 1px solid var(--line); background: #fffcf5; color: var(--ink); border-radius: 12px; padding: 14px; margin-top: 9px; font: inherit; outline: none; }
input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px #fa623522; }
button { margin-top: 7px; border: 0; border-radius: 14px; background: var(--ink); color: white; font: inherit; font-weight: 700; padding: 15px 19px; cursor: pointer; transition: .2s; }
button:hover { background: var(--orange); transform: translateY(-1px); }
button:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.form-message { margin: 0; min-height: 18px; color: #b4361d; font-size: 12px; }
.help { margin: 34px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
@media (max-width: 780px) {
  .login-shell { grid-template-columns: 1fr; }
  .login-intro { min-height: 350px; padding: 28px; background-position: center; }
  .intro-copy { margin: auto 0 8px; }
  .intro-copy h1 { font-size: 44px; }
  .intro-copy > p:last-child, .notice { display: none; }
  .login-panel { padding: 44px 28px 54px; }
  .panel-heading p { margin-bottom: 28px; }
}
@media (max-width: 420px) {
  .login-intro { min-height: 300px; }
  .intro-copy h1 { font-size: 38px; }
  .login-panel { padding: 36px 20px 48px; }
}
