/* Community composition for desktop; the compact form stays in one column. */
#sv-auth .auth-community,#sv-auth .auth-community-footer,#sv-auth .auth-header-home,#sv-auth .auth-desktop-switch{display:none}
@media(min-width:1024px){
 body:is([data-page="login"],[data-page="register"]) main.wrap{padding:26px 28px!important}
 #sv-auth.auth-community-layout{width:min(100%,1320px);--au-font:system-ui,-apple-system,'Segoe UI',sans-serif}
 #sv-auth.auth-community-layout .auth-card{display:grid;grid-template-columns:minmax(0,1.16fr) minmax(0,1fr);border-radius:18px;border-color:var(--au-line);background:var(--au-bg)}
 #sv-auth.auth-community-layout .auth-header{grid-column:1/-1;height:80px;padding:18px 38px;gap:25px;border-bottom:1px solid var(--au-line)}
 #sv-auth.auth-community-layout .auth-brand{font-size:25px}
 #sv-auth.auth-community-layout .auth-languages{margin-left:auto;font-size:13px;gap:15px}
 #sv-auth.auth-community-layout .auth-header-home{display:flex;align-items:center;gap:13px;padding-left:25px;border-left:1px solid var(--au-line);font-size:13px;white-space:nowrap;color:var(--au-muted)!important}
 #sv-auth.auth-community-layout .auth-header-home svg{width:19px;height:19px}
 #sv-auth.auth-community-layout>.auth-back{display:none}
 #sv-auth.auth-community-layout .auth-hero{display:none}
 #sv-auth.auth-community-layout .auth-community{display:flex;flex-direction:column;grid-column:1;grid-row:2;min-width:0}
 #sv-auth.auth-community-layout .auth-community-scene{height:390px;position:relative;overflow:hidden;flex:1;min-height:350px;max-height:480px;background:var(--au-bg)}
 #sv-auth.auth-community-layout .auth-community-scene>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 59%;border:0;border-radius:0;position:absolute;inset:0}
 #sv-auth.auth-community-layout .auth-community-scene:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,var(--au-bg) 0%,transparent 65%),linear-gradient(0deg,var(--au-bg),transparent 12%);pointer-events:none}
 #sv-auth.auth-community-layout .auth-community-heading{position:relative;z-index:1;padding:26px 35px}
 #sv-auth.auth-community-layout .auth-community-heading h2{font:750 clamp(28px,2.7vw,40px)/1.14 var(--au-font)!important;text-align:left;letter-spacing:-.025em;margin:0 0 12px!important;color:var(--au-fg)!important}
 #sv-auth.auth-community-layout .auth-community-heading h2 span{color:var(--au-gold)!important}
 #sv-auth.auth-community-layout .auth-community-heading p{font:400 21px/1.4 var(--au-font);color:var(--au-muted)!important;margin:0}
 #sv-auth.auth-community-layout .auth-community-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:12px 24px 18px}
 #sv-auth.auth-community-layout .auth-community-grid article{display:flex;align-items:flex-start;gap:15px;padding:18px 15px;background:var(--au-field);border:1px solid var(--au-line);border-radius:12px;min-width:0}
 #sv-auth.auth-community-layout .auth-community-icon{color:var(--au-gold);padding-top:3px;flex-shrink:0}
 #sv-auth.auth-community-layout .auth-community-icon svg{width:31px;height:31px}
 #sv-auth.auth-community-layout .auth-community-grid h3{font:650 16px/1.35 var(--au-font)!important;color:var(--au-fg)!important;margin:0 0 6px!important}
 #sv-auth.auth-community-layout .auth-community-grid p{font:400 13px/1.5 var(--au-font);color:var(--au-muted)!important;margin:0}
 #sv-auth.auth-community-layout .auth-content{grid-column:2;grid-row:2;align-self:center;margin:24px 26px 24px 16px;padding:30px 32px;background:var(--au-field);border:1px solid var(--au-line);border-radius:16px;min-width:0;box-shadow:0 8px 35px #0002;animation:none}
 #sv-auth.auth-community-layout .auth-content h1{font:700 clamp(25px,2.5vw,35px)/1.18 var(--au-font)!important;text-align:left;margin:0 0 12px!important;letter-spacing:-.025em}
 #sv-auth.auth-community-layout .auth-content>.auth-subtitle{font:400 20px/1.4 var(--au-font);text-align:left;margin:0 0 30px;color:var(--au-muted)!important}
 #sv-auth.auth-community-layout .auth-form{gap:20px!important}
 #sv-auth.auth-community-layout .auth-field{font-size:14px;gap:8px}
 #sv-auth.auth-community-layout .auth-field input{height:57px!important;font-size:16px!important;background:var(--au-bg)!important;padding-left:48px!important}
 #sv-auth.auth-community-layout .auth-eye{top:5px}
 #sv-auth.auth-community-layout .auth-button{min-height:57px;font:650 19px/1.3 var(--au-font)!important}
 #sv-auth.auth-community-layout .auth-check,#sv-auth.auth-community-layout .auth-login-options{font-size:13px}
 #sv-auth.auth-community-layout .auth-login-options{gap:12px;margin:0 0 7px;flex-wrap:wrap}
 #sv-auth.auth-community-layout .auth-terms{font-size:12px}
 #sv-auth.auth-community-layout .auth-strength{font-size:12px;gap:10px}
 #sv-auth.auth-community-layout .auth-steps{margin:22px 0 26px}
 #sv-auth.auth-community-layout .auth-steps small{font-size:12px}
 #sv-auth.auth-community-layout .auth-steps li>span{width:35px;height:35px;font-size:18px}
 #sv-auth.auth-community-layout .auth-steps li:not(:last-child):after{top:17px}
 #sv-auth.auth-community-layout .auth-benefits{display:none}
 #sv-auth.auth-community-layout .auth-switch,#sv-auth.auth-community-layout .auth-desktop-switch{display:block;border-top:1px solid var(--au-line);padding-top:22px;margin:25px 0 0;font-size:13px;text-align:center;color:var(--au-fg)!important}
 #sv-auth.auth-community-layout .auth-switch a,#sv-auth.auth-community-layout .auth-desktop-switch a{font-weight:600}
 #sv-auth.auth-community-layout .auth-community-footer{display:flex;align-items:center;justify-content:center;gap:24px;grid-column:1/-1;min-height:78px;padding:22px 25px;background:linear-gradient(180deg,var(--au-bg),transparent),url('hero-night-register.webp') center 60%/cover;color:var(--au-gold);font:600 20px/1.4 var(--au-font);text-align:center}
 #sv-auth.auth-community-layout .auth-community-footer:before,#sv-auth.auth-community-layout .auth-community-footer:after{content:'';width:80px;height:1px;background:linear-gradient(90deg,transparent,var(--au-gold))}
 #sv-auth.auth-community-layout .auth-community-footer:after{transform:rotate(180deg)}
 #sv-auth.auth-community-layout .auth-mail-address{font-size:15px;flex-wrap:wrap}
}
@media(min-width:1024px) and (max-width:1199px){
 #sv-auth.auth-community-layout .auth-header{padding:18px 26px}
 #sv-auth.auth-community-layout .auth-content{margin:20px 18px 20px 8px;padding:26px 23px}
 #sv-auth.auth-community-layout .auth-community-heading{padding:27px 25px}
 #sv-auth.auth-community-layout .auth-community-heading p{font-size:18px}
 #sv-auth.auth-community-layout .auth-community-grid{padding:10px 18px 18px;gap:10px}
 #sv-auth.auth-community-layout .auth-community-grid article{padding:15px 12px;gap:10px}
 #sv-auth.auth-community-layout .auth-community-grid h3{font-size:14px!important}
 #sv-auth.auth-community-layout .auth-community-grid p{font-size:12px}
}

/* Preserve the selected palette when Chromium/Opera autofills credentials. */
#sv-auth .auth-field input:-webkit-autofill,
#sv-auth .auth-field input:-webkit-autofill:hover,
#sv-auth .auth-field input:-webkit-autofill:focus,
#sv-auth .auth-field input:-webkit-autofill:active{
 -webkit-text-fill-color:var(--au-fg)!important;
 caret-color:var(--au-fg)!important;
 -webkit-box-shadow:0 0 0 1000px var(--au-field) inset!important;
 box-shadow:0 0 0 1000px var(--au-field) inset!important;
 border-color:var(--au-line)!important;
}
#sv-auth .auth-field input:autofill{
 color:var(--au-fg)!important;
 caret-color:var(--au-fg)!important;
 box-shadow:0 0 0 1000px var(--au-field) inset!important;
}
#sv-auth.auth-tone-night .auth-field input,
#sv-auth.auth-tone-night .auth-check input{color-scheme:dark}
@media(min-width:1024px){
 #sv-auth.auth-community-layout .auth-field input:-webkit-autofill{
  -webkit-box-shadow:0 0 0 1000px var(--au-bg) inset!important;
  box-shadow:0 0 0 1000px var(--au-bg) inset!important;
 }
 #sv-auth.auth-community-layout .auth-field input:autofill{
  box-shadow:0 0 0 1000px var(--au-bg) inset!important;
 }
}

/* Full viewport desktop composition. */
@media(min-width:1024px){
 body:is([data-page="login"],[data-page="register"]) main.wrap{padding:0!important;min-height:100dvh}
 #sv-auth.auth-community-layout{width:100%!important;max-width:none!important;margin:0!important}
 #sv-auth.auth-community-layout .auth-card{min-height:100dvh;border:0;border-radius:0;box-shadow:none;grid-template-rows:80px minmax(min-content,1fr) auto}
 #sv-auth.auth-community-layout .auth-header{padding-left:3.2vw;padding-right:3.2vw}
 #sv-auth.auth-community-layout .auth-community-scene{max-height:none;min-height:350px}
 #sv-auth.auth-community-layout .auth-community-heading{padding:32px 4vw}
 #sv-auth.auth-community-layout .auth-community-heading h2{font-size:clamp(34px,2.9vw,54px)!important}
 #sv-auth.auth-community-layout .auth-community-heading p{font-size:clamp(20px,1.6vw,27px)}
 #sv-auth.auth-community-layout .auth-community-grid{padding:18px 2.4vw 24px;gap:16px}
 #sv-auth.auth-community-layout .auth-community-grid article{padding:20px;gap:16px}
 #sv-auth.auth-community-layout .auth-community-grid h3{font-size:clamp(16px,1.1vw,20px)!important}
 #sv-auth.auth-community-layout .auth-community-grid p{font-size:clamp(13px,.9vw,16px)}
 #sv-auth.auth-community-layout .auth-content{width:calc(100% - 64px);max-width:720px;margin:28px auto;padding:clamp(28px,2.2vw,42px)}
 #sv-auth.auth-community-layout .auth-content h1{font-size:clamp(30px,2.3vw,43px)!important}
 #sv-auth.auth-community-layout .auth-community-footer{min-height:84px;font-size:clamp(20px,1.4vw,26px)}
}
@media(min-width:1024px) and (max-width:1199px){
 #sv-auth.auth-community-layout .auth-content{width:calc(100% - 36px);padding:26px 23px;margin:22px auto}
 #sv-auth.auth-community-layout .auth-community-grid{padding:12px 18px 18px;gap:10px}
 #sv-auth.auth-community-layout .auth-community-grid article{padding:15px 12px;gap:10px}
 #sv-auth.auth-community-layout .auth-community-heading{padding:28px 25px}
 #sv-auth.auth-community-layout .auth-community-heading h2{font-size:32px!important}
 #sv-auth.auth-community-layout .auth-content h1{font-size:28px!important}
}

@media(min-width:1024px) and (max-height:850px){
 #sv-auth.auth-community-layout .auth-card{grid-template-rows:68px minmax(min-content,1fr) auto}
 #sv-auth.auth-community-layout .auth-header{height:68px}
 #sv-auth.auth-community-layout .auth-content{margin:16px auto;padding:24px 28px}
 #sv-auth.auth-community-layout .auth-content h1{font-size:30px!important}
 #sv-auth.auth-community-layout .auth-content>.auth-subtitle{font-size:18px;margin-bottom:18px}
 #sv-auth.auth-community-layout .auth-form{gap:14px!important}
 #sv-auth.auth-community-layout .auth-field input{height:52px!important}
 #sv-auth.auth-community-layout .auth-eye{top:3px}
 #sv-auth.auth-community-layout .auth-button{min-height:52px}
 #sv-auth.auth-community-layout .auth-steps{margin:15px 0 18px}
 #sv-auth.auth-community-layout .auth-switch,#sv-auth.auth-community-layout .auth-desktop-switch{margin-top:18px;padding-top:17px}
 #sv-auth.auth-community-layout .auth-community-scene{min-height:290px}
 #sv-auth.auth-community-layout .auth-community-grid{padding-top:12px;padding-bottom:16px;gap:12px}
 #sv-auth.auth-community-layout .auth-community-grid article{padding:16px}
 #sv-auth.auth-community-layout .auth-community-footer{min-height:60px;padding:15px 25px;font-size:20px}
}
