* { box-sizing: border-box; }
html { color: #25262b; background: #fbf9f8; font-family: "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif; }
body { margin: 0; min-height: 100svh; display: grid; place-items: start center; padding: 0 18px 28px; }
.flux-backdrop { position: fixed; inset: 0; overflow: hidden; pointer-events: none; }
.flux-art { position: absolute; inset: 0; background: #fbf9f8 url("/login-flux.webp") center / cover no-repeat; transform-origin: 50% 62%; }
@media (prefers-reduced-motion: no-preference) {
  .flux-art { animation: field-drift 17s ease-in-out infinite alternate; }
  @keyframes field-drift { from { transform: scale(1); } to { transform: scale(1.043) translate(-.3%, .3%); } }
}
.login-card { position: relative; margin-top: max(24px, calc(38svh - 135px)); width: min(342px, 100%); text-align: center; padding: 33px 40px 35px; border-radius: 18px; border: 1px solid rgba(255,255,255,.95); background: linear-gradient(147deg,rgba(255,255,255,.97),rgba(251,251,251,.91) 65%,rgba(242,243,244,.93)); box-shadow: 0 22px 58px -20px rgba(36,31,35,.22), 0 0 0 1px rgba(43,38,40,.08); backdrop-filter: blur(13px); }
.entry-logo { width: 176px; height: auto; max-width: 100%; display: block; margin: 0 auto; }
h1 { margin: 19px 0 25px; font-size: 2.125rem; font-weight: 700; line-height: 1.3; letter-spacing: .018em; }
button { position: relative; width: 100%; min-height: 46px; padding: 10px 36px; border: 0; border-radius: 7px; background: linear-gradient(110deg,#ab1029,#c1102c); color: white; font: inherit; font-weight: 500; letter-spacing: .035em; cursor: pointer; }
button:enabled::after { content: "→"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font: 20px/1 Arial,sans-serif; }
button:hover { filter: brightness(1.06); }
button:focus-visible { outline: 3px solid #942239; outline-offset: 4px; }
button:disabled { cursor: wait; opacity: .75; }
#entry-status { color: #992038; font-size: .875rem; margin: 12px 0 0; }
#entry-status:empty { display: none; }
@media (max-aspect-ratio: 4/5) {
  .flux-backdrop { background: #fcfaf9 url("/login-flux.webp") center top / auto 135% no-repeat; }
  .flux-art { inset: auto -14% 0; height: 67%; background-size: 100% 100%; mask-image: linear-gradient(to bottom, transparent, black 25%); }
}
