:root { --user-bg: #020617; --user-panel: rgba(18, 34, 57, .82); --user-input: rgba(27, 51, 79, .64); --user-border: rgba(115, 161, 204, .3); --user-text: #edf4fb; --user-muted: #91a4bd; --user-accent: #16c7b3; }
* { box-sizing: border-box; }
html, body { height: 100%; min-height: 100%; margin: 0; }
body { color: var(--user-text); background-color: var(--user-bg); background-image: radial-gradient(circle at 12% 5%, rgba(20, 157, 184, .18), transparent 30%), radial-gradient(circle at 88% 14%, rgba(70, 91, 196, .16), transparent 32%), linear-gradient(135deg, #071b2b 0%, #031321 48%, #020617 100%); background-attachment: fixed; font: 14px/1.5 "Microsoft YaHei", "PingFang SC", sans-serif; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 30px 23px; }
.login-panel { width: 100%; display: grid; place-items: center; }
.login-card { width: min(100%, 430px); padding: 26px 28px 23px; border: 1px solid var(--user-border); border-radius: 6px; background: linear-gradient(145deg, rgba(25, 47, 75, .84), rgba(10, 23, 42, .78)); box-shadow: 0 18px 42px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(190, 225, 255, .06); backdrop-filter: blur(16px); }
.register-card { width: min(100%, 470px); }
.card-heading { margin-bottom: 22px; }
.auth-card-heading { margin-bottom: 18px; padding-bottom: 17px; border-bottom: 1px solid rgba(115, 161, 204, .2); }
.login-brand { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0; color: var(--user-text); font-size: 24px; }
.login-brand-logo { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 27%; object-fit: cover; }
.login-brand strong { margin-right: auto; white-space: nowrap; }
.login-brand h2 { margin: 0; color: var(--user-text); font-size: 24px; line-height: 1.2; white-space: nowrap; }
.login-form > label { display: block; margin-top: 15px; color: #dce4ef; font-size: 13px; }
.login-form > label > span small { margin-left: 5px; color: var(--user-muted); font-size: 11px; font-weight: 400; }
.input-wrap { position: relative; display: flex; align-items: center; margin-top: 7px; border: 1px solid var(--user-border); border-radius: 5px; background: var(--user-input); transition: border-color .18s ease, box-shadow .18s ease; }
.input-wrap:focus-within { border-color: var(--user-accent); box-shadow: 0 0 0 3px rgba(22, 199, 179, .1); }
.input-wrap i { width: 40px; flex: 0 0 40px; color: #8290a5; font-size: 18px; font-style: normal; text-align: center; }
.input-wrap input { width: 100%; height: 43px; border: 0; outline: 0; color: var(--user-text); background: transparent; font-size: 13px; }
.input-wrap input::placeholder { color: #69788e; }
.password-toggle { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; margin-right: 7px; padding: 0; border: 0; color: #8d9bb0; background: transparent; }
.password-toggle:hover { color: var(--user-accent); }
.eye-icon { width: 19px; height: 19px; display: block; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.eye-closed { display: none; }
.password-toggle.is-visible .eye-open { display: none; }
.password-toggle.is-visible .eye-closed { display: block; }
.login-button { width: 100%; height: 40px; margin-top: 20px; border: 0; border-radius: 5px; color: #06211f; background: var(--user-accent); box-shadow: 0 5px 14px rgba(22, 199, 179, .16); font-weight: 700; }
.login-button:hover { background: #20d1be; }
.login-button span { float: right; margin-right: 13px; font-size: 19px; line-height: 20px; }
.auth-switch { margin: 23px 0 0; color: var(--user-muted); font-size: 13px; text-align: center; }
.auth-switch a { margin-left: 5px; color: var(--user-accent); }
.code-wrap input { min-width: 0; }
.code-button { height: 30px; flex: 0 0 auto; margin-right: 7px; padding: 0 10px; border: 1px solid rgba(22, 199, 179, .45); border-radius: 4px; color: #7fe2d5; background: rgba(22, 199, 179, .08); font-size: 11px; }
.code-button:hover { background: rgba(22, 199, 179, .16); }
.code-button:disabled { cursor: wait; opacity: .6; }
.user-home-page { min-height: 100vh; margin: 0; color: var(--user-text); background: var(--user-bg); font: 15px/1.5 "Microsoft YaHei", "PingFang SC", sans-serif; }
.user-home { width: min(100%, 960px); margin: 0 auto; padding: 26px 24px; }
.user-home header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--user-border); }
.user-home header a { color: var(--user-muted); font-size: 13px; }
.user-home header a:hover { color: var(--user-accent); }
.user-welcome { margin-top: 80px; padding: 40px; border: 1px solid var(--user-border); border-radius: 11px; background: var(--user-panel); }
.home-kicker { color: var(--user-accent); font-size: 11px; letter-spacing: 2px; }
.user-welcome h1 { margin: 8px 0 5px; font-size: 30px; }
.user-welcome p { margin: 0; color: var(--user-muted); }
.home-account { display: flex; justify-content: space-between; margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--user-border); color: var(--user-muted); }
.home-account strong { color: var(--user-text); font-weight: 500; }
@media (max-width: 600px) { .login-shell { padding: 22px 16px; } .login-card, .register-card { width: 100%; padding: 24px 21px 21px; } .login-brand { gap: 10px; font-size: 20px; } .login-brand h2 { font-size: 20px; } .user-home { padding: 20px 16px; } .user-welcome { margin-top: 45px; padding: 25px 20px; } .home-account { flex-direction: column; gap: 5px; } }
