/* Pre-login only: session-backed member layouts are deliberately untouched. */
.mw-layout:has(.mw-auth-page){display:block;background:radial-gradient(ellipse at 3% 2%,#163d2c44,transparent 46%),#03100a}
.mw-layout:has(.mw-auth-page)>.mw-sidebar,.mw-layout:has(.mw-auth-page)>.mw-menu-shade,.mw-shell:has(.mw-auth-page)>.mw-topbar,.mw-shell:has(.mw-auth-page)>.mw-footer{display:none}
.mw-shell:has(.mw-auth-page){min-height:100svh;grid-column:auto}
.mw-main:has(.mw-auth-page){padding:0 40px 30px;max-width:1360px}
.mw-main:has(.mw-auth-page)>.mw-status-banner,.mw-main:has(.mw-auth-page)>.mw-error{margin:18px auto 0;max-width:1240px}
.mw-main:has(.mw-auth-page)>.mw-status-banner[data-state="signed-out"],.mw-main:has(.mw-auth-page)>.mw-status-banner[data-state="restoring"]{display:none}
.mw-auth-page{min-width:0}
.mw-auth-header{min-height:108px;display:flex;justify-content:space-between;align-items:center;gap:24px}
.mw-auth-header .mw-brand,.mw-auth-header .mw-brand img{width:132px;max-height:46px}
.mw-auth-nav{display:flex;align-items:center;gap:28px;font-size:12px;font-weight:600;line-height:1.6}
.mw-auth-nav a{min-height:44px;display:inline-flex;align-items:center;color:var(--mw-soft)}
.mw-auth-nav a:hover{color:var(--mw-gold-light)}
.mw-auth-page .mw-signin-grid{grid-template-columns:minmax(0,1.08fr) minmax(370px,.92fr);gap:20px;align-items:stretch}
.mw-auth-page .mw-signin-story{min-height:570px;border-radius:26px;padding:0;border-color:#d6b77433;isolation:isolate;background:#071d14;box-shadow:0 24px 70px #0003}
.mw-auth-portrait{position:absolute;inset:0;z-index:-3;width:100%;height:100%;object-fit:cover;object-position:50% 15%;opacity:.8}
.mw-auth-page .mw-signin-story:before{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(180deg,#02100905 5%,#03130c44 29%,#03130cd9 57%,#03130c 84%),linear-gradient(90deg,#03130c44,transparent 80%)}
.mw-auth-page .mw-signin-story:after{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;box-shadow:inset 0 0 100px #0002;pointer-events:none}
.mw-auth-story-copy{margin-top:auto;padding:280px 40px 38px}
.mw-auth-page .mw-signin-story h1{max-width:475px;margin:0 0 18px;font-size:clamp(32px,3vw,44px);line-height:1.15;letter-spacing:-1.65px;font-weight:600;text-wrap:balance}
.mw-auth-story-copy>p{max-width:425px;font-size:14px;line-height:1.85;color:#c5cfc5;margin:0}
.mw-auth-page .mw-signin-card{padding:36px 38px;border-radius:26px;border-color:#d6b7742b;background:linear-gradient(140deg,#0b2318eb,#071a11);box-shadow:0 24px 70px #0002;min-width:0}
.mw-auth-page .mw-signin-card>h2{font-size:25px;line-height:1.35;letter-spacing:-.9px;margin-bottom:12px}
.mw-auth-page .mw-signin-card>p{font-size:12px;line-height:1.85;margin-bottom:24px}
.mw-auth-page .mw-auth-modes{border-radius:12px;margin-bottom:24px}
.mw-auth-page .mw-auth-mode{font-size:12px;min-height:44px}
.mw-auth-page .mw-form label{font-size:12px;line-height:1.6}
.mw-auth-page .mw-form input{min-height:54px;border-color:var(--mw-line-strong);background:#010b0666;border-radius:12px}
.mw-auth-page .mw-form .mw-button{min-height:53px;border:0;font-size:12px;box-shadow:0 8px 24px #c99b5310}
.mw-auth-page .mw-form-note{font-size:12px;line-height:1.85;margin-top:13px;color:#a6b3a8}
.mw-auth-page .mw-form-divider{font-size:12px;margin:20px 0 13px;color:#8fa093}
.mw-auth-page .mw-oauth{gap:9px}
.mw-auth-page .mw-oauth .mw-button{min-height:44px;font-size:12px;background:#04120b33}
.mw-auth-page .mw-oauth .mw-button:disabled{opacity:.48}
.mw-auth-page .mw-oauth .mw-button{white-space:normal;line-height:1.45;gap:8px;padding:10px 12px}
.mw-auth-page .mw-oauth .mw-provider{flex:0 0 auto;align-self:center}
@media(max-width:420px){.mw-auth-page .mw-oauth{grid-template-columns:1fr}.mw-auth-page .mw-oauth .mw-button{min-height:48px}}
.mw-auth-page .mw-oauth-help .mw-form-note{font-size:12px;line-height:1.85;margin-top:10px}
.mw-auth-first-visit{margin-top:22px;padding:14px 0 0;border-top:1px solid var(--mw-line);display:flex;flex-wrap:wrap;align-items:center;gap:4px 14px}
.mw-auth-first-visit>span{font-size:12px;line-height:1.85;color:#a7b5a9}
.mw-auth-first-link{display:inline-flex;align-items:center;min-height:44px;color:var(--mw-gold-light);font-size:12px;font-weight:600;text-decoration:underline;text-underline-offset:4px}
.mw-auth-waiting{min-height:calc(100svh - 30px)}
.mw-auth-recovery{max-width:660px;margin:90px auto 0;padding:55px 34px;background:radial-gradient(ellipse at 50% 0%,#c99b5309,transparent 70%),linear-gradient(140deg,#0a2418,#04140d);border-color:#d6b77433;box-shadow:0 24px 90px #0002}
.mw-auth-recovery .mw-button{margin:24px 7px 0}
.mw-auth-mobile-entry{padding-bottom:35px}
.mw-mobile-entry{max-width:680px;margin:50px auto 0;padding:42px 46px;border:1px solid #d6b77440;border-radius:26px;background:radial-gradient(ellipse at 50% 0%,#c99b5312,transparent 62%),linear-gradient(140deg,#0b261a,#05170e);box-shadow:0 24px 70px #0002;text-align:center;min-width:0;overflow-wrap:anywhere}
.mw-mobile-entry-mark{width:64px;height:64px;object-fit:contain;margin:0 auto 24px}
.mw-mobile-entry h1{font-size:clamp(29px,3.1vw,40px);line-height:1.2;letter-spacing:-1.2px;margin:0 0 19px;text-wrap:balance}
.mw-mobile-entry-lead{font-size:14px;line-height:1.9;color:#c0ccc0;margin:0 auto 28px;max-width:530px}
.mw-mobile-entry-download{min-height:52px;width:100%;white-space:normal;font-size:13px;line-height:1.6;padding:13px 20px}
.mw-mobile-entry-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:24px;padding-top:24px;border-top:1px solid var(--mw-line)}
.mw-mobile-entry-check{min-height:48px;white-space:normal;font-size:12px;line-height:1.6;padding:12px 18px}
.mw-mobile-entry-account{display:inline-flex;align-items:center;justify-content:center;min-height:48px;font-size:12px;line-height:1.6;padding:10px 12px;border:0;background:transparent;color:var(--mw-gold-light);text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.mw-mobile-entry-account:disabled{opacity:.45;cursor:default}
.mw-mobile-entry-status{font-size:12px;line-height:1.85;color:var(--mw-gold-light);margin:18px 0 0}
@media(max-width:760px){.mw-mobile-entry{margin-top:26px;padding:32px 25px;border-radius:23px}.mw-mobile-entry-mark{width:56px;height:56px;margin-bottom:21px}.mw-mobile-entry h1{font-size:30px}.mw-mobile-entry-lead{font-size:13px}.mw-mobile-entry-actions{gap:6px}.mw-mobile-entry-actions>button{flex:1 1 210px}}
@media(min-width:1600px){.mw-auth-page .mw-signin-grid{gap:28px}.mw-auth-page .mw-signin-card{padding:42px 44px}.mw-auth-story-copy{padding-left:45px;padding-right:45px}}
@media(max-width:1000px){.mw-main:has(.mw-auth-page){padding:0 25px 25px}.mw-auth-page .mw-signin-grid{grid-template-columns:minmax(0,1fr) minmax(340px,1fr);gap:16px}.mw-auth-page .mw-signin-card{padding:30px 25px}.mw-auth-story-copy{padding:260px 27px 32px}.mw-auth-page .mw-signin-story h1{font-size:33px;letter-spacing:-1.2px}}
@media(max-width:760px){.mw-main:has(.mw-auth-page){padding:0 20px 26px}.mw-auth-header{min-height:88px;gap:14px}.mw-auth-header .mw-brand,.mw-auth-header .mw-brand img{width:109px}.mw-auth-nav{gap:14px;font-size:12px}.mw-auth-page .mw-signin-grid{grid-template-columns:1fr;gap:20px;max-width:560px;margin:0 auto}.mw-auth-page .mw-signin-card{order:-1;padding:29px 25px;border-radius:23px}.mw-auth-page .mw-signin-card>h2{font-size:25px}.mw-auth-page .mw-signin-story{min-height:390px;border-radius:23px}.mw-auth-portrait{object-position:50% 13%}.mw-auth-story-copy{padding-top:225px}.mw-auth-page .mw-signin-story h1{font-size:34px;max-width:360px}.mw-auth-recovery{margin-top:55px;padding:40px 24px}.mw-auth-recovery h2{font-size:23px}.mw-auth-recovery p{font-size:13px}}
@media(max-width:420px){.mw-main:has(.mw-auth-page){padding-left:16px;padding-right:16px}.mw-auth-nav{gap:10px}.mw-auth-home{display:none!important}.mw-auth-page .mw-signin-card{padding:26px 21px}.mw-auth-page .mw-signin-card>h2{font-size:24px}.mw-auth-page .mw-auth-mode{font-size:12px}.mw-auth-story-copy{padding:205px 24px 28px}.mw-auth-page .mw-signin-story h1{font-size:30px}}
@media(prefers-reduced-motion:reduce){.mw-auth-page *{scroll-behavior:auto;transition:none}}
