.mc-offer{margin-top:28px;padding-top:24px;border-top:1px solid rgba(228,201,132,.14)}
.mc-offer__heading{display:flex;justify-content:space-between;gap:16px;align-items:end;margin-bottom:14px}.mc-offer__heading span{font-weight:800;color:#fff}.mc-offer__heading small{color:#9fb0c5;text-align:right}
.mc-plan-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.mc-plan{padding:14px;border:1px solid rgba(144,192,255,.14);border-radius:18px;background:rgba(255,255,255,.025);color:#fff;text-align:left;cursor:pointer}.mc-plan.is-active{border-color:rgba(241,205,128,.52);background:linear-gradient(180deg,rgba(241,205,128,.12),rgba(255,255,255,.03));box-shadow:0 12px 28px rgba(0,0,0,.18)}
.mc-plan__name,.mc-plan strong,.mc-plan small{display:block}.mc-plan__name{font-size:12px;color:#f1cd80;text-transform:uppercase;letter-spacing:.08em}.mc-plan strong{font-size:20px;margin:5px 0}.mc-plan small{color:#9fb0c5}.mc-offer__benefits{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0;color:#cbd8e7;font-size:12px}.mc-offer__benefits span{padding:8px 10px;border-radius:999px;background:rgba(255,255,255,.035)}.mc-offer__buy{width:100%;justify-content:center}
.mc-checkout,.mc-account,.mc-auth{color:#dbe6f4}.mc-checkout{max-width:760px;margin:0 auto;padding:34px;border-radius:32px;border:1px solid rgba(228,201,132,.18);background:linear-gradient(180deg,rgba(8,22,47,.94),rgba(5,14,31,.96));box-shadow:0 30px 80px rgba(0,0,0,.24)}.mc-checkout h1,.mc-account h1,.mc-auth h1{color:#fff}.mc-checkout h1{margin-top:0}.mc-checkout__summary{display:grid;grid-template-columns:1fr auto;gap:14px;padding:18px;margin:20px 0;border-radius:20px;background:rgba(255,255,255,.03);border:1px solid rgba(144,192,255,.08)}.mc-checkout__summary strong{color:#f1cd80;font-size:26px}.mc-checkout label{display:block;margin:18px 0 7px;color:#fff;font-weight:700}.mc-checkout input[type=email],.mc-checkout input[type=text]{width:100%;min-height:52px;padding:0 16px;border-radius:16px;border:1px solid rgba(144,192,255,.2);background:#07172e;color:#fff}.mc-checkout .mm-button{width:100%;justify-content:center;margin-top:16px}.mc-result__key{display:block;margin:16px 0;padding:16px;border-radius:16px;background:#07172e;color:#f1cd80;font-family:monospace;font-size:18px;word-break:break-all}.mc-status{padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.04);margin:14px 0}.mc-error{border:1px solid rgba(255,110,110,.3);color:#ffd2d2}.mc-success{border:1px solid rgba(121,220,166,.25);color:#c9f5db}
.mc-auth{max-width:760px;margin:0 auto;padding:34px;border-radius:32px;border:1px solid rgba(228,201,132,.18);background:linear-gradient(180deg,rgba(8,22,47,.94),rgba(5,14,31,.96));box-shadow:0 30px 80px rgba(0,0,0,.24);text-align:center}.mc-auth__mark{width:62px;height:62px;margin:0 auto 16px;display:grid;place-items:center;border-radius:20px;background:linear-gradient(135deg,#123c84,#0b1f46);border:1px solid rgba(241,205,128,.22);color:#fff;font-size:26px;font-weight:900;box-shadow:0 16px 34px rgba(17,71,165,.28)}.mc-auth__kicker{display:inline-block;color:#f1cd80;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.mc-auth h1{margin:10px 0 8px;font-size:clamp(32px,5vw,50px);letter-spacing:-.04em}.mc-auth__lead{max-width:610px;margin:0 auto;color:#aebfd4;line-height:1.7}.mc-social-login{margin:24px auto 0;max-width:540px;padding:18px;border:1px solid rgba(144,192,255,.12);border-radius:24px;background:rgba(255,255,255,.025)}.mc-social-login__label{display:flex;align-items:center;gap:10px;margin-bottom:12px;color:#8fa4bd;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.1em}.mc-social-login__label:after{content:"";height:1px;flex:1;background:rgba(228,201,132,.14)}.mc-social-login__buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mc-social-btn{min-height:52px;display:flex;align-items:center;justify-content:center;gap:10px;padding:0 16px;border-radius:17px;color:#fff!important;font-weight:800;text-decoration:none!important;transition:transform .18s ease,filter .18s ease}.mc-social-btn:hover{transform:translateY(-1px);filter:brightness(1.06);color:#fff!important}.mc-social-btn--vk{background:linear-gradient(135deg,#1686ff,#006be6)}.mc-social-btn--max{background:linear-gradient(135deg,#7758ff,#5636e4)}.mc-social-btn__icon{width:30px;height:30px;display:grid;place-items:center;border-radius:10px;background:rgba(255,255,255,.16);font-size:11px;font-weight:900}.mc-social-login__consent{margin:11px 0 0;color:#7f93ad;font-size:11px;line-height:1.55}.mc-social-login__consent a{color:#f1cd80!important}
.mc-auth__divider{display:flex;align-items:center;gap:12px;max-width:540px;margin:18px auto;color:#7489a3;font-size:11px;text-transform:uppercase;letter-spacing:.1em}.mc-auth__divider:before,.mc-auth__divider:after{content:"";height:1px;flex:1;background:rgba(144,192,255,.13)}.mc-auth__password{max-width:540px;margin:0 auto;padding:18px;border:1px solid rgba(144,192,255,.12);border-radius:24px;background:rgba(255,255,255,.025);text-align:left}.mc-auth__password label{display:grid;gap:7px;margin-bottom:12px;color:#d4e0ed;font-size:12px;font-weight:700}.mc-auth__password input{width:100%;min-height:50px;padding:0 14px;border-radius:15px;border:1px solid rgba(144,192,255,.18);background:#06152c;color:#fff}.mc-auth__password input:focus{outline:none;border-color:rgba(241,205,128,.5)}.mc-auth__captcha{margin:14px 0;padding:12px;border-radius:17px;background:#fff;overflow:hidden}.mc-auth__password .mm-button{width:100%;justify-content:center}
body.mc-account-route .mm-site{min-height:100vh;display:flex;flex-direction:column}body.mc-account-route .mm-main{flex:1 0 auto;display:flex;flex-direction:column}body.mc-account-route .mm-footer{margin-top:auto;flex:0 0 auto}.mc-account-endpoint{flex:1 0 auto;width:100%;min-height:0;padding:64px 0 88px}.mc-account-endpoint>.mm-container{width:min(1180px,calc(100% - 40px));margin:0 auto}.mc-account{max-width:1180px;margin:0 auto}.mc-account__hero{display:grid;grid-template-columns:auto 1fr auto;gap:22px;align-items:center;padding:28px 30px;border-radius:30px;border:1px solid rgba(228,201,132,.18);background:linear-gradient(180deg,rgba(8,22,47,.94),rgba(5,14,31,.96));box-shadow:0 30px 80px rgba(0,0,0,.22)}.mc-account__avatar{width:78px;height:78px;border-radius:24px;overflow:hidden;border:1px solid rgba(241,205,128,.28);background:#07172e;display:grid;place-items:center}.mc-account__avatar img{width:100%;height:100%;object-fit:cover}.mc-account__identity h1{margin:0 0 5px;font-size:32px;letter-spacing:-.035em}.mc-account__identity p{margin:0;color:#91a7c0}.mc-account__badges{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.mc-account__badge{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;background:rgba(255,255,255,.04);border:1px solid rgba(144,192,255,.12);color:#cbd8e7;font-size:11px}.mc-account__actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}.mc-account__logout,.mc-account__admin-login,.mc-account__support{display:inline-flex;min-height:42px;align-items:center;padding:0 15px;border-radius:999px;text-decoration:none!important}.mc-account__support{border:1px solid rgba(144,192,255,.16);background:rgba(255,255,255,.03);color:#dbe6f4!important}.mc-account__support:hover{border-color:rgba(241,205,128,.34);color:#f1cd80!important}.mc-account__logout{border:1px solid rgba(241,205,128,.24);color:#f1cd80!important}.mc-account__admin-login{border:1px solid rgba(241,205,128,.35);background:linear-gradient(135deg,#f1cd80,#cda450);color:#071326!important;font-weight:800}.mc-account__stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.mc-account__stat{padding:17px 18px;border-radius:20px;border:1px solid rgba(144,192,255,.10);background:linear-gradient(180deg,rgba(8,22,47,.70),rgba(5,14,31,.78))}.mc-account__stat small{display:block;color:#8096b1;text-transform:uppercase;letter-spacing:.09em;font-size:10px;font-weight:800}.mc-account__stat strong{display:block;margin-top:5px;color:#f1cd80;font-size:25px;line-height:1.1}.mc-account__stat span{display:block;margin-top:4px;color:#9eb1c8;font-size:12px}.mc-account__section{margin-top:24px}.mc-account__section-head{display:flex;justify-content:space-between;gap:16px;align-items:end;margin-bottom:14px}.mc-account__section-head h2{margin:0;color:#fff;font-size:28px}.mc-account__section-head p{margin:0;color:#8fa4bd}.mc-purchases{display:grid;gap:14px}.mc-purchase{padding:22px 24px;border-radius:24px;border:1px solid rgba(144,192,255,.12);background:linear-gradient(180deg,rgba(8,22,47,.82),rgba(5,14,31,.88));box-shadow:0 18px 44px rgba(0,0,0,.16)}.mc-purchase__top{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:start}.mc-purchase__title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.mc-purchase__title h3{margin:0;color:#fff;font-size:21px}.mc-order-status{display:inline-flex;min-height:27px;align-items:center;padding:0 9px;border-radius:999px;font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;background:rgba(255,255,255,.05);color:#b9c9dc}.mc-order-status--paid{background:rgba(78,190,130,.12);color:#a8efc7}.mc-order-status--pending{background:rgba(241,205,128,.11);color:#f1cd80}.mc-purchase__amount{color:#f1cd80;font-size:22px;font-weight:850;white-space:nowrap}.mc-purchase__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px}.mc-purchase__cell{padding:12px 13px;border-radius:16px;background:rgba(255,255,255,.025);border:1px solid rgba(144,192,255,.07)}.mc-purchase__cell small{display:block;margin-bottom:5px;color:#7f93ad;font-size:10px;text-transform:uppercase;letter-spacing:.08em}.mc-purchase__cell strong,.mc-purchase__cell code{display:block;color:#e7eef8;font-size:13px;word-break:break-word}.mc-purchase__license{display:flex;align-items:center;gap:10px;margin-top:14px;padding:14px 15px;border-radius:16px;background:#07172e;border:1px solid rgba(241,205,128,.13)}.mc-purchase__license code{flex:1;color:#f1cd80;font-size:15px;word-break:break-all}.mc-copy{min-height:36px;padding:0 12px;border-radius:12px;border:1px solid rgba(241,205,128,.2);background:transparent;color:#f1cd80;cursor:pointer}.mc-empty{padding:30px;border-radius:24px;border:1px dashed rgba(144,192,255,.18);background:rgba(255,255,255,.02);text-align:center;color:#9db0c6}.mc-empty strong{display:block;color:#fff;font-size:20px;margin-bottom:6px}
@media(max-width:900px){.mc-account__hero{grid-template-columns:auto 1fr}.mc-account__actions{grid-column:1/-1;justify-content:flex-start}.mc-account__logout,.mc-account__admin-login,.mc-account__support{width:max-content}.mc-purchase__grid{grid-template-columns:1fr 1fr}}
@media(max-width:720px){.mc-account__stats{grid-template-columns:1fr}.mc-plan-grid{grid-template-columns:1fr}.mc-offer__heading{display:block}.mc-offer__heading small{display:block;text-align:left;margin-top:6px}.mc-checkout,.mc-auth{padding:24px 20px}.mc-social-login__buttons{grid-template-columns:1fr}.mc-account__hero{grid-template-columns:1fr;text-align:center;padding:24px 20px}.mc-account__avatar{margin:0 auto}.mc-account__badges{justify-content:center}.mc-account__actions{justify-content:center}.mc-account__logout,.mc-account__admin-login,.mc-account__support{margin:0}.mc-account__section-head{display:block}.mc-account__section-head p{margin-top:5px}.mc-purchase__top{grid-template-columns:1fr}.mc-purchase__amount{font-size:20px}.mc-purchase__grid{grid-template-columns:1fr}.mc-purchase__license{display:block}.mc-copy{margin-top:10px;width:100%}}

/* MIDDLE-MEDIA modal authorization */
html.mc-auth-modal-open{overflow:hidden}
.mc-auth-modal{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:24px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .22s ease,visibility .22s ease}
.mc-auth-modal.is-open{opacity:1;visibility:visible;pointer-events:auto}
.mc-auth-modal__backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;background:rgba(2,8,20,.66);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);cursor:default}
.mc-auth-modal__dialog{position:relative;z-index:1;width:min(560px,calc(100vw - 36px));max-height:calc(100vh - 48px);overflow:auto;padding:34px;border-radius:34px;border:1px solid rgba(228,201,132,.24);background:linear-gradient(160deg,rgba(10,29,60,.98) 0%,rgba(5,16,35,.99) 62%,rgba(7,20,42,.99) 100%);box-shadow:0 46px 120px rgba(0,0,0,.56),0 0 0 1px rgba(255,255,255,.025) inset;transform:translateY(16px) scale(.985);transition:transform .24s ease;outline:none}
.mc-auth-modal.is-open .mc-auth-modal__dialog{transform:none}
.mc-auth-modal__dialog:before{content:"";position:absolute;left:36px;right:36px;top:0;height:1px;background:linear-gradient(90deg,transparent,rgba(241,205,128,.72),transparent)}
.mc-auth-modal__close{position:absolute;right:20px;top:20px;width:46px;height:46px;display:grid;place-items:center;border-radius:50%;border:1px solid rgba(144,192,255,.16);background:rgba(255,255,255,.035);color:#dbe7f4;font-size:28px;line-height:1;cursor:pointer;transition:background .18s ease,border-color .18s ease,transform .18s ease}
.mc-auth-modal__close:hover{background:rgba(255,255,255,.07);border-color:rgba(241,205,128,.30);transform:rotate(3deg)}
.mc-auth-modal__brand{display:flex;align-items:center;gap:11px;margin-bottom:24px;color:#fff}.mc-auth-modal__brand>span{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(135deg,#123c84,#0b1f46);box-shadow:0 12px 28px rgba(17,71,165,.30);font-size:19px;font-weight:900}.mc-auth-modal__brand strong{font-size:14px;letter-spacing:.04em}
.mc-auth-modal__kicker{display:inline-flex;min-height:28px;align-items:center;padding:0 10px;border-radius:999px;border:1px solid rgba(241,205,128,.18);background:rgba(241,205,128,.07);color:#f1cd80;font-size:10px;font-weight:850;letter-spacing:.11em;text-transform:uppercase}
.mc-auth-modal__dialog h2{margin:14px 0 12px;color:#fff;font-size:clamp(38px,6vw,56px);line-height:.98;letter-spacing:-.055em}
.mc-auth-modal__lead{max-width:465px;margin:0;color:#aebfd4;font-size:15px;line-height:1.65}
.mc-auth-modal__quick{margin-top:26px;padding:18px;border-radius:24px;border:1px solid rgba(144,192,255,.13);background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.018))}
.mc-auth-modal__quick-title{display:flex;align-items:center;gap:12px;margin-bottom:13px;color:#91a5bd;font-size:11px;font-weight:850;letter-spacing:.09em;text-transform:uppercase}.mc-auth-modal__quick-title i{height:1px;flex:1;background:linear-gradient(90deg,rgba(241,205,128,.22),transparent)}
.mc-auth-modal__providers{display:grid;gap:10px}
.mc-auth-modal__provider{min-height:66px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:13px;padding:10px 14px;border-radius:19px;border:1px solid transparent;color:#fff!important;text-decoration:none!important;transition:transform .18s ease,filter .18s ease,box-shadow .18s ease}
.mc-auth-modal__provider:hover{transform:translateY(-1px);filter:brightness(1.05);color:#fff!important}
.mc-auth-modal__provider--vk{background:linear-gradient(135deg,#137eff,#0069df);box-shadow:0 14px 28px rgba(7,103,224,.18)}
.mc-auth-modal__provider--max{background:linear-gradient(135deg,#7458ff,#5436da);box-shadow:0 14px 28px rgba(91,59,222,.16)}
.mc-auth-modal__provider-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:rgba(255,255,255,.16);font-size:12px;font-weight:900}.mc-auth-modal__provider>span:nth-child(2){display:grid;gap:3px}.mc-auth-modal__provider strong{font-size:14px}.mc-auth-modal__provider small{color:rgba(255,255,255,.72);font-size:11px}.mc-auth-modal__provider>i{font-style:normal;font-size:20px;opacity:.82}
.mc-auth-modal__divider{display:flex;align-items:center;gap:12px;margin:18px 2px 14px;color:#7088a5;font-size:10px;font-weight:850;letter-spacing:.09em;text-transform:uppercase}.mc-auth-modal__divider:before,.mc-auth-modal__divider:after{content:"";height:1px;flex:1;background:linear-gradient(90deg,transparent,rgba(144,192,255,.16))}.mc-auth-modal__divider:after{transform:scaleX(-1)}
.mc-auth-modal__password{padding:18px;border-radius:24px;border:1px solid rgba(144,192,255,.13);background:rgba(255,255,255,.022)}.mc-auth-modal__password-title{margin:0 0 14px;color:#fff;font-size:16px;font-weight:800}.mc-auth-modal__field{display:grid;gap:7px;margin-top:12px}.mc-auth-modal__field:first-of-type{margin-top:0}.mc-auth-modal__field label{color:#cbd9e9;font-size:12px;font-weight:700}.mc-auth-modal__field input{width:100%;min-height:50px;padding:0 14px;border:1px solid rgba(144,192,255,.18);border-radius:15px;background:#06152c;color:#fff;box-shadow:none;outline:none}.mc-auth-modal__field input:focus{border-color:rgba(241,205,128,.50);box-shadow:0 0 0 2px rgba(241,205,128,.08)}.mc-auth-modal__field input::placeholder{color:#607894}.mc-auth-modal__captcha{margin-top:14px;padding:12px;border-radius:17px;background:#fff;overflow:hidden}.mc-auth-modal__captcha .smart-captcha{min-height:82px}.mc-auth-modal__password-submit{width:100%;min-height:50px;margin-top:14px;border:0;border-radius:15px;background:linear-gradient(135deg,#f1d38c,#c89e4c);color:#171108;font-size:14px;font-weight:850;cursor:pointer;box-shadow:0 12px 28px rgba(202,160,78,.20);transition:transform .18s ease,filter .18s ease}.mc-auth-modal__password-submit:hover{transform:translateY(-1px);filter:brightness(1.05)}.mc-auth-modal__password-links{display:flex;justify-content:flex-end;margin-top:10px}.mc-auth-modal__password-links a{color:#f1cd80!important;font-size:11px;text-decoration:none!important}.mc-auth-modal__password-links a:hover{text-decoration:underline!important}.mc-auth-modal__captcha-warning{margin-top:12px;padding:11px 12px;border:1px solid rgba(241,205,128,.18);border-radius:14px;background:rgba(241,205,128,.06);color:#d9c18a;font-size:11px;line-height:1.5}.mc-auth-modal__login-error{margin:0 0 14px;padding:11px 13px;border:1px solid rgba(255,110,110,.24);border-radius:14px;background:rgba(164,44,59,.12);color:#ffd9dd;font-size:12px;line-height:1.5}
.mc-auth-modal__note{display:grid;grid-template-columns:42px 1fr;gap:12px;align-items:center;margin-top:16px;padding:14px 16px;border-radius:20px;border:1px solid rgba(241,205,128,.13);background:rgba(241,205,128,.045)}
.mc-auth-modal__shield{width:36px;height:36px;display:grid;place-items:center;border-radius:12px;background:rgba(241,205,128,.12);color:#f1cd80;font-weight:900}.mc-auth-modal__note p{margin:0;display:grid;gap:3px}.mc-auth-modal__note strong{color:#eef4fb;font-size:12px}.mc-auth-modal__note small{color:#8fa3bb;font-size:11px;line-height:1.45}
.mc-auth-modal__privacy{margin:16px 2px 0;color:#7187a2;font-size:10px;line-height:1.5;text-align:center}.mc-auth-modal__privacy a{color:#f1cd80!important}
@media(max-width:620px){.mc-auth-modal{padding:12px}.mc-auth-modal__dialog{width:100%;max-height:calc(100vh - 24px);padding:26px 18px 20px;border-radius:26px}.mc-auth-modal__close{right:14px;top:14px;width:40px;height:40px}.mc-auth-modal__brand{margin-bottom:20px}.mc-auth-modal__dialog h2{font-size:40px}.mc-auth-modal__lead{font-size:14px}.mc-auth-modal__quick{padding:14px;border-radius:20px}.mc-auth-modal__provider{min-height:62px}.mc-auth-modal__password{padding:14px;border-radius:20px}.mc-auth-modal__captcha{padding:8px}}


/* v0.3.5 — social providers restored + password drawer */
.mc-auth-modal__password-drawer{margin-top:16px;border:1px solid rgba(144,192,255,.12);border-radius:22px;background:rgba(255,255,255,.018);overflow:hidden}
.mc-auth-modal__password-toggle{width:100%;min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 16px;border:0;background:transparent;color:#fff;text-align:left;cursor:pointer;transition:background .18s ease}
.mc-auth-modal__password-toggle:hover,.mc-auth-modal__password-drawer.is-open .mc-auth-modal__password-toggle{background:rgba(241,205,128,.045)}
.mc-auth-modal__password-toggle>span{display:grid;gap:4px}.mc-auth-modal__password-toggle small{color:#7f95af;font-size:9px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}.mc-auth-modal__password-toggle strong{color:#eef4fb;font-size:13px}.mc-auth-modal__password-toggle i{width:32px;height:32px;display:grid;place-items:center;border-radius:10px;background:rgba(241,205,128,.08);color:#f1cd80;font-size:17px;font-style:normal;transition:transform .22s ease,background .18s ease}.mc-auth-modal__password-drawer.is-open .mc-auth-modal__password-toggle i{transform:rotate(180deg);background:rgba(241,205,128,.13)}
.mc-auth-modal__password-panel{display:grid;grid-template-rows:0fr;opacity:0;border-top:1px solid transparent;transition:grid-template-rows .28s ease,opacity .22s ease,border-color .22s ease}
.mc-auth-modal__password-drawer.is-open .mc-auth-modal__password-panel{grid-template-rows:1fr;opacity:1;border-top-color:rgba(144,192,255,.10)}
.mc-auth-modal__password-inner{min-height:0;overflow:hidden;padding:0 16px;transition:padding .28s ease}.mc-auth-modal__password-drawer.is-open .mc-auth-modal__password-inner{padding:16px}
.mc-auth-modal__password{padding:0;border:0;border-radius:0;background:transparent}
.mc-auth-modal__login-error{margin:0 0 12px}
@media(max-width:620px){.mc-auth-modal__password-toggle{min-height:60px;padding:11px 13px}.mc-auth-modal__password-inner{padding-left:13px;padding-right:13px}.mc-auth-modal__password-drawer.is-open .mc-auth-modal__password-inner{padding:13px}}

/* Middle Commerce 0.3.6 — auth flow matched to Middle Core 0.2.14 */
.mc-auth-modal__dialog{width:min(560px,calc(100vw - 36px))}
.mc-auth-modal__stack{display:grid;gap:16px;margin-top:18px}
.mc-auth-modal__login-form{margin:0}
.mc-auth-modal__login-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:13px 0 0;color:#9fb1c7;font-size:12px}
.mc-auth-modal__login-row a{color:#f1cd80!important;text-decoration:none!important}.mc-auth-modal__login-row a:hover{text-decoration:underline!important}
.mc-auth-modal__remember{display:flex!important;align-items:center;gap:8px;margin:0!important;color:#cbd8e7!important;font-size:12px!important;font-weight:500!important;cursor:pointer}.mc-auth-modal__remember input{width:16px!important;height:16px!important;min-height:0!important;margin:0!important;accent-color:#d7b45f}
.mc-auth-register{display:block;margin:0}
.mc-auth-register summary{list-style:none}.mc-auth-register summary::-webkit-details-marker{display:none}
.mc-auth-register__toggle{display:flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:0 18px;border-radius:16px;cursor:pointer;border:1px solid rgba(144,192,255,.16);background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018));color:#f1cd80;font-size:13px;font-weight:800;text-align:center;box-shadow:0 8px 20px rgba(0,0,0,.08),inset 0 1px 0 rgba(255,255,255,.025);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,background .22s ease}
.mc-auth-register__toggle:hover{transform:translateY(-1px);border-color:rgba(241,205,128,.34);background:linear-gradient(180deg,rgba(241,205,128,.075),rgba(255,255,255,.02));box-shadow:0 12px 24px rgba(0,0,0,.14)}
.mc-auth-register__toggle::after{content:'+';font-size:22px;line-height:1;opacity:.8}.mc-auth-register[open] .mc-auth-register__toggle::after{content:'–'}
.mc-auth-register__toggle-label--open{display:none}.mc-auth-register[open] .mc-auth-register__toggle-label--closed{display:none}.mc-auth-register[open] .mc-auth-register__toggle-label--open{display:inline}
.mc-auth-register__panel-wrap{padding-top:14px}.mc-auth-modal__register-form{margin:0}
.mc-auth-modal__quick{max-width:none}.mc-auth-modal__providers{display:grid;gap:10px}.mc-auth-modal__provider{width:100%}
.mc-auth-modal__note,.mc-auth-modal__password-drawer,.mc-auth-modal__password-toggle,.mc-auth-modal__password-panel{display:none!important}
@media(max-width:620px){.mc-auth-modal__stack{gap:13px}.mc-auth-modal__login-row{align-items:flex-start;flex-direction:column;gap:7px}.mc-auth-register__toggle{min-height:48px;padding:0 14px}.mc-auth-register__panel-wrap{padding-top:12px}}


/* 0.4.4 performance + narrow-screen hardening */
.mc-auth-modal__dialog{overscroll-behavior:contain}
.mc-auth-modal__captcha .smart-captcha{min-height:100px}
@media(max-width:430px){.mc-auth-modal{padding:8px}.mc-auth-modal__dialog{max-height:calc(100dvh - 16px);padding:24px 14px 18px;border-radius:24px}.mc-auth-modal__dialog h2{font-size:clamp(34px,11vw,40px)}.mc-auth-modal__provider{grid-template-columns:38px minmax(0,1fr) auto;gap:10px;padding-left:10px;padding-right:10px}.mc-auth-modal__field input{font-size:16px}.mc-account-endpoint>.mm-container{width:calc(100% - 16px)}.mc-account__hero{padding:20px 16px;border-radius:24px}.mc-account__identity h1{font-size:28px}}

/* 0.4.5 compact authorization modal: same visual language, less height, no inner scrollbar */
.mc-auth-modal{
  padding:18px;
}
.mc-auth-modal__dialog{
  width:min(520px,calc(100vw - 32px));
  max-height:none;
  overflow:visible;
  padding:24px 26px 20px;
  border-radius:28px;
}
.mc-auth-modal__dialog:before{left:28px;right:28px}
.mc-auth-modal__close{
  right:16px;top:16px;width:40px;height:40px;font-size:24px;
}
.mc-auth-modal__brand{
  gap:9px;margin-bottom:12px;
}
.mc-auth-modal__brand>span{
  width:36px;height:36px;border-radius:12px;font-size:16px;
}
.mc-auth-modal__brand strong{font-size:13px}
.mc-auth-modal__kicker{
  min-height:24px;padding:0 9px;font-size:9px;
}
.mc-auth-modal__dialog h2{
  margin:10px 0 8px;
  font-size:clamp(36px,4.6vw,44px);
  line-height:.96;
}
.mc-auth-modal__lead{
  max-width:430px;font-size:13px;line-height:1.45;
}
.mc-auth-modal__quick{
  margin-top:15px;padding:11px 12px;border-radius:19px;
}
.mc-auth-modal__quick-title{
  margin-bottom:8px;font-size:10px;
}
.mc-auth-modal__providers{gap:7px}
.mc-auth-modal__provider{
  min-height:54px;
  grid-template-columns:36px minmax(0,1fr) auto;
  gap:10px;padding:7px 11px;border-radius:16px;
}
.mc-auth-modal__provider-icon{
  width:36px;height:36px;border-radius:11px;font-size:11px;
}
.mc-auth-modal__provider strong{font-size:13px}
.mc-auth-modal__provider small{font-size:10px}
.mc-auth-modal__provider>i{font-size:17px}
.mc-auth-modal__stack{
  gap:10px;margin-top:12px;
}
.mc-auth-modal__password-title{
  margin:0 0 8px;font-size:14px;
}
.mc-auth-modal__field{
  gap:4px;margin-top:8px;
}
.mc-auth-modal__field label{font-size:11px}
.mc-auth-modal__field input{
  min-height:42px;padding:0 12px;border-radius:13px;
}
.mc-auth-modal__login-row{
  gap:10px;margin:8px 0 0;font-size:11px;
}
.mc-auth-modal__remember{gap:6px;font-size:11px!important}
.mc-auth-modal__remember input{width:14px!important;height:14px!important}
.mc-auth-modal__captcha{
  margin-top:9px;padding:5px 7px;border-radius:14px;
}
.mc-auth-modal__captcha .smart-captcha{min-height:90px}
.mc-auth-modal__password-submit{
  min-height:42px;margin-top:9px;border-radius:13px;font-size:13px;
}
.mc-auth-register__toggle{
  min-height:42px;padding:0 14px;border-radius:14px;font-size:12px;
}
.mc-auth-register__toggle::after{font-size:19px}
.mc-auth-register__panel-wrap{padding-top:9px}
.mc-auth-modal__privacy{
  margin:9px 2px 0;font-size:9px;line-height:1.35;
}

/* Typical notebooks and smaller desktop windows: compact further rather than scrolling. */
@media (max-height:860px) and (min-width:621px){
  .mc-auth-modal{padding:10px}
  .mc-auth-modal__dialog{width:min(500px,calc(100vw - 24px));padding:18px 22px 16px;border-radius:24px}
  .mc-auth-modal__close{right:12px;top:12px;width:36px;height:36px}
  .mc-auth-modal__brand{margin-bottom:8px}
  .mc-auth-modal__brand>span{width:32px;height:32px;border-radius:10px;font-size:15px}
  .mc-auth-modal__kicker{min-height:22px}
  .mc-auth-modal__dialog h2{margin:7px 0 6px;font-size:36px}
  .mc-auth-modal__lead{font-size:12px;line-height:1.35}
  .mc-auth-modal__quick{margin-top:11px;padding:9px 10px}
  .mc-auth-modal__quick-title{margin-bottom:6px}
  .mc-auth-modal__provider{min-height:48px;grid-template-columns:32px minmax(0,1fr) auto;padding:6px 9px}
  .mc-auth-modal__provider-icon{width:32px;height:32px}
  .mc-auth-modal__stack{gap:8px;margin-top:9px}
  .mc-auth-modal__password-title{margin-bottom:6px}
  .mc-auth-modal__field{margin-top:6px}
  .mc-auth-modal__field input{min-height:38px}
  .mc-auth-modal__login-row{margin-top:6px}
  .mc-auth-modal__captcha{margin-top:7px;padding:4px 6px}
  .mc-auth-modal__captcha .smart-captcha{min-height:84px}
  .mc-auth-modal__password-submit{min-height:38px;margin-top:7px}
  .mc-auth-register__toggle{min-height:38px}
  .mc-auth-modal__privacy{margin-top:7px}
}

/* Short viewports get a deliberately condensed header, while keeping every login control. */
@media (max-height:720px){
  .mc-auth-modal__brand{margin-bottom:5px}
  .mc-auth-modal__kicker{display:none}
  .mc-auth-modal__dialog h2{margin:4px 0 5px;font-size:31px;line-height:.98}
  .mc-auth-modal__lead{display:none}
  .mc-auth-modal__quick{margin-top:7px;padding:7px 9px}
  .mc-auth-modal__quick-title{display:none}
  .mc-auth-modal__provider{min-height:44px}
  .mc-auth-modal__provider small{display:none}
  .mc-auth-modal__stack{margin-top:7px}
  .mc-auth-modal__field input{min-height:36px}
  .mc-auth-modal__captcha .smart-captcha{min-height:80px}
  .mc-auth-modal__privacy{display:none}
}

@media (max-width:620px){
  .mc-auth-modal{padding:8px}
  .mc-auth-modal__dialog{
    width:min(500px,calc(100vw - 16px));
    max-height:none;
    overflow:visible;
    padding:18px 16px 14px;
    border-radius:22px;
  }
  .mc-auth-modal__close{right:11px;top:11px;width:36px;height:36px}
  .mc-auth-modal__brand{margin-bottom:9px}
  .mc-auth-modal__brand>span{width:34px;height:34px;border-radius:11px}
  .mc-auth-modal__dialog h2{font-size:clamp(32px,9.7vw,38px)}
  .mc-auth-modal__lead{font-size:12px;line-height:1.4;padding-right:20px}
  .mc-auth-modal__quick{margin-top:11px;padding:9px}
  .mc-auth-modal__provider{min-height:48px;grid-template-columns:32px minmax(0,1fr) auto;padding:6px 9px}
  .mc-auth-modal__provider-icon{width:32px;height:32px}
  .mc-auth-modal__stack{gap:8px;margin-top:9px}
  .mc-auth-modal__login-row{align-items:center;flex-direction:row;gap:8px}
  .mc-auth-modal__field input{min-height:40px;font-size:16px}
  .mc-auth-register__toggle{min-height:40px}
}

/* Registration is intentionally a drawer. If it is opened on a very short screen,
   enable an emergency viewport scroll only for that expanded state instead of
   permanently showing a scrollbar in the login window. */
.mc-auth-modal:has(.mc-auth-register[open]){
  overflow-y:auto;
  align-items:start;
}
.mc-auth-modal:has(.mc-auth-register[open]) .mc-auth-modal__dialog{
  margin:auto;
}
/* v0.4.6 legal checkout */
.mc-checkout select,.mc-checkout input[type=text]{width:100%;min-height:52px;padding:0 16px;border-radius:16px;border:1px solid rgba(144,192,255,.2);background:#07172e;color:#fff}.mc-checkout select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,#f1cd80 50%),linear-gradient(135deg,#f1cd80 50%,transparent 50%);background-position:calc(100% - 20px) 23px,calc(100% - 14px) 23px;background-size:6px 6px,6px 6px;background-repeat:no-repeat;padding-right:42px}.mc-business-fields{margin-top:10px;padding:16px;border-radius:18px;border:1px solid rgba(241,205,128,.12);background:rgba(241,205,128,.035)}.mc-business-fields[hidden]{display:none!important}.mc-legal-consents{display:grid;gap:12px;margin:20px 0 4px;padding:16px;border-radius:18px;border:1px solid rgba(241,205,128,.15);background:rgba(255,255,255,.025)}.mc-check{display:grid!important;grid-template-columns:20px minmax(0,1fr);gap:10px!important;align-items:start;margin:0!important;color:#cbd7e5!important;font-size:13px!important;line-height:1.55;font-weight:500!important}.mc-check input[type=checkbox]{width:18px;height:18px;margin:2px 0 0;accent-color:#d8b35f}.mc-check a{color:#f1cd80;text-decoration:underline;text-decoration-color:rgba(241,205,128,.35);text-underline-offset:3px}.mc-check a:hover{color:#fff0bd}.mc-checkout .description{color:#94a8c1}
/* v0.5.1 linked Product Archive downloads */
.mc-purchase__downloads{margin:16px 0;padding:16px;border:1px solid rgba(241,205,128,.14);border-radius:18px;background:linear-gradient(145deg,rgba(241,205,128,.035),rgba(10,25,48,.45))}.mc-purchase__downloads-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:11px}.mc-purchase__downloads-head small,.mc-purchase__downloads-head strong{display:block}.mc-purchase__downloads-head small{color:#8da3bd;font-size:10px;text-transform:uppercase;letter-spacing:.09em}.mc-purchase__downloads-head strong{margin-top:3px;color:#fff;font-size:14px}.mc-purchase__downloads-head>span{padding:5px 9px;border:1px solid rgba(241,205,128,.14);border-radius:999px;color:#d8bd78;font-size:9px;font-weight:800}.mc-purchase__download-list{display:grid;gap:8px}.mc-purchase__download{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 13px;border:1px solid rgba(141,178,225,.12);border-radius:13px;background:#07172e;text-decoration:none!important;transition:transform .16s ease,border-color .16s ease,background .16s ease}.mc-purchase__download:hover{transform:translateY(-1px);border-color:rgba(241,205,128,.28);background:#091b35}.mc-purchase__download span b,.mc-purchase__download span em{display:block}.mc-purchase__download span b{color:#edf4ff;font-size:12px}.mc-purchase__download span em{margin-top:3px;color:#8198b4;font-size:10px;font-style:normal}.mc-purchase__download>strong{flex:0 0 auto;padding:8px 11px;border-radius:9px;background:linear-gradient(135deg,#f0d28e,#c49b4d);color:#171107;font-size:10px}.mc-purchase__downloads>p{margin:9px 1px 0;color:#7188a3;font-size:9px}.mc-purchase__downloads-head+ .mc-purchase__download-list{}
@media(max-width:620px){.mc-purchase__downloads-head{align-items:flex-start}.mc-purchase__download{align-items:flex-start;flex-direction:column}.mc-purchase__download>strong{width:100%;text-align:center}}
.mc-offer__buy.is-disabled{display:flex;opacity:.58;cursor:not-allowed;pointer-events:none;filter:saturate(.45)}


/* v0.5.4 — checkout domain + editable customer avatar */
.mc-account__avatar-wrap{display:grid;justify-items:center;gap:8px;align-self:center}
.mc-avatar-form{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap}
.mc-avatar-form__upload,.mc-avatar-form__remove{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:0 9px;border-radius:999px;border:1px solid rgba(241,205,128,.22);background:rgba(241,205,128,.06);color:#f1cd80;font-size:10px;font-weight:800;line-height:1;cursor:pointer;text-decoration:none}
.mc-avatar-form__upload:hover,.mc-avatar-form__remove:hover{border-color:rgba(241,205,128,.45);background:rgba(241,205,128,.12);color:#fff}
.mc-avatar-form__remove{font-family:inherit}
.mc-profile-notice{max-width:1180px;margin:0 auto 14px}
.mc-checkout code{padding:2px 5px;border-radius:6px;background:rgba(255,255,255,.04);color:#f1cd80;font-size:.92em}
@media(max-width:720px){.mc-account__avatar-wrap{width:100%}.mc-avatar-form{margin-bottom:4px}}
