@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800;900&display=swap');
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:'DM Sans',sans-serif}body{background:radial-gradient(circle at 15% 10%,#31276a 0,transparent 38%),radial-gradient(circle at 90% 80%,#312258 0,transparent 40%),#0d1224;color:#f7f7ff;min-height:100vh;display:grid;place-items:center;padding:28px 16px}a{color:#bcb2ff;text-decoration:none}a:hover{color:white}.shell{width:min(100%,1020px);display:grid;grid-template-columns:.85fr 1fr;background:#171d35;border:1px solid #373c65;border-radius:24px;overflow:hidden;box-shadow:0 30px 85px #0008}.aside{padding:55px 42px;background:linear-gradient(155deg,#6956ee,#332476 65%,#211c47);display:flex;flex-direction:column;justify-content:space-between;min-height:580px}.logo{font:900 25px Outfit,sans-serif;color:white;display:flex;align-items:center;gap:10px}.logo-mark{background:#fff;color:#6554eb;padding:7px 12px;border-radius:12px}.aside h2{font:800 clamp(30px,3.5vw,48px)/1.12 Outfit;margin:45px 0 15px}.aside p{color:#e3ddff;line-height:1.8}.aside small{color:#cfc5ff}.panel{padding:44px clamp(22px,4vw,55px)}.back{font-size:13px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:2px;color:#b8aaff;margin:30px 0 10px}.panel h1{font:800 34px Outfit;margin:0 0 9px}.muted{color:#aab2cc;font-size:14px;line-height:1.6;margin:0 0 25px}label{display:block;font-size:12px;font-weight:800;color:#dbe0f5;margin:17px 0 8px}.field{position:relative}.field input{width:100%;border:1px solid #424969;border-radius:11px;background:#10172b;color:white;font:500 14px 'DM Sans';padding:15px 65px 15px 16px;outline:none}.field input:focus{border-color:#a395ff;box-shadow:0 0 0 3px #7663ff33}.field input::placeholder{color:#77829e}.field button{position:absolute;right:9px;top:7px;background:transparent;color:#c2b9ff;border:0;padding:8px;cursor:pointer}.submit{display:block;width:100%;border:0;background:linear-gradient(110deg,#7967ff,#9a53e9);color:white;font:800 15px 'DM Sans';padding:16px;border-radius:11px;margin-top:25px;cursor:pointer;box-shadow:0 9px 25px #6756eb50}.submit:hover{filter:brightness(1.13)}.bottom{font-size:13px;text-align:center;margin:22px 0 0;color:#aeb8d3}.alert{border:1px solid #ef7b9b;background:#5d233a;color:#ffe5ed;padding:12px;border-radius:10px;font-size:13px;margin:16px 0}.captcha{margin-top:18px;max-width:100%;overflow:auto}@media(max-width:740px){.shell{grid-template-columns:1fr;max-width:500px}.aside{min-height:auto;padding:22px 25px}.aside h2,.aside p,.aside small{display:none}.panel{padding:28px 25px}.eyebrow{margin-top:25px}}/* v7.36 — compact, centered mobile authentication forms. */
@media(max-width:740px){
 html body.yg-auth-page>main.shell{width:calc(100% - 28px);max-width:500px;margin:22px auto 32px!important;grid-template-columns:minmax(0,1fr);border-radius:20px}
 body.yg-auth-page .shell>.aside{display:none}
 body.yg-auth-page .shell>.panel{padding:24px 22px 26px;min-width:0}
 body.yg-auth-page .panel>.back{display:block;text-align:center;font-size:14px;margin-bottom:22px}
 body.yg-auth-page .panel>.eyebrow{margin:0 0 10px;text-align:center;font-size:11px;letter-spacing:1.6px}
 body.yg-auth-page .panel>h1{text-align:center;font-size:30px;line-height:1.2;margin:0 0 10px}
 body.yg-auth-page .panel>.muted{text-align:center;font-size:15px;line-height:1.6;margin:0 0 22px}
 body.yg-auth-page .panel form label{font-size:14px;margin:14px 0 7px}
 body.yg-auth-page .field input{min-height:48px;padding:12px 64px 12px 14px;font-size:16px!important}
 body.yg-auth-page .field button{top:2px;right:5px;min-height:44px;padding:8px;font-size:14px}
 body.yg-auth-page .submit{margin-top:20px;padding:14px;min-height:48px;font-size:16px}
 body.yg-auth-page .panel>.bottom{font-size:14px;line-height:1.6;margin-top:18px}
}
/* v7.38 — authentication follows the selected Light/Dark mode. */
html:not(.yg-dark) body.yg-auth-page{background:radial-gradient(ellipse at 15% 0%,var(--yg-accent-soft,#ede3f8),transparent 55%),#f6f7fc!important;color:#30233f!important}
html:not(.yg-dark) body.yg-auth-page>.shell{background:#fff;border-color:var(--yg-accent-border,#ddcdea);box-shadow:0 20px 60px #30233f0d}
html:not(.yg-dark) .yg-auth-page .panel h1,html:not(.yg-dark) .yg-auth-page .panel label{color:#30233f}
html:not(.yg-dark) .yg-auth-page .panel .muted,html:not(.yg-dark) .yg-auth-page .panel .bottom{color:#756582}
html:not(.yg-dark) .yg-auth-page .panel a,html:not(.yg-dark) .yg-auth-page .panel .eyebrow,html:not(.yg-dark) .yg-auth-page .field button{color:var(--yg-accent,#8055bd)}
html:not(.yg-dark) .yg-auth-page .field input{background:#faf8fd;color:#30233f;border-color:var(--yg-accent-border,#ddcdea)}
html:not(.yg-dark) .yg-auth-page .field input::placeholder{color:#81718d}
.yg-auth-page .submit{background:linear-gradient(110deg,var(--yg-accent,#8055bd),color-mix(in srgb,var(--yg-accent,#8055bd) 85%,#2a1744));box-shadow:0 9px 25px color-mix(in srgb,var(--yg-accent,#8055bd) 20%,transparent)}
/* Auth pages fill the whole window: header at the top, form centered in the free space, full-width footer at the bottom
   (on short pages the footer used to stop halfway down the screen). */
html body.yg-auth-page{display:flex!important;flex-direction:column!important;row-gap:24px!important;min-height:100vh!important;min-height:100dvh!important}
html body.yg-auth-page>main.shell{margin-top:auto!important;margin-bottom:auto!important;align-self:center!important}
html body.yg-auth-page>footer.yg-footer-v580{flex:0 0 auto!important;width:100%!important;max-width:none!important;align-self:stretch!important;margin-left:0!important;margin-right:0!important}
/* Math question on the registration form */
.yg-math-question{margin:2px 0 8px;font-size:15px;font-weight:700;color:var(--yg-accent,#6d4bd1)}
html.yg-dark .yg-math-question{color:var(--yg-accent-bright,#bb98eb)}
/* Desktop: slightly more compact login/register card (900px instead of 1020px, a bit less padding). */
@media(min-width:900px){html body.yg-auth-page>main.shell{width:min(calc(100% - 48px),900px)!important;max-width:900px!important}html body.yg-auth-page .shell>.panel{padding:34px clamp(24px,3.2vw,42px)!important}html body.yg-auth-page .shell>.aside{padding:44px 36px!important;min-height:0!important}html body.yg-auth-page .shell .panel form label{margin-top:12px!important;margin-bottom:6px!important}}
/* Math question with a refresh button */
.yg-math-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:2px 0 8px}
.yg-math-row .yg-math-question{margin:0}
.yg-math-refresh{display:inline-grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border:1px solid var(--yg-accent-border,#ddcdea);border-radius:10px;background:var(--yg-accent-soft,#f3eefc);color:var(--yg-accent,#6d4bd1);cursor:pointer;transition:transform .2s,background .2s}
.yg-math-refresh:hover{background:#ebe2fb}
.yg-math-refresh:active svg{transform:rotate(-90deg)}
.yg-math-refresh svg{transition:transform .25s}
.yg-math-refresh:disabled{opacity:.55;cursor:wait}
.yg-math-refresh:focus-visible{outline:3px solid var(--yg-accent-bright,#b990ea);outline-offset:2px}
html.yg-dark .yg-math-refresh{background:#25243b;border-color:#51415e;color:var(--yg-accent-bright,#bb98eb)}
/* Cloudflare Turnstile box on the registration form */
.yg-turnstile{margin:18px 0 4px;min-height:65px}
.yg-turnstile .cf-turnstile{width:100%}
.logo-icon{width:44px;height:44px;display:block;flex:none;border-radius:14px;box-shadow:0 10px 24px rgba(10,5,40,.35)}
