/* MXS: public site skin. Light theme. Scoped to body.mxs and s-* classes. */
body.mxs{--bg:#120f2b;--surface:#1c1840;--ink:#f0eeff;--muted:#a49fd0;--line:#2e2a5c;--brand:#8b73ff;--sky:#2f8cff;--coral:#ff7a59;--mint:#19c38e;--sun:#ffb020;--shadow:0 6px 20px rgba(0,0,0,.35);background:var(--bg);color:var(--ink);font:16px/1.55 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.mxs *,.mxs *::before,.mxs *::after{box-sizing:border-box}
.mxs a{color:inherit;text-decoration:none}
.mxs h1,.mxs h2,.mxs h3{color:inherit;font-family:inherit;line-height:1.2;text-transform:none}
.mxs .s-w{max-width:1040px;margin:0 auto;padding:0 16px}
.mxs .s-header{position:sticky;top:0;z-index:50;background:var(--surface);box-shadow:var(--shadow)}
.mxs .s-bar{display:flex;align-items:center;gap:10px;height:62px}
.mxs .s-logo img{height:34px;width:auto;display:block}
.mxs .s-logo-c{display:inline-block;margin-bottom:8px}
.mxs .s-menu{margin-left:auto;display:none;align-items:center;gap:4px}
.mxs .s-menu>a{padding:8px 12px;border-radius:10px;font-weight:600;color:var(--muted)}
.mxs .s-menu>a:hover{color:var(--brand)}
.mxs .s-menu .s-btn{color:#fff}
.mxs .s-lang{position:relative}
.mxs .s-lang summary{list-style:none;cursor:pointer;padding:8px 12px;font-weight:600;color:var(--muted)}
.mxs .s-lang summary::-webkit-details-marker{display:none}
.mxs .s-lang div{position:absolute;right:0;top:100%;background:var(--surface);border-radius:14px;box-shadow:var(--shadow);padding:6px;min-width:140px}
.mxs .s-lang div a{display:block;padding:8px 10px;border-radius:8px}
.mxs .s-burger{margin-left:auto;border:0;background:var(--bg);color:var(--ink);width:42px;height:42px;border-radius:12px;display:grid;place-items:center;cursor:pointer}
.mxs .s-drawer{display:none;padding:6px 16px 16px;border-top:1px solid var(--line);background:var(--surface)}
.mxs .s-drawer.on{display:block}
.mxs .s-drawer a{display:block;padding:12px 4px;border-bottom:1px solid var(--line);font-weight:600}
.mxs .s-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:14px;padding:12px 18px;font:700 1rem/1.2 inherit;font-family:inherit;background:#5b3df5;color:#fff;cursor:pointer;text-align:center}
.mxs .s-btn:hover{color:#fff;filter:brightness(1.08)}
.mxs .s-glass{background:rgba(255,255,255,.22)}
.mxs .s-alt{background:transparent;border:1.5px solid currentColor}
.mxs .s-onhero{color:#fff}
.mxs .s-off{background:var(--line);color:var(--muted);cursor:not-allowed}
.mxs .s-ok{background:var(--mint);cursor:default}
.mxs a:focus-visible,.mxs button:focus-visible,.mxs summary:focus-visible,.mxs input:focus-visible{outline:3px solid var(--sun);outline-offset:2px}
.mxs .s-hero{position:relative;overflow:hidden;color:#fff;background:linear-gradient(135deg,#5b3df5,#2f8cff 62%,#19c3b0);border-radius:0 0 32px 32px;padding:44px 0 40px}
.mxs .s-hero::after{content:"";position:absolute;right:-60px;top:-60px;width:220px;height:220px;border-radius:50%;background:rgba(255,255,255,.12)}
.mxs .s-hero h1{font-size:2rem;margin:8px 0 12px;color:#fff}
.mxs .s-hero p{opacity:.92;max-width:520px;margin:0 0 22px;color:#fff}
.mxs .s-chip{display:inline-block;background:rgba(255,255,255,.2);border-radius:99px;padding:4px 12px;font-size:.8rem;font-weight:700}
.mxs .s-row{display:flex;gap:10px;flex-wrap:wrap;position:relative;z-index:1}
.mxs .s-sec{padding:34px 0 4px}
.mxs .s-t{font-size:1.45rem;margin:0 0 6px;color:var(--ink)}
.mxs .s-sub{color:var(--muted);margin:0 0 18px}
.mxs .s-grid{display:grid;gap:14px}
.mxs .s-card{background:var(--surface);border-radius:20px;padding:18px;box-shadow:var(--shadow);margin:0}
.mxs .s-card h3{margin:0 0 6px;font-size:1.05rem;color:var(--ink)}
.mxs .s-card p{margin:0;color:var(--muted);font-size:.93rem}
.mxs .s-ico{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;color:#fff;margin-bottom:12px;font-size:1.2rem}
.mxs .s-ico svg,.mxs .s-ico i{color:#fff}
.mxs .s-c0{background:#5b3df5}.mxs .s-c1{background:#ff7a59}.mxs .s-c2{background:#19c38e}.mxs .s-c3{background:#2f8cff}
.mxs .s-split{display:grid;gap:18px;align-items:center}
.mxs .s-media{position:relative;min-height:220px;border-radius:24px;background:var(--line) center/cover no-repeat;box-shadow:var(--shadow)}
.mxs .s-play{position:absolute;inset:0;margin:auto;width:64px;height:64px;border-radius:50%;background:#5b3df5;color:#fff;display:grid;place-items:center}
.mxs .s-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.mxs .s-stat{background:var(--surface);border-radius:18px;padding:16px 8px;text-align:center;box-shadow:var(--shadow)}
.mxs .s-stat b{display:block;font-size:1.7rem;font-variant-numeric:tabular-nums;color:var(--brand)}
.mxs .s-stat span{font-size:.82rem;color:var(--muted)}
.mxs .s-price{font-size:1.8rem;font-weight:800;margin:4px 0 10px}
.mxs .s-plan ul{list-style:none;margin:0 0 14px;padding:0;color:var(--muted);font-size:.93rem}
.mxs .s-plan li{padding:8px 0;border-bottom:1px solid var(--line)}
.mxs .s-plan li:last-child{border:0}
.mxs .s-plan .s-btn{width:100%}
.mxs .s-q{border:1px solid var(--line);background:var(--bg);color:var(--muted);width:20px;height:20px;border-radius:50%;font:700 .7rem/1 system-ui;padding:0;margin-left:4px;cursor:pointer}
.mxs .s-faq{background:var(--surface);border-radius:16px;padding:14px 16px;box-shadow:var(--shadow);margin-bottom:10px}
.mxs .s-faq summary{font-weight:700;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:10px}
.mxs .s-faq summary::-webkit-details-marker{display:none}
.mxs .s-faq summary::after{content:"+";color:var(--brand);font-size:1.3rem;line-height:1}
.mxs .s-faq[open] summary::after{content:"–"}
.mxs .s-faq p{margin:10px 0 0;color:var(--muted)}
.mxs .s-team{text-align:center}
.mxs .s-team img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:16px;margin-bottom:10px}
.mxs .s-snap{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 2px 14px}
.mxs .s-quote{flex:0 0 84%;scroll-snap-align:start;margin:0}
.mxs .s-quote blockquote{margin:0 0 14px;color:var(--ink);border:0;padding:0}
.mxs .s-quote figcaption{display:flex;align-items:center;gap:10px}
.mxs .s-quote img{width:44px;height:44px;border-radius:50%;object-fit:cover}
.mxs .s-quote small{display:block;color:var(--muted)}
.mxs .s-post img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:14px;margin-bottom:10px}
.mxs .s-post small{color:var(--muted)}
.mxs .s-post h3 a:hover{color:var(--brand)}
.mxs .s-cta{color:#fff;background:linear-gradient(135deg,#5b3df5,#19c3b0);border-radius:28px;padding:26px 20px;text-align:center}
.mxs .s-cta h2{margin:0 0 14px;color:#fff;font-size:1.4rem}
.mxs .s-cta form{display:flex;gap:8px;flex-wrap:wrap}
.mxs .s-cta input{flex:1;min-width:0;border:0;border-radius:14px;padding:12px;font:inherit;color:#1b1740;background:#fff}
.mxs .s-tabs{display:grid;grid-template-columns:1fr 1fr;background:var(--surface);border-radius:14px;padding:4px;margin-bottom:12px;box-shadow:var(--shadow)}
.mxs .s-tab{border:0;border-radius:11px;padding:10px;font:700 .9rem system-ui;background:none;color:var(--muted);cursor:pointer}
.mxs .s-tab[aria-pressed=true]{background:#5b3df5;color:#fff}
.mxs .s-trx{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}
.mxs .s-trx:last-child{border:0}
.mxs .s-trx img{width:40px;height:40px;border-radius:50%;object-fit:cover}
.mxs .s-trx-t{flex:1;min-width:0}
.mxs .s-trx small{display:block;color:var(--muted)}
.mxs .s-rich{color:var(--muted)}
.mxs .s-footer{margin-top:36px;background:var(--surface);padding:28px 0 30px;text-align:center;color:var(--muted)}
.mxs .s-soc{display:flex;justify-content:center;gap:10px;margin:12px 0}
.mxs .s-soc a{width:40px;height:40px;border-radius:50%;background:var(--bg);display:grid;place-items:center;color:var(--brand)}
.mxs .s-footer small a{color:var(--brand);font-weight:700}
.mxs .s-page{background:linear-gradient(135deg,#5b3df5,#2f8cff 62%,#19c3b0);color:#fff;border-radius:0 0 28px 28px;padding:28px 0}
.mxs .s-page h1{margin:0 0 6px;color:#fff;font-size:1.6rem}
.mxs .s-crumb{opacity:.9;font-size:.9rem}
.mxs .s-crumb a{text-decoration:underline}

/* inner pages that keep their original markup (contact, blog details, policy, custom pages) */
.mxs .contact-info,.mxs .contact-section,.mxs .blog-section{padding:28px 0 4px!important}
.mxs .container{max-width:1040px}
.mxs .contact-item{display:flex;gap:12px;align-items:flex-start;background:var(--surface);border-radius:20px;padding:16px;box-shadow:var(--shadow);height:100%}
.mxs .contact-thumb{width:44px;height:44px;border-radius:14px;background:#5b3df5;color:#fff;display:grid;place-items:center;flex:none}
.mxs .contact-content ul{list-style:none;margin:0;padding:0;color:var(--muted)}
.mxs .contact-form-wrapper{background:var(--surface)!important;border-radius:20px!important;padding:20px;box-shadow:var(--shadow)!important}
.mxs .contact-form input:not([type=submit]):not([type=checkbox]),.mxs .contact-form textarea,.mxs .form-control,.mxs .form--control{width:100%;border:1px solid var(--line);border-radius:12px;background:var(--bg);color:var(--ink);padding:12px;box-shadow:none}
.mxs .cmn-btn,.mxs .custom-button{display:inline-block;border:0;border-radius:14px;background:#5b3df5;color:#fff;padding:12px 20px;font-weight:700;cursor:pointer}
.mxs .post-details,.mxs .blog-details,.mxs .post-item,.mxs .policy-section{background:var(--surface);border-radius:20px;box-shadow:var(--shadow)}

@media (min-width:760px){
 .mxs .s-burger{display:none}.mxs .s-menu{display:flex}.mxs .s-drawer{display:none!important}
 .mxs .s-hero{padding:76px 0 64px}.mxs .s-hero h1{font-size:2.8rem}
 .mxs .s-g3{grid-template-columns:repeat(3,1fr)}.mxs .s-g4{grid-template-columns:repeat(4,1fr)}
 .mxs .s-split{grid-template-columns:1fr 1fr;gap:34px}.mxs .s-stats{grid-template-columns:repeat(4,1fr)}
 .mxs .s-quote{flex-basis:44%}
}
@media (max-width:759px){.mxs .s-g4{grid-template-columns:repeat(2,1fr)}}

/* auth pages */
.mxs .s-auth-sec{padding:26px 0 8px}
.mxs .s-auth{max-width:460px;margin:0 auto;background:var(--surface);border-radius:24px;padding:22px;box-shadow:var(--shadow)}
.mxs .s-auth-wide{max-width:760px}
.mxs .s-auth h1{font-size:1.5rem;margin:0 0 6px;color:var(--ink)}
.mxs .s-auth label,.mxs .common-form-style label{font-weight:700;font-size:.9rem;margin-bottom:4px;color:var(--ink)}
.mxs .s-auth .form-group{margin-bottom:14px}
.mxs :is(.s-auth,.common-form-style) :is(input:not([type=checkbox],[type=radio],[type=submit],[type=hidden]),select,textarea){width:100%;border:1px solid var(--line);border-radius:12px;background:var(--bg);color:var(--ink);padding:12px;font:inherit;box-shadow:none}
.mxs :is(.s-auth,.common-form-style) input[type=submit]{width:100%;border:0;border-radius:14px;background:#5b3df5;color:#fff;font-weight:700;padding:13px;cursor:pointer}
.mxs .s-between{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.mxs .s-link,.mxs .s-alt-link a{color:var(--brand);font-weight:700}
.mxs .s-alt-link{text-align:center;margin:16px 0 0;color:var(--muted)}
.mxs .form--check{display:flex;align-items:center;gap:8px}
.mxs .select2-container .select2-selection--single{height:46px;border-radius:12px;border:1px solid var(--line);background:var(--bg)}
.mxs .select2-container--default .select2-selection--single .select2-selection__rendered{line-height:44px;color:var(--ink)}
.mxs .select2-container--default .select2-selection--single .select2-selection__arrow{height:44px}
.mxs .padding-top{padding-top:26px}.mxs .padding-bottom{padding-bottom:26px}
.mxs .common-form-style{background:var(--surface);border-radius:24px;padding:22px;box-shadow:var(--shadow);max-width:520px;margin:0 auto}
.mxs .card{border:0;border-radius:20px;box-shadow:var(--shadow);background:var(--surface);color:var(--ink)}
.mxs .card-header,.mxs .card-body{background:transparent;color:var(--ink)}
.mxs .text--base{color:var(--brand)}

/* captcha (custom image-less captcha and Google reCAPTCHA) */
.mxs .s-auth .form-group>.mb-2>div{background:linear-gradient(135deg,#5b3df5,#2f8cff)!important;color:#fff!important;border-radius:12px;overflow:hidden;text-align:center;letter-spacing:4px}
.mxs .s-auth .form-group>.mb-2>div span{float:none!important;display:inline-block;margin:0 3px}
.mxs .g-recaptcha{display:flex;justify-content:center;transform-origin:center top}
@media (max-width:380px){.mxs .g-recaptcha{transform:scale(.86)}}
.mxs .text--danger{color:#e5484d}
/* verification code boxes */
.mxs .verification-code input{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
.mxs .verification-code .boxes span{border-radius:12px;border:1px solid var(--line);background:var(--bg);color:var(--ink)}
.mxs .banned-section{min-height:80vh;display:flex;align-items:center}
/* contact, article, simple pages */
.mxs .s-ci{display:flex;gap:14px;align-items:flex-start}
.mxs .s-ci .s-ico{margin:0;flex:none}
.mxs .s-ci a{color:var(--brand);font-weight:700}
.mxs .s-article{display:grid;gap:14px}
.mxs .s-cover{width:100%;border-radius:16px;display:block;margin-bottom:14px}
.mxs .s-art-t{font-size:1.5rem;margin:0 0 6px}
.mxs .s-body{overflow-wrap:anywhere}
.mxs .s-body img{max-width:100%;height:auto;border-radius:12px}
.mxs .s-share{display:flex;align-items:center;gap:10px;margin:16px 0;color:var(--muted)}
.mxs .s-share a{width:36px;height:36px;border-radius:50%;background:var(--bg);display:grid;place-items:center;color:var(--brand)}
.mxs .s-side h3{margin:0 0 8px}
.mxs .s-side .s-trx img{border-radius:10px}
@media (min-width:900px){.mxs .s-article{grid-template-columns:2fr 1fr;align-items:start}}

/* welcome (home) page and minimal header/footer */
.mxs .s-actions{margin-left:auto;display:flex;align-items:center;gap:8px}
.mxs .s-actions .s-lang summary{padding:8px 10px}
.mxs .s-sm{padding:9px 14px;font-size:.92rem}
.mxs .s-link{font-weight:700;color:var(--muted);padding:8px 6px}
.mxs .s-link:hover{color:var(--brand)}
.mxs .s-white{background:#fff;color:#5b3df5}
.mxs .s-white:hover{color:#5b3df5}
.mxs .s-center{justify-content:center}
.mxs .s-welcome{position:relative;overflow:hidden;color:#fff;text-align:center;flex:1 0 auto;display:flex;align-items:center;background:linear-gradient(135deg,#5b3df5,#2f8cff 62%,#19c3b0);border-radius:0 0 44px 44px;padding:40px 0}
.mxs .s-welcome::before,.mxs .s-welcome::after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.14)}
.mxs .s-welcome::before{width:280px;height:280px;right:-90px;top:-70px}
.mxs .s-welcome::after{width:200px;height:200px;left:-70px;bottom:-60px}
.mxs .s-welcome .s-w{position:relative;z-index:1}
.mxs .s-wmark{width:92px;height:92px;margin:0 auto 22px;border-radius:28px;background:rgba(255,255,255,.2);display:grid;place-items:center;color:#fff;box-shadow:0 10px 30px rgba(0,0,0,.15)}
.mxs .s-welcome h1{font-size:2.6rem;margin:0 0 10px;color:#fff;letter-spacing:-.02em}
.mxs .s-welcome p{margin:0 auto 26px;max-width:420px;opacity:.92;color:#fff}
.mxs .s-legal{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin-bottom:8px}
.mxs .s-legal a{color:var(--brand);font-weight:600}
@media (min-width:760px){.mxs .s-welcome h1{font-size:4rem}}

/* phone adaptation for header and welcome page */
.mxs{overflow-x:hidden}
.mxs .s-bar{gap:8px;min-width:0}
.mxs .s-logo{min-width:0;flex:0 1 auto}
.mxs .s-logo img{max-height:34px;max-width:150px;object-fit:contain}
.mxs .s-actions{gap:4px;flex:none}
.mxs .s-welcome h1{font-size:clamp(2.1rem,10vw,2.6rem);overflow-wrap:anywhere}
@media (max-width:480px){
 .mxs .s-welcome{min-height:0;padding:56px 0 48px;border-radius:0 0 32px 32px}
 .mxs .s-wmark{width:76px;height:76px;border-radius:22px;margin-bottom:18px}
 .mxs .s-wmark svg{width:38px;height:38px}
 .mxs .s-welcome .s-row{flex-direction:column;align-items:center}
 .mxs .s-welcome .s-row .s-btn{width:100%;max-width:320px}
 .mxs .s-welcome p{padding:0 6px;margin-bottom:22px}
 .mxs .s-auth{margin-left:12px;margin-right:12px;padding:18px}
}
@media (min-width:760px){.mxs .s-welcome h1{font-size:4rem}}

/* GrandGreen logo (built in) */
.mxs .gg-logo,.mx .gg-logo{display:inline-flex;align-items:center;gap:9px;font-weight:800;font-size:1.15rem;letter-spacing:-.01em;line-height:1;white-space:nowrap;color:inherit}
.mxs .gg-mk,.mx .gg-mk{width:34px;height:34px;border-radius:11px;background:linear-gradient(135deg,#5b3df5,#2f8cff 62%,#19c3b0);display:grid;place-items:center;color:#fff;flex:none}
.mxs .gg-word b,.mx .gg-word b{color:#19c3b0;font-weight:800}
.mxs .s-logo{display:inline-flex;align-items:center;color:var(--ink)}
@media (max-width:360px){.mxs .gg-logo{font-size:1rem}.mxs .gg-mk{width:30px;height:30px}.mxs .s-actions .s-link{padding:8px 2px}}

/* ---- compact one-screen auth (login / register) ---- */
.mxs .s-vh{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.mxs .s-auth-sec{padding:14px 0 0}
.mxs .s-auth,.mxs .s-auth-wide{max-width:440px;padding:16px;margin:0 auto;border-radius:22px}
.mxs .s-authtabs{background:var(--bg);box-shadow:none;margin-bottom:12px}
.mxs .s-authtabs .s-tab{display:flex;align-items:center;justify-content:center;text-align:center;text-decoration:none;min-height:44px;color:var(--muted)}
.mxs .s-authtabs .s-tab.is-on{background:var(--surface);color:var(--brand);box-shadow:var(--shadow)}
.mxs .s-auth .form-group{margin-bottom:10px}
.mxs .s-auth label,.mxs .s-auth .form-label{margin-bottom:2px;font-size:.85rem}
.mxs .s-auth :is(input:not([type=checkbox],[type=radio],[type=submit],[type=hidden]),select,textarea){padding:10px 12px}
.mxs .s-auth .select2-container .select2-selection--single{height:42px}
.mxs .s-auth .select2-container--default .select2-selection--single .select2-selection__rendered{line-height:40px}
.mxs .s-auth .select2-container--default .select2-selection--single .select2-selection__arrow{height:40px}
.mxs .s-auth .row{--bs-gutter-x:.6rem;--bs-gutter-y:0}
.mxs .s-auth .row>.col-md-6{flex:0 0 auto;width:50%}
.mxs .s-auth input[type=submit]{padding:12px}
@media (max-width:480px){.mxs .s-auth,.mxs .s-auth-wide{margin:0 12px}}

/* ---- dark theme: third-party widgets ---- */
.mxs{color-scheme:dark}
.mxs .modal-content,.mxs .dropdown-menu,.mxs .cookies-card,.mxs .select2-dropdown,.mxs .nice-select .list{background:var(--surface);color:var(--ink);border:1px solid var(--line)}
.mxs .modal-header,.mxs .modal-footer{border-color:var(--line)}
.mxs .select2-container--default .select2-results__option--highlighted[aria-selected]{background:#5b3df5;color:#fff}
.mxs .select2-container--default .select2-results__option[aria-selected=true]{background:var(--bg)}
.mxs .select2-search__field{background:var(--bg);color:var(--ink)}
.mxs ::placeholder{color:var(--muted);opacity:.8}
.mxs input:-webkit-autofill{-webkit-text-fill-color:var(--ink);box-shadow:0 0 0 40px var(--bg) inset}
.mxs .table{--bs-table-color:var(--ink);--bs-table-bg:transparent;--bs-table-border-color:var(--line);color:var(--ink)}
.mxs .btn-close{filter:invert(1)}

/* ---- full-height page: header on top, content fills, footer at the bottom ---- */
body.mxs{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;margin:0}
body.mxs>.s-footer{margin-top:auto;border-top:36px solid var(--bg)}
body.mxs>.s-welcome{margin:0}

/* ---- auth card fills the whole screen (phone and desktop) ---- */
.mxs .s-auth-sec{flex:1 0 auto;display:flex;padding:12px 0 14px}
.mxs .s-auth-sec>.s-w{display:flex;width:100%;padding:0 12px}
.mxs .s-auth,.mxs .s-auth-wide{flex:1 1 auto;display:flex;flex-direction:column;width:100%;max-width:clamp(440px,46vw,620px);margin:0 auto;padding:clamp(16px,3vh,30px)}
.mxs .s-auth form{flex:1 1 auto}
.mxs .s-auth form.row{align-content:space-between}
.mxs .s-auth form:not(.row){display:flex;flex-direction:column;justify-content:space-between}
.mxs .s-auth form:not(.row)>.form-group:last-child{margin-bottom:0}
.mxs .s-auth .form-group{margin-bottom:clamp(10px,1.8vh,18px)}
.mxs .s-auth label,.mxs .s-auth .form-label{font-size:clamp(.85rem,1.9vh,1rem);margin-bottom:4px}
.mxs .s-auth :is(input:not([type=checkbox],[type=radio],[type=submit],[type=hidden]),select,textarea){padding:clamp(11px,2.2vh,18px) 14px;font-size:clamp(1rem,2.1vh,1.15rem)}
.mxs .s-auth .select2-container .select2-selection--single{height:clamp(44px,6.2vh,58px)}
.mxs .s-auth .select2-container--default .select2-selection--single .select2-selection__rendered{line-height:clamp(42px,6vh,56px)}
.mxs .s-auth .select2-container--default .select2-selection--single .select2-selection__arrow{height:clamp(42px,6vh,56px)}
.mxs .s-auth input[type=submit]{padding:clamp(13px,2.4vh,20px);font-size:clamp(1rem,2.1vh,1.15rem)}
.mxs .s-authtabs .s-tab{min-height:clamp(44px,6vh,56px);font-size:clamp(1rem,2vh,1.15rem)}
.mxs .s-auth .form--check{flex-wrap:wrap;align-items:center;gap:4px 8px}
.mxs .s-auth .form--check .form-check-label{margin:0}
.mxs .s-auth .form-check-input{width:22px;height:22px;margin:0;border:1.5px solid var(--line);background-color:var(--bg);accent-color:#5b3df5}
.mxs .s-auth .form-check-input:checked{background-color:#5b3df5;border-color:#5b3df5}
@media (max-width:480px){.mxs .s-auth,.mxs .s-auth-wide{margin:0 auto}}

/* ---- final: card sits in the centre of the screen at its natural height ---- */
.mxs .s-auth-sec{align-items:center;justify-content:center}
.mxs .s-auth-sec>.s-w{align-items:center;justify-content:center}
.mxs .s-auth,.mxs .s-auth-wide{flex:0 1 auto;max-width:clamp(420px,42vw,520px)}
.mxs .s-auth form{flex:0 0 auto}
.mxs .s-auth form.row{align-content:flex-start}
.mxs .s-auth form:not(.row){display:block}
.mxs .s-auth .form-group{margin-bottom:14px}
.mxs .s-auth form:not(.row)>.form-group:last-child{margin-bottom:0}
@media (max-width:480px){.mxs .s-auth,.mxs .s-auth-wide{max-width:100%}}

/* ---- login / register: same gradient + circles + logo mark as the home screen ---- */
.mxs .s-auth-sec{position:relative;overflow:hidden;background:linear-gradient(135deg,#5b3df5,#2f8cff 62%,#19c3b0);border-radius:0 0 44px 44px;padding:18px 0 28px}
.mxs .s-auth-sec::before,.mxs .s-auth-sec::after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.14);pointer-events:none}
.mxs .s-auth-sec::before{width:280px;height:280px;right:-90px;top:-70px}
.mxs .s-auth-sec::after{width:200px;height:200px;left:-70px;bottom:-60px}
.mxs .s-auth-sec>.s-w{position:relative;z-index:1;flex-direction:column}
.mxs .s-amark{width:68px;height:68px;border-radius:21px;margin:0 auto 14px;flex:none}
.mxs .s-auth,.mxs .s-auth-wide{flex:0 0 auto;box-shadow:0 18px 50px rgba(8,6,30,.45)}
@media (max-width:480px){.mxs .s-auth-sec{border-radius:0 0 32px 32px;padding:14px 0 22px}.mxs .s-amark{width:56px;height:56px;border-radius:18px;margin-bottom:10px}.mxs .s-amark svg{width:28px;height:28px}}

/* ===== login / register: form directly on the gradient (no dark card) ===== */
.mxs .s-auth-sec .s-auth,.mxs .s-auth-sec .s-auth-wide{background:transparent;box-shadow:none;padding:0;border-radius:0;max-width:clamp(320px,44vw,440px);color:#fff}
.mxs .s-auth-sec .s-amark{width:clamp(72px,11vh,92px);height:clamp(72px,11vh,92px);border-radius:28px;margin:0 auto clamp(10px,2vh,20px)}
.mxs .s-auth-sec .s-amark svg{width:44%;height:44%}
.mxs .s-auth-sec .s-auth h1{text-align:center;color:#fff;font-size:clamp(2rem,6vh,2.8rem);letter-spacing:-.02em;margin:0 0 6px}
.mxs .s-auth-sec .s-auth .s-sub{text-align:center;color:rgba(255,255,255,.92);margin:0 0 clamp(14px,3vh,26px);font-size:clamp(1rem,2.2vh,1.15rem)}
.mxs .s-auth-sec .s-auth .form-label,.mxs .s-auth-sec .s-auth label:not(.form-check-label){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.mxs .s-auth-sec .s-auth .form-group{margin-bottom:clamp(10px,1.8vh,16px)}
.mxs .s-auth-sec .s-auth :is(input:not([type=checkbox],[type=radio],[type=submit],[type=hidden]),select,textarea){background-color:rgba(255,255,255,.06);border:1.5px solid rgba(255,255,255,.62);border-radius:999px;color:#fff;padding:clamp(13px,2.4vh,18px) 20px;font-size:clamp(1rem,2.1vh,1.1rem);box-shadow:none}
.mxs .s-auth-sec .s-auth ::placeholder{color:rgba(255,255,255,.78);opacity:1}
.mxs .s-auth-sec .s-auth input:-webkit-autofill{-webkit-text-fill-color:#fff;box-shadow:0 0 0 40px #3b6cf6 inset}
.mxs .s-auth-sec .s-auth input[name=username],.mxs .s-auth-sec .s-auth input[name=referral],.mxs .s-auth-sec .s-auth input[name=firstname],.mxs .s-auth-sec .s-auth input[name=lastname]{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1-4 4-6 8-6s7 2 8 6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:16px center;background-size:22px;padding-left:50px}
.mxs .s-auth-sec .s-auth input[type=password],.mxs .s-auth-sec .s-auth .s-pw input{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='10' width='16' height='11' rx='3'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:16px center;background-size:22px;padding-left:50px}
.mxs .s-auth-sec .s-auth input[type=email]{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='3'/%3E%3Cpath d='M3 8l9 6 9-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:16px center;background-size:22px;padding-left:50px}
.mxs .s-auth-sec .s-auth .s-pw{position:relative;display:block}
.mxs .s-auth-sec .s-auth .s-pw input{padding-right:52px}
.mxs .s-auth-sec .s-auth .s-eye{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:44px;height:44px;border:0;background:none;color:rgba(255,255,255,.9);display:grid;place-items:center;cursor:pointer;border-radius:50%}
.mxs .s-auth-sec .s-auth .s-eye.is-on{color:#fff;background:rgba(255,255,255,.18)}
.mxs .s-auth-sec .s-auth .select2-container{width:100%!important}
.mxs .s-auth-sec .s-auth .select2-container .select2-selection--single{background:rgba(255,255,255,.06);border:1.5px solid rgba(255,255,255,.62);border-radius:999px;height:clamp(48px,6.6vh,58px)}
.mxs .s-auth-sec .s-auth .select2-container--default .select2-selection--single .select2-selection__rendered{color:rgba(255,255,255,.85);line-height:clamp(45px,6.3vh,55px);padding-left:20px}
.mxs .s-auth-sec .s-auth .select2-container--default .select2-selection--single .select2-selection__arrow{height:clamp(45px,6.3vh,55px)}
.mxs .s-auth-sec .s-auth .select2-container--default .select2-selection--single .select2-selection__arrow b{border-top-color:#fff}
.mxs .s-auth-sec .s-auth input[type=submit]{background:#fff;color:#5b3df5;border-radius:999px;padding:clamp(14px,2.6vh,19px);font-size:clamp(1rem,2.2vh,1.15rem);font-weight:800;box-shadow:0 10px 26px rgba(8,6,30,.25)}
.mxs .s-auth-sec .s-auth .form--check{gap:10px}
.mxs .s-auth-sec .s-auth .form-check-label{color:rgba(255,255,255,.92);font-weight:500;font-size:.98rem}
.mxs .s-auth-sec .s-auth .form-check-input{appearance:none;-webkit-appearance:none;width:24px;height:24px;border-radius:50%;background:transparent;border:1.5px solid rgba(255,255,255,.8);margin:0;flex:none}
.mxs .s-auth-sec .s-auth .form-check-input:checked{background:#fff;box-shadow:inset 0 0 0 5px #3b6cf6;border-color:#fff}
.mxs .s-auth-sec .s-auth .form--check a,.mxs .s-auth-sec .s-auth .s-link{color:#fff;font-weight:700}
.mxs .s-auth-sec .s-auth .form--check a{text-decoration:underline}
.mxs .s-auth-sec .s-auth .text--success,.mxs .s-auth-sec .s-auth .text--danger,.mxs .s-auth-sec .s-auth .help-block{color:#fff!important;font-size:.85rem}
.mxs .s-auth-sec .s-or{display:flex;align-items:center;gap:14px;color:rgba(255,255,255,.9);margin:clamp(10px,2.2vh,20px) 0 clamp(6px,1.4vh,14px)}
.mxs .s-auth-sec .s-or::before,.mxs .s-auth-sec .s-or::after{content:"";flex:1;height:1.5px;background:rgba(255,255,255,.45)}
.mxs .s-auth-sec .s-alt-link{text-align:center;margin:0;color:#fff;font-size:1.02rem}
.mxs .s-auth-sec .s-alt-link a{color:#fff;font-weight:800;text-decoration:underline;margin-left:6px}
@media (max-width:480px){.mxs .s-auth-sec .s-auth,.mxs .s-auth-sec .s-auth-wide{max-width:100%}.mxs .s-auth-sec>.s-w{padding:0 20px}}
@media (max-height:640px){.mxs .s-auth-sec .s-amark{display:none}}
