:root { color-scheme: light; --ink: #222431; --muted: #7d8190; --violet: #5958d9; --paper: #f4f5f8; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: var(--paper); font-family: Bahnschrift, "Microsoft YaHei UI", sans-serif; }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(360px, 1.12fr) minmax(420px, .88fr); }
.login-story { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 48px 7vw; color: #fff; background: #242638; isolation: isolate; }
.login-story::before { content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -310px; top: -260px; border: 130px solid rgba(101, 100, 226, .46); border-radius: 50%; }
.login-story::after { content: ""; position: absolute; z-index: -1; left: -12%; right: -12%; bottom: 18%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent); transform: rotate(-8deg); }
.brand { display: flex; align-items: center; gap: 12px; font-size: 18px; letter-spacing: -.02em; }
.brand span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font: 800 18px Georgia, serif; background: var(--violet); box-shadow: 0 10px 30px rgba(89,88,217,.42); }
.story-copy { margin: auto 0; }
.story-copy > p { margin: 0 0 24px; color: #9f9fea; font-size: 12px; font-weight: 700; letter-spacing: .22em; }
.story-copy h1 { margin: 0; font: 700 clamp(40px, 5vw, 68px)/1.16 Georgia, "Microsoft YaHei UI", serif; letter-spacing: -.045em; }
.signal { display: flex; align-items: center; gap: 10px; margin-top: 44px; color: #c9cad4; font-size: 13px; }
.signal i, .login-panel footer i { width: 8px; height: 8px; border-radius: 50%; background: #35bd86; box-shadow: 0 0 0 5px rgba(53,189,134,.13); }
.login-story > small { color: #9195a6; font-size: 11px; }
.login-panel { display: grid; place-items: center; padding: 48px; background: linear-gradient(145deg, #fff 0%, #f6f6fb 100%); }
form { width: min(390px, 100%); }
header > span { color: var(--violet); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
h2 { margin: 12px 0 8px; font-size: 30px; letter-spacing: -.035em; }
header p { margin: 0 0 38px; color: var(--muted); font-size: 13px; }
label { display: block; margin-top: 20px; }
label span { display: block; margin-bottom: 8px; color: #595d6b; font-size: 12px; font-weight: 700; }
input { width: 100%; height: 50px; padding: 0 15px; border: 1px solid #d9dbe4; border-radius: 8px; color: var(--ink); background: #fff; font: inherit; outline: none; transition: border-color .18s, box-shadow .18s; }
input:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(89,88,217,.1); }
button { width: 100%; height: 50px; margin-top: 28px; border: 0; border-radius: 8px; color: #fff; background: var(--violet); font: 700 14px Bahnschrift, "Microsoft YaHei UI", sans-serif; cursor: pointer; box-shadow: 0 12px 28px rgba(89,88,217,.22); transition: transform .18s, box-shadow .18s; }
button:hover { transform: translateY(-1px); box-shadow: 0 15px 32px rgba(89,88,217,.3); }
button b { margin-left: 8px; font-size: 18px; }
.login-error { margin: -18px 0 22px; padding: 11px 13px; border-left: 3px solid #df5b62; color: #a6373e; background: #fff0f1; font-size: 12px; }
form footer { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 24px; color: #9295a1; font-size: 11px; }
form footer i { width: 6px; height: 6px; box-shadow: none; }
.login-language { position: fixed; z-index: 4; top: 22px; right: 24px; display: flex; align-items: center; gap: 9px; margin: 0; padding: 7px 9px; border: 1px solid rgba(89,88,217,.14); border-radius: 8px; background: rgba(255,255,255,.88); box-shadow: 0 8px 24px rgba(34,36,49,.08); backdrop-filter: blur(10px); }
.login-language span { margin: 0; color: #747887; font-size: 11px; font-weight: 700; }
.login-language select { height: 30px; padding: 0 27px 0 9px; border: 1px solid #d9dbe4; border-radius: 6px; color: var(--ink); background: #fff; font: 600 11px Bahnschrift, "Microsoft YaHei UI", sans-serif; outline: none; cursor: pointer; }
.login-language select:focus-visible { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(89,88,217,.1); }
@media (max-width: 820px) { .login-shell { grid-template-columns: 1fr; } .login-story { min-height: 300px; padding: 32px; } .story-copy h1 { font-size: 38px; } .signal { margin-top: 24px; } .login-panel { padding: 48px 28px; } }
