.royal-shared-auth{position:fixed;inset:0;top:var(--royal-auth-top,0px);height:var(--royal-auth-height,100dvh);z-index:1300;display:grid;place-items:center;padding:24px;background:rgba(2,6,13,.96);color:#f5f3ee;font:14px/1.5 Inter,Arial,sans-serif;overscroll-behavior:contain;isolation:isolate}
.royal-shared-auth[hidden]{display:none!important}
.royal-shared-auth,.royal-shared-auth *{box-sizing:border-box}
.royal-shared-auth .royal-auth-card{position:relative;display:flex;flex-direction:column;width:min(460px,100%);height:min(680px,100%);max-height:100%;overflow:hidden;padding:32px;border:1px solid #c6a3636b;border-radius:26px;background:radial-gradient(ellipse at 50% 0,#c7a36312,transparent 56%),linear-gradient(155deg,#17202d,#0c1320 70%);box-shadow:0 32px 100px #000a,inset 0 1px #ffedc21a;animation:royal-auth-enter .2s ease-out}
.royal-auth-card>.royal-auth-brand,.royal-auth-card>.royal-auth-heading,.royal-auth-card>.royal-auth-tabs,.royal-auth-card>.royal-auth-security{flex-shrink:0}
.royal-auth-body,.royal-auth-body>[data-auth-pane].active,.royal-auth-body form{display:flex;flex-direction:column;flex:1;min-height:0}
.royal-auth-fields{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#74603b #101723;padding:0 4px 4px}
.royal-auth-body .royal-auth-submit,.royal-auth-body .royal-auth-note{flex-shrink:0}
.royal-auth-body .royal-auth-error{flex-shrink:0;max-height:70px;overflow:auto}
.royal-auth-card:before{position:absolute;content:"";top:0;left:24%;right:24%;height:1px;background:linear-gradient(90deg,transparent,#f3d391,transparent);pointer-events:none}
.royal-shared-auth button,.royal-shared-auth input{font:inherit}
.royal-shared-auth button{cursor:pointer}
.royal-auth-close{position:absolute;right:8px;top:8px;z-index:2;display:grid;width:34px;height:34px;place-items:center;border:1px solid #ffffff1c;border-radius:50%;padding:8px;background:#ffffff05;color:#c4ccd7;transition:background .15s,color .15s}
.royal-auth-close:hover{background:#ffffff12;color:#fff}
.royal-shared-auth svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.royal-auth-close svg{width:18px;height:18px}
.royal-auth-brand{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin:0 0 28px;color:#f2d393;line-height:1.2}
.royal-auth-brand-logo{width:43px;height:47px;flex:0 0 43px;object-fit:contain}
.royal-auth-brand-image{min-width:0;max-width:calc(100% - 51px);max-height:52px;object-fit:contain}
.royal-auth-brand-name{display:flex;white-space:nowrap;font:700 clamp(24px,7vw,36px)/1.3 Oswald,sans-serif;letter-spacing:-.5px}
.royal-auth-brand-gold{background:linear-gradient(180deg,#fff2a8 0%,#e8bd48 42%,#9e6414 100%);background-clip:text;-webkit-background-clip:text;color:transparent}
.royal-auth-brand-silver{background:linear-gradient(180deg,#fff 0%,#ccd4df 42%,#7f8998 100%);background-clip:text;-webkit-background-clip:text;color:transparent}
.royal-auth-brand small{display:block;margin-top:6px;color:#9b927e;font-size:8px;font-weight:600;letter-spacing:1.8px}
.royal-auth-emblem{display:grid;place-items:center;width:43px;height:43px;flex:0 0 43px;border:1px solid #b99a5b70;border-radius:14px;background:linear-gradient(145deg,#f0cb7521,#aa742608);box-shadow:inset 0 1px #ffdf9b1c}
.royal-auth-emblem svg{width:29px;height:29px;stroke:#eac77e;stroke-width:1.5}
.royal-auth-heading{margin-bottom:24px;text-align:center}
.royal-auth-heading[hidden]{display:none!important}
.royal-auth-eyebrow{color:#bca16b;font-size:9px;font-weight:700;letter-spacing:2.5px}
.royal-shared-auth h2{margin:10px 0 9px;color:#faf7ef;font-size:27px;line-height:1.2;font-weight:700;letter-spacing:-.8px}
.royal-auth-heading p{max-width:310px;margin:0 auto;color:#aab3c3;font-size:12px;line-height:1.7}
.royal-auth-tabs{display:flex;gap:16px;padding:0;margin-bottom:23px;border:0;border-bottom:1px solid #75869b40;border-radius:0;background:transparent}
.royal-auth-tabs button{position:relative;display:flex;align-items:center;justify-content:center;flex:1;min-height:40px;padding:8px 10px 12px;white-space:nowrap;border:0;border-radius:8px 8px 0 0;background:transparent;color:#8e9db2;font-size:13px;font-weight:700;transition:background .15s,color .15s}
.royal-auth-tabs button:hover{background:#ffffff05;color:#e7edf7}
.royal-auth-tabs button.active{background:linear-gradient(180deg,#a9c6e509,#a9c6e514);color:#e0ecfc;box-shadow:none}
.royal-auth-tabs button.active:after{content:"";position:absolute;bottom:-1px;left:12px;right:12px;height:2px;border-radius:2px;background:linear-gradient(90deg,#718eaf,#c0d6ef,#718eaf)}
.royal-shared-auth [data-auth-pane]:not(.active){display:none}
.royal-auth-field{display:block;margin-top:16px;color:#d6dbe4;font-size:12px;font-weight:600}
.royal-auth-input{position:relative;display:block;margin-top:8px}
.royal-auth-input>svg{position:absolute;left:14px;top:50%;width:19px;height:19px;color:#8895a8;transform:translateY(-50%);pointer-events:none}
.royal-shared-auth .royal-auth-input input{display:block;width:100%;height:51px;border:1px solid #364151;border-radius:11px;padding:0 46px 0 43px;background:#090f1b;color:#f7f9fc;font-size:16px;font-weight:450;outline:none;transition:border-color .15s,box-shadow .15s}
.royal-auth-input input:focus{border-color:#c9a45f;box-shadow:0 0 0 3px #d9af5514}
.royal-auth-input:focus-within>svg{color:#e5c079}
.royal-auth-reveal{position:absolute;right:5px;top:5px;display:grid;place-items:center;width:41px;height:41px;border:0;border-radius:8px;background:transparent;color:#939fb1}
.royal-auth-reveal:hover{color:#f3d393;background:#ffffff08}
.royal-auth-reveal svg{width:20px;height:20px}
.royal-auth-eye-slash{display:none}.royal-auth-reveal[aria-pressed=true] .royal-auth-eye-slash{display:block}
.royal-auth-hint{margin:9px 0 0;color:#9ca8bc;font-size:10px;line-height:1.6}
.royal-auth-submit{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:44px;margin-top:24px;border:1px solid #dfaa38;border-radius:11px;padding:9px 20px;background:linear-gradient(115deg,#f1c65a 0%,#e8b438 38%,#d59420 72%,#c38217 100%);color:#241a09;font-weight:800;font-size:14px;white-space:nowrap;box-shadow:0 8px 24px #0003,inset 0 1px #ffe5a070;transition:filter .15s,transform .15s}
.royal-auth-submit svg{width:18px;height:18px}.royal-auth-submit:hover{filter:brightness(1.07)}.royal-auth-submit:active{transform:translateY(1px)}
.royal-shared-auth .royal-auth-submit{font-size:15px;font-weight:800;letter-spacing:.35px;text-shadow:0 1px #ffe5a040;box-shadow:0 7px 20px #0005,inset 0 1px #ffe9ad99,inset 0 -2px #8c530433}
.royal-shared-auth .royal-auth-submit svg{stroke-width:2.4}
.royal-auth-note{margin:19px 0 0;text-align:center;color:#aab3c3;font-size:11px}
.royal-auth-note button{border:0;padding:3px 2px;background:transparent;color:#f0ce89;font-size:11px;font-weight:700}
.royal-auth-security{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:25px;border-top:1px solid #ffffff0d;padding-top:18px;color:#98a4b6;font-size:9px;white-space:nowrap}
.royal-auth-security svg{width:16px;height:16px;color:#c4aa73}.royal-auth-security i{width:3px;height:3px;margin:0 2px;border-radius:50%;background:#647187}
.royal-auth-error{margin:0 0 16px;border:1px solid #e9818155;border-radius:10px;padding:12px;background:#e2676710;color:#ffc3c3;font-size:12px;line-height:1.6}
.royal-shared-auth :focus-visible{outline:2px solid #f1d292;outline-offset:3px}
@keyframes royal-auth-enter{from{opacity:0}to{opacity:1}}
@media(max-width:780px){.royal-shared-auth{padding:max(14px,env(safe-area-inset-top)) 16px max(14px,env(safe-area-inset-bottom))}.royal-shared-auth .royal-auth-card{padding:27px 23px 23px;border-radius:23px}.royal-auth-brand{margin-bottom:24px;font-size:16px}.royal-shared-auth h2{font-size:25px}.royal-auth-heading{margin-bottom:20px}.royal-auth-tabs{margin-bottom:19px}.royal-auth-security{margin-top:22px;padding-top:16px}}
.royal-auth-compact{padding:12px}
.royal-auth-compact .royal-auth-card{padding:16px 23px}
.royal-auth-compact .royal-auth-brand{margin-bottom:8px}
.royal-auth-compact .royal-auth-brand-logo{height:32px;width:30px;flex-basis:30px}
.royal-auth-compact .royal-auth-brand-name{font-size:24px}
.royal-auth-compact .royal-auth-brand-image{max-height:32px}
.royal-auth-compact .royal-auth-heading{margin-bottom:8px}
.royal-auth-compact .royal-auth-heading p,.royal-auth-compact .royal-auth-eyebrow{display:none}
.royal-auth-compact h2{font-size:20px;margin:0}
.royal-auth-compact .royal-auth-tabs{margin-bottom:8px}
.royal-auth-compact .royal-auth-tabs button{min-height:34px;padding:6px}
.royal-auth-compact .royal-auth-body .royal-auth-submit{margin-top:10px}
.royal-auth-compact .royal-auth-note{margin-top:6px}
.royal-auth-compact .royal-auth-card>.royal-auth-security{margin-top:10px;padding-top:8px}
.royal-auth-tight .royal-auth-heading,.royal-auth-tight .royal-auth-security{display:none}
.royal-auth-fields{scroll-padding-block:8px;-webkit-overflow-scrolling:touch}
@media(prefers-reduced-motion:reduce){.royal-shared-auth *{animation:none!important;transition:none!important}}
