:root{--bg:#221838;--panel:#2f2150;--soft:#35255a;--line:rgba(188,136,245,.24);--accent:#bc88f5;--pale:#efe7fe;--muted:#a99ab8}*{box-sizing:border-box}html,body{min-height:100%;margin:0}body{background:var(--bg);color:#fff;font-family:Inter,Arial,sans-serif}.auth-topbar{position:sticky;z-index:20;top:0;display:flex;height:64px;align-items:center;gap:20px;padding:0 max(24px,calc((100vw - 1275px)/2));border-bottom:2px solid rgba(188,136,245,.45);background:rgba(34,24,56,.97);box-shadow:0 5px 18px rgba(10,4,20,.22)}.auth-topbar-logo{display:flex;width:54px;height:54px;align-items:center}.auth-topbar-logo img{width:54px;height:48px;object-fit:contain}.auth-topbar nav{display:flex;align-items:center;gap:3px}.auth-topbar nav a{padding:10px 12px;border-radius:8px;color:#d8cce4;font-size:12px;font-weight:700;text-decoration:none}.auth-topbar nav a:hover{background:#35255a;color:#fff}.auth-topbar-actions{display:flex;align-items:center;gap:10px;margin-left:auto}.auth-discord{display:grid;width:38px;height:38px;place-items:center;border-radius:8px}.auth-discord:hover{background:#5865f2}.auth-discord img{width:20px;height:18px;filter:brightness(0) invert(1)}.auth-play{padding:11px 18px;border-radius:8px;background:linear-gradient(180deg,#bc88f5,#9c62e8);color:#32165b;font-size:12px;font-weight:800;text-decoration:none}.auth-page{display:grid;min-height:calc(100dvh - 64px);grid-template-columns:1.15fr 1fr;background:#221838}.auth-art{position:relative;min-height:calc(100dvh - 64px);overflow:hidden;background:#241647 url('../images/hero-red-cosmos.webp') center/cover no-repeat}.auth-art-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(34,24,56,.08),rgba(34,24,56,.06) 58%,#221838),linear-gradient(0deg,rgba(34,24,56,.12),transparent 60%,rgba(34,24,56,.28))}.auth-art-logo{position:absolute;top:32px;left:38px;width:155px;height:90px;object-fit:contain;filter:drop-shadow(0 8px 16px rgba(0,0,0,.45))}.auth-art-copy{position:absolute;right:60px;bottom:55px;left:60px}.auth-art-copy span{color:#d7b6ff;font-size:10px;font-weight:800;letter-spacing:.16em}.auth-art-copy h2{margin:9px 0 0;color:#fff;font:800 clamp(35px,4vw,58px)/.98 Cinzel,serif;text-shadow:0 3px 15px rgba(0,0,0,.55)}.auth-form-side{position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:45px 28px}.auth-form-side::before{content:"";position:absolute;right:-220px;top:50%;width:520px;height:520px;border:1px solid rgba(188,136,245,.08);border-radius:50%;transform:translateY(-50%);box-shadow:0 0 0 70px rgba(188,136,245,.025),0 0 0 140px rgba(188,136,245,.018)}.auth-form-wrap{position:relative;width:100%;max-width:448px}.auth-form-wrap.register{max-width:540px}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;margin-bottom:22px;padding:4px;border:1px solid rgba(188,136,245,.26);border-radius:16px;background:rgba(255,255,255,.04)}.auth-tabs a{padding:11px;border-radius:12px;color:#c7b9d4;font-size:13px;font-weight:800;text-align:center;text-decoration:none}.auth-tabs a.active{background:linear-gradient(180deg,#d5afff,#a96fe8);color:#32165b;box-shadow:0 5px 16px rgba(188,136,245,.28)}.auth-panel{padding:32px 36px;border:1px solid rgba(188,136,245,.22);border-radius:18px;background:linear-gradient(145deg,rgba(53,37,90,.96),rgba(34,24,56,.98));box-shadow:0 25px 65px rgba(10,4,20,.32)}.auth-panel-head{display:flex;align-items:center;gap:15px}.auth-panel-head>span{display:grid;flex:0 0 56px;height:56px;place-items:center;border:2px solid #bc88f5;clip-path:polygon(25% 0,75% 0,100% 25%,100% 75%,75% 100%,25% 100%,0 75%,0 25%);background:#221838}.auth-panel-head img{width:47px;height:42px;object-fit:contain}.auth-panel-head h1{margin:0;color:#fff;font:700 28px/1.15 Cinzel,serif}.auth-panel-head p{margin:5px 0 0;color:#b9abc6;font-size:12px}.auth-panel form{display:grid;gap:17px;margin-top:27px}.auth-field{display:grid;gap:7px}.auth-field label{color:#efe7fe;font-size:12px;font-weight:700}.auth-field label small{color:#9d8cac}.auth-field>div{position:relative;display:flex;height:48px;align-items:center;border:1px solid rgba(188,136,245,.24);border-radius:11px;background:#221838}.auth-field>div:focus-within{border-color:#bc88f5;box-shadow:0 0 0 3px rgba(188,136,245,.12)}.auth-field>div>i{width:42px;color:#bc88f5;text-align:center}.auth-field input{min-width:0;height:46px;flex:1;padding:0 12px 0 0;border:0;outline:0;background:transparent;color:#fff;font:13px Inter}.auth-field input::placeholder{color:#786987}.auth-field button{display:grid;width:42px;height:42px;place-items:center;border:0;background:transparent;color:#9483a6}.auth-options{display:flex;justify-content:space-between;font-size:12px}.auth-options a,.auth-panel footer a{color:#c99cf5;font-weight:700;text-decoration:none}.auth-submit{height:49px;border:0;border-radius:10px;background:linear-gradient(180deg,#bc88f5,#9d64e4);color:#32165b;font-size:13px;font-weight:800;cursor:pointer}.auth-submit:hover{filter:brightness(1.1)}.auth-panel footer{margin-top:24px;padding-top:20px;border-top:1px solid rgba(255,255,255,.1);color:#a99ab8;font-size:12px;text-align:center}.auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.auth-terms{display:flex;align-items:flex-start;gap:9px;color:#b7a9c3;font-size:11px;line-height:1.45}.auth-terms input{margin-top:2px;accent-color:#bc88f5}.auth-terms b{color:#d2aef5}.register .auth-panel{padding-top:26px;padding-bottom:26px}.register .auth-panel form{gap:11px;margin-top:18px}.register .auth-field{gap:5px}.register .auth-field>div{height:42px}.register .auth-field input{height:40px}.alert{margin:18px 0 0;padding:12px;border:1px solid rgba(248,113,113,.3);border-radius:8px;background:rgba(127,29,29,.24);color:#fecaca;font-size:12px}.alert ul{margin:0;padding-left:18px}@media(max-width:980px){.auth-topbar nav{display:none}.auth-page{grid-template-columns:1fr}.auth-art{display:none}.auth-form-side{min-height:calc(100dvh - 64px)}}@media(max-width:560px){.auth-topbar{padding:0 16px}.auth-play{padding:10px 13px}.auth-form-side{padding:24px 14px}.auth-panel{padding:25px 20px}.auth-grid{grid-template-columns:1fr}.auth-panel-head h1{font-size:23px}}
.auth-form-side,.auth-form-wrap,.auth-panel,.auth-panel form,.auth-field,.auth-field>div,.auth-grid{min-width:0!important;max-width:100%!important}.auth-form-wrap,.auth-panel,.auth-panel form,.auth-field,.auth-field>div{width:100%!important}.auth-field>div{overflow:hidden!important}.auth-field input{width:0!important;min-width:0!important;max-width:100%!important;flex:1 1 0!important}.auth-field button{flex:0 0 42px!important}
body:has(.auth-form-wrap.register) .auth-form-side{align-items:flex-start!important;padding:26px 28px 34px!important;overflow:visible!important}.auth-form-wrap.register{width:100%!important;max-width:600px!important;margin:0 auto!important}.register .auth-tabs{margin-bottom:14px!important}.register .auth-tabs a{padding:9px!important}.register .auth-panel{padding:20px 28px 22px!important;border-radius:15px!important}.register .auth-panel-head>span{flex-basis:46px!important;height:46px!important}.register .auth-panel-head img{width:39px!important;height:35px!important}.register .auth-panel-head h1{font-size:25px!important}.register .auth-panel-head p{font-size:11px!important}.register .auth-panel form{gap:8px!important;margin-top:14px!important}.register .auth-grid{gap:10px!important}.register .auth-field{gap:4px!important}.register .auth-field label{font-size:10px!important}.register .auth-field>div{height:38px!important;border-radius:8px!important}.register .auth-field input{height:36px!important;font-size:11px!important}.register .auth-field>div>i{width:36px!important;font-size:11px!important}.register .auth-field button{width:36px!important;height:36px!important;flex-basis:36px!important}.register .auth-terms{font-size:10px!important}.register .auth-submit{height:42px!important}.register .auth-panel footer{margin-top:14px!important;padding-top:13px!important}
@media(max-width:980px){body:has(.auth-form-wrap.register) .auth-form-side{align-items:center!important;padding:28px 18px!important}}@media(max-width:560px){.register .auth-panel{padding:20px 16px!important}.register .auth-grid{grid-template-columns:1fr!important}.register .auth-panel-head h1{font-size:21px!important}}
