:root{color-scheme:dark;--gold:#f0c752;--cream:#fff2d1;--panel:#15130e;--line:#8a6b2c}
*{box-sizing:border-box}
body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 50% -10%,#30220d,#100e0b 46%,#080807 85%);color:#fff5df;font:15px/1.5 system-ui,Segoe UI,sans-serif}
.auth{width:min(1050px,100%);margin:auto;padding:18px 20px 120px}
.brand{display:flex;align-items:center;gap:10px;color:#ffe08a;font-weight:1000;font-size:19px;letter-spacing:.12em;text-decoration:none}
.brand img{width:42px;height:42px;object-fit:contain}
.panel{margin-top:16px;padding:clamp(18px,3vw,30px);border:1px solid #b98c32;border-radius:23px;background:linear-gradient(145deg,#1a160e,#0b0b09);box-shadow:0 20px 70px #0009,inset 0 1px #fff2}
.eyebrow{color:#ffe08a;font-size:10px;font-weight:1000;letter-spacing:.2em}
.panel h1{margin:8px 0;font-size:32px;letter-spacing:-.04em;color:#fff2d1}
.panel p{margin:0 0 18px;color:#bdaf91}
.panel form{display:grid;gap:14px}
.panel label{display:grid;gap:6px;color:#f5e7ca;font-size:12px;font-weight:800}
.panel input:not([type=hidden]){width:100%;height:46px;padding:0 13px;border:1px solid #8a6b2c;border-radius:12px;background:#090806;color:#fff;outline:none}
.panel input:focus{border-color:var(--gold);box-shadow:0 0 0 3px #ffd36c20}
.panel button{height:48px;border:1px solid #fff4;border-radius:12px;background:linear-gradient(130deg,#ffe58a,#d09a29);color:#24190a;font-weight:1000;cursor:pointer}
.panel nav{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:19px}
.panel nav a,.success a{color:#ffe08a;font-weight:850;text-decoration:none}
.error,.success{padding:10px 12px;border-radius:10px;margin:12px 0;background:#7a242a;color:#ffe5e5}.success{background:#164932;color:#dcffe8}
.account-top{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:52px}
.account-links{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.account-links a{display:inline-flex;align-items:center;min-height:40px;padding:0 13px;border:1px solid #81622b;border-radius:11px;color:#ffe08a;text-decoration:none;font-size:11px;font-weight:950;letter-spacing:.04em}
.account-links a:hover{background:#f0c752;color:#24190a}
.site-bottom{display:none}
.profile{padding:18px;border:1px solid #8a6b2c;border-radius:14px;background:#11100c;margin:14px 0}.profile p{margin:8px 0;color:#eee0bf}.profile b{color:#ffe183}
@media(max-width:760px){.auth{padding:12px 12px 115px}.account-top{align-items:center}.account-links{display:none}.site-bottom{position:fixed;z-index:40;left:9px;right:9px;bottom:max(8px,env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:7px;border:1px solid #c9a451aa;border-radius:17px;background:linear-gradient(100deg,#0d0c09f5,#21190bf5);box-shadow:0 12px 34px #000c,0 0 25px #c5953433;backdrop-filter:blur(16px)}.site-bottom a{min-height:46px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:1px solid transparent;border-radius:11px;color:#e5d8b8;text-decoration:none;font-size:8px;font-weight:900}.site-bottom a span{font-size:17px;line-height:1}.site-bottom a.active{border-color:#ffe59a;background:linear-gradient(135deg,#ffe78b,#bd8724);color:#24190a}.panel{margin-top:12px}}
.site-bottom a{transition:transform .18s,background .2s,color .2s,box-shadow .2s}.site-bottom a:active{transform:scale(.94)}.site-bottom a.active{box-shadow:0 3px 13px #c18a2d55;animation:nav-pulse 2.8s ease-in-out infinite}@keyframes nav-pulse{0%,100%{filter:brightness(1)}50%{filter:brightness(1.1)}}@media(prefers-reduced-motion:reduce){.site-bottom a,.site-bottom a.active{animation:none;transition:none}}

.auth .brand,.auth .auth-logo,.auth .brand-mark{display:none!important}
