/* Isolated Games sign-in layout: no changes to authenticated pages. */
.mf-auth{--auth-blue:#2864b0;--auth-bg:#f3f6fa;--auth-surface:#fff;--auth-text:#192b3e;--auth-muted:#5d6d7f;--auth-border:#d6e0eb;margin:0;min-height:100vh;min-height:100svh;display:flex;flex-direction:column;color:var(--auth-text);background:radial-gradient(ellipse at 12% 15%,#e9f0f9 0,transparent 55%),var(--auth-bg);font-family:inherit}
.mf-auth *{box-sizing:border-box;min-width:0}
.mf-auth-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px clamp(20px,4vw,64px);font-size:11px;letter-spacing:.13em;font-weight:700;color:var(--auth-muted)}
.mf-auth-header label{display:flex;align-items:center;gap:10px;letter-spacing:0;font-size:12px;font-weight:500}
.mf-auth-header select{padding:9px 28px 9px 12px;border:1px solid var(--auth-border);border-radius:9px;background:var(--auth-surface);color:var(--auth-text);font:inherit;min-height:40px}
.mf-auth-main{display:flex;align-items:center;justify-content:center;flex:1;padding:24px 24px 40px}
.mf-auth-shell{display:grid;grid-template-columns:1fr 1fr;width:100%;max-width:940px;border-radius:24px;overflow:hidden;background:var(--auth-surface);border:1px solid var(--auth-border);box-shadow:0 22px 70px #17375812}
.mf-auth-brand{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;gap:40px;padding:44px;background:#192c40;color:#fff;overflow:hidden}
.mf-auth-brand::after{content:"";position:absolute;z-index:-1;pointer-events:none;width:360px;height:360px;border:1px solid #ffffff14;border-radius:50%;right:-230px;top:100px;box-shadow:0 0 0 45px #ffffff06,0 0 0 90px #ffffff04}
.mf-auth-logo{display:block;width:220px;max-width:100%;height:auto;filter:brightness(0) invert(1)}
.mf-auth-eyebrow,.mf-auth-caption{font-size:10px;font-weight:650;letter-spacing:.16em;line-height:1.6}
.mf-auth-eyebrow{color:#a9c9ed;margin:0 0 14px}
.mf-auth-welcome h1{margin:0 0 18px;font-size:clamp(32px,3.2vw,43px);font-weight:650;letter-spacing:-.045em;line-height:1.15;color:#fff}
.mf-auth-welcome>p:last-child{font-size:14px;line-height:1.7;max-width:300px;margin:0;color:#c2d0df}
.mf-auth-features{list-style:none;padding:0;margin:0;display:grid;gap:14px;font-size:12px;color:#d7e4f2}
.mf-auth-features li{display:flex;align-items:center;gap:11px}
.mf-auth svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round;flex:none}
.mf-auth-features svg{color:#a9c9ed}
.mf-auth-form{padding:48px 44px 32px;align-self:center}
.mf-auth-caption{color:var(--auth-blue)}
.mf-auth-form h2{font-size:30px;font-weight:650;letter-spacing:-.035em;line-height:1.3;margin:10px 0 10px;color:var(--auth-text)}
.mf-auth-form-heading>p{font-size:13px;line-height:1.6;color:var(--auth-muted);margin:0 0 30px}
.mf-auth-field{margin:0 0 20px}
.mf-auth-field label{display:block;font-size:12px;font-weight:600;margin:0 0 9px;color:var(--auth-text)}
.mf-auth-field input{width:100%;height:48px;padding:11px 13px;border:1px solid var(--auth-border);border-radius:10px;color:var(--auth-text);background:var(--auth-surface);font:inherit;font-size:16px;line-height:1.4}
.mf-auth-field input:focus{outline:3px solid #2864b024;outline-offset:1px;border-color:var(--auth-blue)}
.mf-auth-password{position:relative}
.mf-auth-password:has(button:not([hidden])) input{padding-right:51px}
.mf-auth-password-toggle{position:absolute;right:3px;top:3px;display:flex;align-items:center;justify-content:center;width:42px;height:42px;padding:0;border:0;background:transparent;color:var(--auth-muted);cursor:pointer;border-radius:8px}
.mf-auth-password-toggle:hover{background:#2864b010;color:var(--auth-blue)}
.mf-auth [hidden]{display:none!important}
.mf-auth-submit{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:46px;padding:12px 16px;border:1px solid transparent;border-radius:10px;background:var(--auth-blue);color:#fff;font:inherit;font-size:13px;font-weight:600;cursor:pointer;transition:background .15s}
.mf-auth-submit:hover{background:#205595}
.mf-auth :is(a,button,select):focus-visible{outline:3px solid #438be2;outline-offset:4px}
.mf-auth-reset{display:table;margin:20px auto 0;color:var(--auth-blue);font-size:12px;text-decoration:none;text-underline-offset:4px}
.mf-auth-reset:hover{text-decoration:underline}
.mf-auth-public{margin-top:30px;padding-top:22px;border-top:1px solid var(--auth-border);text-align:center}
.mf-auth-public a{color:var(--auth-muted);font-size:12px;text-decoration:none;text-underline-offset:4px}
.mf-auth-public a:hover{text-decoration:underline;color:var(--auth-blue)}
.mf-auth-error,.mf-auth-status{padding:12px 14px;border:1px solid #edc9c5;background:#fff2f0;color:#922719;font-size:13px;line-height:1.5;border-radius:10px;margin-bottom:20px;overflow-wrap:anywhere}
.mf-auth-status{background:#edf8f3;border-color:#bedfce;color:#195b42}
.mf-auth-skip{position:absolute;left:12px;top:-100px;padding:12px;background:var(--auth-surface);color:var(--auth-text);z-index:10}
.mf-auth-skip:focus{top:12px}
.mf-auth>.mf-site-footer{color:var(--auth-muted);padding:14px 24px 20px;text-align:center}
:root[data-theme="dark"] .mf-auth{--auth-blue:#92beff;--auth-bg:#101a25;--auth-surface:#1b2a3b;--auth-text:#edf3fa;--auth-muted:#b6c5d7;--auth-border:#3b4f65;background:radial-gradient(ellipse at 12% 15%,#182f48 0,transparent 55%),var(--auth-bg)}
:root[data-theme="dark"] .mf-auth-brand{background:#122338}
:root[data-theme="dark"] .mf-auth-field input,:root[data-theme="dark"] .mf-auth-header select{background:#152334;color:var(--auth-text);border-color:var(--auth-border)}
:root[data-theme="dark"] .mf-auth-submit{background:#3375c9;color:#fff}
:root[data-theme="dark"] .mf-auth-submit:hover{background:#2c66b2}
:root[data-theme="dark"] .mf-auth-error{background:#3f252c;color:#ffcec7;border-color:#79515a}
:root[data-theme="dark"] .mf-auth-status{background:#183a30;color:#b9eed7;border-color:#467960}
@media(max-width:700px){.mf-auth-header{padding:14px 18px}.mf-auth-main{padding:10px 16px 20px;align-items:flex-start}.mf-auth-shell{grid-template-columns:minmax(0,1fr);max-width:440px;border-radius:18px}.mf-auth-brand{padding:26px 26px 24px;gap:18px}.mf-auth-logo{width:180px}.mf-auth-welcome h1{font-size:26px;margin-bottom:0}.mf-auth-eyebrow{font-size:9px;margin:0 0 8px}.mf-auth-welcome>p:last-child,.mf-auth-features{display:none}.mf-auth-welcome h1 br{display:none}.mf-auth-welcome h1 br:after{content:" "}.mf-auth-form{padding:26px}.mf-auth-form h2{font-size:26px;margin:6px 0}.mf-auth-form-heading>p{margin-bottom:24px}.mf-auth-public{margin-top:24px;padding-top:18px}.mf-auth>.mf-site-footer{padding:10px 16px 16px}.mf-auth-header label{font-size:0;gap:0}.mf-auth-header select{font-size:12px}.mf-auth-caption{font-size:9px}}
@media(max-width:360px){.mf-auth-main{padding-inline:12px}.mf-auth-brand,.mf-auth-form{padding:22px}.mf-auth-header{padding-inline:14px}.mf-auth-welcome h1{font-size:24px}}
@media(prefers-reduced-motion:reduce){.mf-auth-submit{transition:none}}
@media(min-width:701px) and (max-height:760px){.mf-auth-header{padding-block:14px}.mf-auth-main{padding-block:12px 20px}.mf-auth-form{padding:30px 40px 24px}.mf-auth-form-heading>p{margin-bottom:24px}.mf-auth-brand{padding:36px;gap:28px}.mf-auth-public{margin-top:24px;padding-top:18px}.mf-auth>.mf-site-footer{padding-block:10px}}

.mf-auth-help{display:block;color:var(--auth-muted);font-size:11px;line-height:1.6;margin-top:8px;overflow-wrap:anywhere}
.mf-auth-action-link{text-decoration:none;text-align:center}
.mf-auth-submit{white-space:normal;line-height:1.5;overflow-wrap:anywhere}
