@import url("https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600;700&family=Fira+Sans:wght@400;500;600;700&display=swap");

:root { color-scheme: dark; --bg: #07131b; --surface: #0e222c; --surface-raised: #132b36; --line: #24404b; --text: #edf7f3; --text-soft: #b6cbc5; --muted: #78928d; --mint: #8af2c2; --mint-strong: #39d79e; --amber: #ffc857; --red: #ff9189; }
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; overflow-x: hidden; background: radial-gradient(circle at 12% 0, #153743 0, transparent 32rem), radial-gradient(circle at 100% 100%, #0f2b31 0, transparent 30rem), var(--bg); color: var(--text); font: 15px/1.55 "Fira Sans", "PingFang SC", "Microsoft YaHei", sans-serif; -webkit-font-smoothing: antialiased; }
button, input { color: inherit; font: inherit; } button { cursor: pointer; touch-action: manipulation; } svg { display: block; width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.login-shell { width: min(100% - 40px, 1120px); min-height: min(760px, 100dvh - 40px); display: grid; grid-template-columns: 1.1fr .9fr; margin: 20px auto; border: 1px solid rgba(138, 242, 194, .2); border-radius: 26px; background: rgba(9, 25, 33, .86); box-shadow: 0 30px 100px rgba(0, 0, 0, .35); overflow: hidden; }
.login-signal { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; padding: 38px 44px 32px; overflow: hidden; background: linear-gradient(145deg, #0d2a35, #0a1d27); }
.login-signal::before { position: absolute; inset: 0; opacity: .34; background-image: linear-gradient(rgba(138, 242, 194, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(138, 242, 194, .09) 1px, transparent 1px); background-size: 34px 34px; content: ""; mask-image: linear-gradient(135deg, #000, transparent 80%); }
.login-signal > * { position: relative; z-index: 1; }.login-brand { display: inline-flex; align-items: center; gap: 13px; width: fit-content; color: var(--text); text-decoration: none; }.login-brand > span:last-child { display: grid; gap: 2px; }.login-brand strong { font-size: 16px; }.login-brand small { color: var(--muted); font: 10px "Fira Code", monospace; letter-spacing: .16em; }
.brand-mark { width: 35px; height: 35px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; transform: rotate(-8deg); }.brand-mark i { width: 9px; height: 9px; align-self: center; justify-self: center; border-radius: 50%; background: var(--mint); }.brand-mark i:nth-child(2), .brand-mark i:nth-child(4), .brand-mark i:nth-child(8) { background: var(--amber); }.brand-mark i:nth-child(5) { background: #91c8ff; }
.section-label { color: var(--mint); font: 600 10px "Fira Code", monospace; letter-spacing: .2em; }.signal-copy { max-width: 510px; margin-top: 100px; }.signal-copy h1 { margin: 21px 0 17px; font-size: clamp(40px, 5vw, 67px); line-height: .98; letter-spacing: -.07em; text-wrap: balance; }.signal-copy h1 em { color: var(--mint); font-style: normal; }.signal-copy p { max-width: 380px; margin: 0; color: var(--text-soft); font-size: 15px; }
.mini-console { position: relative; display: grid; gap: 13px; max-width: 420px; padding: 18px; border: 1px solid rgba(138, 242, 194, .17); border-radius: 14px; background: rgba(7, 19, 27, .52); overflow: hidden; }.console-top, .console-line, .login-note, .card-kicker, .secure-mark, .card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.console-top { color: var(--text-soft); font: 10px "Fira Code", monospace; letter-spacing: .08em; }.console-top span { display: inline-flex; align-items: center; gap: 8px; }.console-top i { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: var(--mint-strong); box-shadow: 0 0 0 4px rgba(57, 215, 158, .12); }.console-top b { color: var(--mint); font-weight: 500; }.console-line { position: relative; z-index: 1; color: var(--muted); font: 10px "Fira Code", monospace; }.console-line i { position: relative; flex: 1; height: 4px; overflow: hidden; border-radius: 99px; background: #1a353f; }.console-line i::after { position: absolute; inset: 0 auto 0 0; width: var(--level); border-radius: inherit; background: var(--mint); content: ""; }.console-line b { color: var(--text-soft); font-weight: 500; }.console-grid { position: absolute; inset: 0; opacity: .45; background-image: linear-gradient(90deg, transparent 0 49%, rgba(138, 242, 194, .06) 50%, transparent 51%); background-size: 26px 100%; }.login-note { color: var(--muted); font: 10px "Fira Code", monospace; letter-spacing: .06em; }
.login-card { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: 56px clamp(26px, 6vw, 72px); background: var(--surface); }.card-kicker { margin-bottom: 40px; }.secure-mark { color: var(--muted); font-size: 11px; }.secure-mark svg { width: 16px; height: 16px; color: var(--mint); }.login-card h2 { margin: 0; font-size: 31px; letter-spacing: -.055em; }.login-intro { margin: 10px 0 34px; color: var(--muted); font-size: 14px; }.field { margin-top: 20px; }.field label { display: block; margin-bottom: 8px; color: var(--text-soft); font-size: 12px; font-weight: 600; }.field small { display: block; margin-top: 7px; color: var(--muted); font-size: 11px; }.field input { width: 100%; min-height: 50px; border: 1px solid var(--line); border-radius: 10px; outline: 0; background: #0a1b23; color: var(--text); padding: 12px 14px; transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }.field input:hover { border-color: #35606a; }.field input:focus { border-color: var(--mint-strong); background: #0d222b; box-shadow: 0 0 0 3px rgba(57, 215, 158, .12); }.password-field { position: relative; }.password-field input { padding-right: 52px; }.password-field button { position: absolute; top: 3px; right: 3px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--muted); }.password-field button:hover { background: var(--surface-raised); color: var(--mint); }.form-error { margin: 16px 0 0; padding: 10px 12px; border: 1px solid rgba(255, 145, 137, .3); border-radius: 9px; background: rgba(255, 145, 137, .08); color: var(--red); font-size: 12px; }.submit-button { width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 28px; border: 1px solid var(--mint-strong); border-radius: 10px; background: var(--mint); color: #062119; font-weight: 700; transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease; }.submit-button:hover { background: #a5f8d0; box-shadow: 0 10px 26px rgba(57, 215, 158, .15); }.submit-button:active { transform: scale(.99); }.submit-button:disabled { cursor: wait; opacity: .6; }.submit-button svg { width: 18px; height: 18px; }.card-footer { margin-top: 42px; color: var(--muted); font: 9px "Fira Code", monospace; letter-spacing: .08em; }
 .required { color: var(--amber); }
@media (max-width: 820px) { .login-shell { grid-template-columns: 1fr; width: min(100% - 24px, 520px); min-height: 0; margin: 12px auto; }.login-signal { min-height: 390px; padding: 28px 24px 24px; }.signal-copy { margin-top: 64px; }.signal-copy h1 { font-size: clamp(40px, 12vw, 58px); }.mini-console { max-width: none; }.login-note { margin-top: 25px; }.login-card { padding: 32px 24px 28px; }.card-kicker { margin-bottom: 32px; }.card-footer { margin-top: 32px; } }
@media (max-width: 390px) { .login-shell { width: min(100% - 16px, 360px); }.login-signal { min-height: 360px; padding-inline: 19px; }.signal-copy h1 { font-size: 39px; }.login-card { padding-inline: 19px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }
