
:root{--bg:#000;--panel:#121717;--gray:#abb0ac;--edge:#3d4942;--neon:#c3ff29;--lime:#bafd28;--lime-dim:#9cdf30;--text:#f8f9f7}
*{box-sizing:border-box}
html{font-family:"Noto Sans CJK SC","Microsoft YaHei",system-ui,sans-serif;background:#000;color:var(--text);scroll-behavior:smooth}
body{margin:0;min-height:100svh;background:radial-gradient(ellipse 110% 36% at 106% 10%,rgba(74,157,8,.22),transparent 64%),radial-gradient(ellipse 70% 45% at 82% 39%,rgba(44,125,0,.1),transparent 75%),#000}
button,input{font:inherit}button{cursor:pointer}
.auth-shell{max-width:465px;margin:0 auto;padding:22px 14px 40px;min-height:100svh;position:relative;overflow:hidden}
.auth-shell:before{content:"";position:absolute;inset:45px -150px auto 42%;height:330px;pointer-events:none;background:radial-gradient(ellipse at center,rgba(93,174,16,.11),transparent 65%);transform:rotate(-31deg)}
.topbar{height:62px;display:flex;align-items:center;justify-content:center;position:relative;z-index:1}
.brand-logo{width:148px;height:47px;object-fit:contain}
.back-btn{position:absolute;left:3px;top:1px;display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;border:1px solid #26312c;background:linear-gradient(150deg,#1b2520,#070b09);color:#fff;transition:opacity .2s,transform .2s}
.back-btn:hover{transform:translateX(-2px)}.back-btn img{width:27px;height:27px;filter:invert(1)}
.intro{text-align:center;margin:26px 0 0;position:relative;z-index:1}
.intro h1{font-size:36px;line-height:1.2;font-weight:850;letter-spacing:.13em;margin:0}
.intro .rule{width:155px;height:2px;margin:11px auto 9px;background:linear-gradient(90deg,transparent,var(--lime),transparent);box-shadow:0 0 11px #abff43}
.intro p{font-size:15px;color:#c6c9c6;margin:0;letter-spacing:.035em}
.form-card{position:relative;isolation:isolate;margin-top:37px;padding:27px 22px 30px;border:1px solid #52615c;border-radius:23px;background:linear-gradient(152deg,rgba(25,32,29,.9),rgba(8,11,10,.96) 68%);box-shadow:inset 0 1px 0 rgba(255,255,255,.03);overflow:hidden}
.form-card::before{content:"";position:absolute;z-index:-1;top:-18px;right:-40px;width:107%;height:160px;background:linear-gradient(154deg,transparent 44%,rgba(109,197,13,.1) 64%,rgba(151,243,48,.42) 84%,rgba(182,255,67,.25) 94%,transparent 98%);clip-path:ellipse(84% 75% at 92% 0%);filter:drop-shadow(0 0 6px #abff3d)}
.form-card:after{content:"";position:absolute;z-index:-1;top:74px;left:20%;width:88%;height:1px;background:linear-gradient(90deg,transparent,rgba(155,255,39,.46),transparent);transform:rotate(-8deg);filter:blur(2px)}
.fields{display:flex;flex-direction:column;gap:15px;margin-top:64px}
.field{height:57px;display:flex;align-items:center;gap:13px;background:linear-gradient(105deg,#1a221e,#121615 75%);border:1px solid #555b57;border-radius:12px;padding:0 15px;color:#f0f1ed}
.field.featured{border-color:#c5ff44;box-shadow:inset 0 0 10px rgba(140,255,32,.07),0 0 12px rgba(158,255,41,.29)}
.field:focus-within{border-color:var(--lime);box-shadow:0 0 0 2px rgba(183,255,54,.13),0 0 10px rgba(181,255,51,.24)}
.field img{width:23px;height:23px;filter:brightness(0) invert(1);flex:none}.field.featured img{filter:brightness(0) saturate(100%) invert(83%) sepia(64%) saturate(612%) hue-rotate(21deg) brightness(105%) contrast(102%)}
.field .divider{height:22px;width:1px;background:#8c9690;opacity:.7;flex:none}
.field input{min-width:0;width:100%;background:none;border:0;outline:0;color:#fff;font-size:16px}
.field input::placeholder{color:#b8beb9;opacity:1}
.eyebtn{flex:none;width:32px;height:35px;border:0;background:transparent;display:flex;align-items:center;justify-content:center;padding:0}
.eyebtn img{width:22px;height:22px;opacity:.7}
.form-options{display:flex;align-items:center;justify-content:space-between;margin-top:20px;min-height:28px;gap:8px;font-size:14px}
.checklabel{display:flex;gap:10px;align-items:center;cursor:pointer;color:#f8f8f8;min-width:0}.checklabel input{position:absolute;opacity:0;width:1px;height:1px}
.checkmark{width:21px;height:21px;display:flex;align-items:center;justify-content:center;border:1.5px solid var(--lime);border-radius:6px;color:var(--lime);flex:none}
.checkmark img{width:16px;height:16px;filter:brightness(0) saturate(100%) invert(83%) sepia(64%) saturate(612%) hue-rotate(21deg) brightness(105%) contrast(102%);display:none}
.checklabel input:checked+.checkmark img{display:block}.checklabel input:focus-visible+.checkmark{outline:2px solid white}
.text-link{border:0;background:none;padding:0;color:var(--lime);font-size:13px;text-decoration:none}
.actions{display:flex;flex-direction:column;gap:14px;margin-top:25px}
.action{min-height:54px;border-radius:13px;font-size:19px;font-weight:800;letter-spacing:.06em;text-align:center;text-decoration:none;display:flex;align-items:center;justify-content:center}
.action.primary{background:linear-gradient(180deg,#d4ff68,#baff25);color:#030600;border:1px solid #d5ff7d;box-shadow:0 0 20px rgba(175,255,25,.2)}
.action.secondary{border:1.5px solid var(--lime);background:linear-gradient(135deg,#101713,#101411);color:white}
.action:hover{filter:brightness(1.07)}
.card-caption{display:flex;align-items:center;gap:12px;font-size:12px;color:#bcc2bc;margin:20px 0 0;white-space:nowrap;justify-content:center}
.card-caption:before,.card-caption:after{content:"";height:1px;background:#6a716e;flex:1}
.mode-title{height:49px;width:100%;border-radius:30px;background:linear-gradient(180deg,#d7ff7d,#baff28);color:#060900;display:flex;align-items:center;justify-content:center;font-size:21px;font-weight:850;letter-spacing:.05em;box-shadow:0 0 12px rgba(196,255,55,.25)}
.register .form-card{margin-top:32px;padding-top:47px}.register .fields{margin-top:19px;gap:13px}.register .field{height:52px}.register .form-options{margin-top:16px}.register .actions{margin-top:22px;gap:11px}.register .action{min-height:50px}.register .card-caption{margin-top:18px}
.message{margin-top:15px;border:1px solid #547a35;border-radius:10px;padding:12px 14px;font-size:13px;background:#0e2115;color:#e4ffc3;display:none;line-height:1.6}.message.error{border-color:#ab5547;background:#2b1716;color:#ffcbc6}.message.show{display:block}
.notice{color:#99a39b; font-size:12px; margin:17px auto 0; text-align:center; max-width:390px; line-height:1.6}
@media(min-width:550px){.auth-shell{padding-top:26px}.intro{margin-top:37px}.form-card{margin-top:50px}}
@media(max-width:350px){.auth-shell{padding:16px 10px 28px}.form-card{padding-left:14px;padding-right:14px}.register .form-card{padding-left:14px;padding-right:14px}.intro h1{font-size:32px}.field{padding:0 10px}.checklabel{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* Integration with the existing verification and agreement flows. */
.verification-fields{display:flex;flex-direction:column;gap:13px;margin-top:13px}
.field .login-item-send{flex:none;white-space:nowrap;font-size:11px}
.captcha-refresh{flex:none;border:0;padding:0;background:transparent}
.field .login-item-captcha{width:90px;height:36px;object-fit:contain;filter:none}
.action:disabled,.login-item-send:disabled{opacity:.6;cursor:wait}
.hide{display:none!important}
.z-register{position:fixed;inset:0;z-index:1000;background:rgba(0,0,0,.8);display:flex;align-items:center;justify-content:center;padding:20px}
.mask-register{display:flex;flex-direction:column;width:100%;max-width:465px;max-height:85vh;max-height:85svh;border:1px solid #52615c;border-radius:18px;background:#121717;padding:22px;color:var(--text)}
.mask-register-tit{font-size:18px;font-weight:700;margin-bottom:16px}
.mask-register-txt{overflow:auto;line-height:1.7;font-size:14px}
.mask-register-txt h3{font-size:16px;margin:16px 0 8px;color:var(--lime)}
.mask-register-txt h6{font-size:14px;margin:12px 0 6px}
.mask-register-txt p{margin:8px 0}
.mask-register-btn{display:flex;gap:12px;margin-top:18px}
.mask-register-btn button{flex:1;padding:12px 6px;border:1px solid var(--lime);border-radius:10px;color:var(--text);background:transparent}
.mask-register-btn .activated{background:var(--lime);color:#000}
button:focus-visible,a:focus-visible{outline:2px solid #fff;outline-offset:4px}
.recover .intro h1{font-size:28px;letter-spacing:.025em}
.recover .intro p{line-height:1.6}
.recover .field .login-item-send{min-width:82px;min-height:34px;padding:0 10px;border:1px solid var(--lime);border-radius:9px;background:rgba(186,253,40,.08);font-weight:700}
.recover .field .login-item-send:hover{background:rgba(186,253,40,.16)}
.recover .actions{margin-top:28px}
@media(max-width:350px){.recover .field{gap:9px}.recover .field .login-item-send{min-width:74px;padding:0 6px}}
@media(max-width:380px){.form-options{font-size:12px}.text-link{font-size:12px}.intro p{font-size:13px}.field input{font-size:14px}}
