/* Authentication-only brand and provider refinement. */
body.ys-mf-auth-body .ys-mf-auth-stage {
    --mf-auth-secondary-surface: rgba(17,24,36,.62);
    --mf-auth-secondary-line: rgba(203,219,237,.16);
    --mf-auth-secondary-text: #c5d1e0;
    --mf-auth-secondary-link: #b8dcf6;
}
:root[data-theme="light"] body.ys-mf-auth-body .ys-mf-auth-stage {
    --mf-auth-secondary-surface: rgba(247,250,255,.72);
    --mf-auth-secondary-line: rgba(63,83,110,.18);
    --mf-auth-secondary-text: #526278;
    --mf-auth-secondary-link: #305d80;
}
body.ys-mf-auth-body .ys-mf-auth-lock-form > .ys-mf-auth-lock-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 44px;
    margin: 14px 0 0;
    padding: 9px 14px;
    border: 1px solid var(--mf-auth-secondary-line) !important;
    border-bottom: 0 !important;
    border-radius: 14px 14px 0 0;
    background: var(--mf-auth-secondary-surface) !important;
    box-shadow: none !important;
    text-shadow: none;
}
body.ys-mf-auth-body .ys-mf-auth-lock-options > .ys-mf-auth-check,
body.ys-mf-auth-body .ys-mf-auth-lock-options > .ys-mf-auth-forgot {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 24px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--mf-auth-secondary-text) !important;
    font-size: 12px;
    font-weight: 500;
    text-shadow: none;
}
body.ys-mf-auth-body .ys-mf-auth-lock-options > .ys-mf-auth-forgot {
    color: var(--mf-auth-secondary-link) !important;
}
body.ys-mf-auth-body .ys-mf-auth-lock-options .ys-mf-auth-check-mark {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    border-radius: 5px;
}
body.ys-mf-auth-body .ys-mf-auth-stage > .ys-mf-auth-lock-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    margin: 0;
    padding: 8px 14px;
    border: 1px solid var(--mf-auth-secondary-line) !important;
    border-bottom: 0 !important;
    border-radius: 0;
    background: var(--mf-auth-secondary-surface) !important;
    box-shadow: none !important;
    text-shadow: none;
}
body.ys-mf-auth-body .ys-mf-auth-lock-links .ys-mf-auth-register-hint {
    display: inline;
    color: var(--mf-auth-secondary-text);
    font-size: 12px;
    font-weight: 400;
}
body.ys-mf-auth-body .ys-mf-auth-stage > .ys-mf-auth-lock-links a {
    min-height: 24px;
    padding: 0;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--mf-auth-secondary-link) !important;
    font-size: 12px !important;
    font-weight: 600;
    text-shadow: none !important;
}
body.ys-mf-auth-body .ys-mf-auth-forgot::before,
body.ys-mf-auth-body .ys-mf-auth-forgot::after,
body.ys-mf-auth-body .ys-mf-auth-lock-links a::before,
body.ys-mf-auth-body .ys-mf-auth-lock-links a::after {
    content: none !important;
}
body.ys-mf-auth-body .ys-mf-auth-forgot:hover,
body.ys-mf-auth-body .ys-mf-auth-lock-links a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}
body.ys-mf-auth-body .ys-mf-auth-forgot:focus-visible,
body.ys-mf-auth-body .ys-mf-auth-lock-links a:focus-visible,
body.ys-mf-auth-body .ys-mf-auth-check:has(input:focus-visible) {
    outline: 2px solid #a9dafa;
    outline-offset: 3px;
    border-radius: 3px;
}
body.ys-mf-auth-body .ys-mf-auth-stage--register > .ys-mf-auth-lock-links {
    margin-top: 14px;
    border-radius: 14px 14px 0 0;
}
body.ys-mf-auth-body .ys-mf-auth-stage > .ys-mf-auth-lock-links:last-child {
    border-bottom: 1px solid var(--mf-auth-secondary-line) !important;
    border-radius: 14px;
    margin-top: 14px;
}
body.ys-mf-auth-body .ys-mf-auth-stage > .ys-mf-auth-lock-links:has(+ [data-mf-auth-alt][hidden]) {
    border-bottom: 1px solid var(--mf-auth-secondary-line) !important;
    border-radius: 0 0 14px 14px;
}
body.ys-mf-auth-body .ys-mf-auth-stage--register > .ys-mf-auth-lock-links:has(+ [data-mf-auth-alt][hidden]) {
    border-radius: 14px;
}
body.ys-mf-auth-body .ys-mf-auth-shop-link {
    --mf-brand-avatar: 80px;
    animation: none !important;
    transform: none !important;
    filter: none !important;
}
body.ys-mf-auth-body .ys-mf-auth-shop-link::before,
body.ys-mf-auth-body .ys-mf-auth-shop-link::after,
body.ys-mf-auth-body .ys-mf-auth-avatar::before,
body.ys-mf-auth-body .ys-mf-auth-avatar::after,
body.ys-mf-auth-body .ys-mf-auth-shop-link h1::before,
body.ys-mf-auth-body .ys-mf-auth-shop-link h1::after {
    content: none !important;
    display: none !important;
}
body.ys-mf-auth-body .ys-mf-auth-shop-link .ys-mf-auth-avatar {
    display: block;
    width: var(--mf-brand-avatar);
    height: var(--mf-brand-avatar);
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 50%;
    background: transparent;
    box-shadow: 0 8px 22px rgba(0,0,0,.16) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: none !important;
    animation: none !important;
    filter: none !important;
    will-change: auto;
    transition: border-color .18s ease;
}
body.ys-mf-auth-body .ys-mf-auth-shop-link .ys-mf-auth-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
    border-radius: inherit;
}
body.ys-mf-auth-body .ys-mf-auth-shop-link:hover .ys-mf-auth-avatar {
    border-color: rgba(255,255,255,.55);
}
body.ys-mf-auth-body .ys-mf-auth-shop-link:focus-visible {
    outline: 2px solid #a9dafa;
    outline-offset: 6px;
    border-radius: 12px;
}
body.ys-mf-auth-body .ys-mf-auth-shop-link h1 {
    margin-top: 12px;
    animation: none !important;
    transform: none !important;
    filter: none !important;
    text-shadow: 0 1px 4px rgba(0,0,0,.25) !important;
}
body.ys-mf-auth-body .ys-mf-auth-electric,
body.ys-mf-auth-body .ys-mf-auth-caustic,
body.ys-mf-auth-body .ys-mf-auth-liquid-ripple {
    display: none !important;
}
body.ys-mf-auth-body [data-mf-auth-alt].ys-mf-auth-providers {
    display: grid !important;
    grid-template-columns: repeat(var(--mf-auth-provider-columns, 3), minmax(0,1fr)) !important;
    align-items: stretch;
    gap: 9px !important;
    min-height: 0 !important;
    padding: 14px 14px 16px !important;
    margin: 0;
    border: 1px solid var(--mf-auth-secondary-line) !important;
    border-radius: 0 0 14px 14px;
    background: var(--mf-auth-secondary-surface) !important;
    box-shadow: none !important;
}
body.ys-mf-auth-body [data-mf-auth-alt].ys-mf-auth-providers[hidden],
body.ys-mf-auth-body [data-mf-auth-alt].ys-mf-auth-providers .ys-mf-auth-social[hidden] {
    display: none !important;
}
body.ys-mf-auth-body .ys-mf-auth-providers > .ys-mf-auth-alt-title {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 0 1px !important;
    min-height: 18px;
    color: #b6c4d4;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .02em;
}
body.ys-mf-auth-body .ys-mf-auth-providers > .ys-mf-auth-alt-title::before,
body.ys-mf-auth-body .ys-mf-auth-providers > .ys-mf-auth-alt-title::after {
    content: "";
    flex: 1 1 0;
    display: block;
    width: auto;
    height: 1px;
    margin: 0;
    border-radius: 0;
    background: rgba(207,222,240,.15);
    box-shadow: none;
}
body.ys-mf-auth-body .ys-mf-auth-providers .ys-mf-auth-provider-wrap {
    display: contents;
    margin: 0;
    padding: 0;
}
body.ys-mf-auth-body [data-mf-auth-alt].ys-mf-auth-providers .ys-mf-auth-social {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 8px !important;
    border: 1px solid rgba(203,219,237,.18) !important;
    border-radius: 10px !important;
    background: rgba(226,237,250,.055) !important;
    color: #e7edf5 !important;
    box-shadow: none !important;
    font-family: inherit;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    white-space: nowrap;
    text-decoration: none !important;
    text-shadow: none !important;
    cursor: pointer;
    transform: none;
    transition: background .18s ease, border-color .18s ease, transform .18s ease !important;
}
body.ys-mf-auth-body .ys-mf-auth-providers .ys-mf-auth-social::before,
body.ys-mf-auth-body .ys-mf-auth-providers .ys-mf-auth-social::after {
    content: none !important;
}
body.ys-mf-auth-body .ys-mf-auth-providers .oauth-login-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 0;
    line-height: 1.3;
}
body.ys-mf-auth-body .ys-mf-auth-providers .oauth-login-text {
    padding: 0;
    margin: 0;
    color: inherit !important;
    font: inherit !important;
    letter-spacing: 0;
    text-shadow: none;
    transform: none;
}
body.ys-mf-auth-body .ys-mf-auth-providers :is(.oauth-login-icon,.ys-mf-auth-brand-icon,.ys-mf-auth-social-icon) {
    display: inline-flex;
    flex: 0 0 19px;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    margin: 0;
    font-size: 19px !important;
    line-height: 1 !important;
    opacity: 1;
    filter: none !important;
}
body.ys-mf-auth-body .ys-mf-auth-providers .oauth-login-icon svg {
    display: block;
    width: 19px;
    height: 19px;
    flex-basis: 19px;
}
body.ys-mf-auth-body .ys-mf-auth-providers .ys-mf-auth-social--passkey .ys-mf-auth-social-icon {
    color: #c4b5fd;
}
body.ys-mf-auth-body [data-mf-auth-alt].ys-mf-auth-providers .ys-mf-auth-social:hover {
    background: rgba(226,237,250,.12) !important;
    border-color: rgba(203,219,237,.38) !important;
    color: #fff !important;
    transform: translateY(-1px);
}
body.ys-mf-auth-body [data-mf-auth-alt].ys-mf-auth-providers .ys-mf-auth-social:focus-visible {
    outline: 2px solid #a9dafa !important;
    outline-offset: 3px;
}
body.ys-mf-auth-body [data-mf-auth-alt].ys-mf-auth-providers .ys-mf-auth-social:active {
    transform: translateY(0);
}
:root[data-theme="light"] body.ys-mf-auth-body [data-mf-auth-alt].ys-mf-auth-providers {
    background: var(--mf-auth-secondary-surface) !important;
}
:root[data-theme="light"] body.ys-mf-auth-body .ys-mf-auth-providers > .ys-mf-auth-alt-title {
    color: #526278;
}
:root[data-theme="light"] body.ys-mf-auth-body .ys-mf-auth-providers > .ys-mf-auth-alt-title::before,
:root[data-theme="light"] body.ys-mf-auth-body .ys-mf-auth-providers > .ys-mf-auth-alt-title::after {
    background: rgba(46,65,89,.17);
}
:root[data-theme="light"] body.ys-mf-auth-body [data-mf-auth-alt].ys-mf-auth-providers .ys-mf-auth-social {
    color: #27374c !important;
    background: rgba(255,255,255,.56) !important;
    border-color: rgba(63,83,110,.2) !important;
}
:root[data-theme="light"] body.ys-mf-auth-body .ys-mf-auth-providers .ys-mf-auth-social--passkey .ys-mf-auth-social-icon {
    color: #7954c5;
}
:root[data-theme="light"] body.ys-mf-auth-body [data-mf-auth-alt].ys-mf-auth-providers .ys-mf-auth-social:hover {
    color: #172a40 !important;
    background: rgba(255,255,255,.85) !important;
    border-color: rgba(63,83,110,.4) !important;
}
@media(max-width:420px) {
    body.ys-mf-auth-body .ys-mf-auth-shop-link { --mf-brand-avatar: 72px; }
    body.ys-mf-auth-body [data-mf-auth-alt].ys-mf-auth-providers { gap: 7px !important; padding: 12px 10px 14px !important; }
    body.ys-mf-auth-body [data-mf-auth-alt].ys-mf-auth-providers .ys-mf-auth-social { gap: 5px; padding: 0 5px !important; font-size: 11px !important; }
    body.ys-mf-auth-body .ys-mf-auth-providers .oauth-login-content { gap: 5px; }
}
@media(prefers-reduced-motion:reduce) {
    body.ys-mf-auth-body .ys-mf-auth-avatar,
    body.ys-mf-auth-body [data-mf-auth-alt].ys-mf-auth-providers .ys-mf-auth-social { transition: none !important; }
}

/* Login header: a readable brand plate and a title joined to the credential card. */
body.ys-mf-auth-body .ys-mf-auth-stage--login {
    --mf-auth-header-surface: rgba(18,25,37,.94);
    --mf-auth-header-line: rgba(203,219,237,.2);
    --mf-auth-header-text: #f3f6fb;
    --mf-auth-header-muted: #c1ccdb;
}
:root[data-theme="light"] body.ys-mf-auth-body .ys-mf-auth-stage--login {
    --mf-auth-header-surface: rgba(248,250,253,.96);
    --mf-auth-header-line: rgba(63,83,110,.22);
    --mf-auth-header-text: #1b2b40;
    --mf-auth-header-muted: #495d76;
}
body.ys-mf-auth-body .ys-mf-auth-stage--login > .ys-mf-auth-identity {
    width: 100%;
    margin: 0 0 14px;
    animation: none !important;
}
body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-shop-link {
    --mf-brand-avatar: 54px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 14px 16px;
    box-sizing: border-box;
    border: 1px solid var(--mf-auth-header-line);
    border-radius: 16px;
    background: var(--mf-auth-header-surface);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    color: var(--mf-auth-header-text);
    text-align: left;
    text-decoration: none;
    text-shadow: none;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-shop-link .ys-mf-auth-avatar {
    flex: 0 0 var(--mf-brand-avatar);
    width: var(--mf-brand-avatar);
    height: var(--mf-brand-avatar);
    border: 1px solid var(--mf-auth-header-line);
    background: #101722;
    box-shadow: none !important;
}
body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-shop-link h1 {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    overflow: visible;
    color: var(--mf-auth-header-text) !important;
    font-size: 20px !important;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .02em;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: left;
    text-shadow: none !important;
}
body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-shop-link:hover {
    border-color: var(--mf-auth-header-muted);
}
body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-shop-link:focus-visible {
    outline-offset: 3px;
    border-radius: 16px;
}
body.ys-mf-auth-body .ys-mf-auth-stage--login > .ys-mf-auth-page-banner--login {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 12px 16px;
    box-sizing: border-box;
    border: 1px solid var(--mf-auth-header-line);
    border-radius: 16px 16px 0 0;
    background: var(--mf-auth-header-surface);
    box-shadow: none;
    color: var(--mf-auth-header-text);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: .02em;
    text-align: left;
    text-shadow: none;
    animation: none !important;
}
body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-page-banner__icon {
    display: block;
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    color: var(--mf-auth-header-muted);
}
body.ys-mf-auth-body .ys-mf-auth-stage--login > .ys-mf-auth-lock-form > .ys-mf-auth-dock {
    border-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-color: var(--mf-auth-header-line);
    animation: none !important;
}
@media(max-width:420px) {
    body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-shop-link {
        --mf-brand-avatar: 48px;
        gap: 12px;
        padding: 12px 14px;
    }
    body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-shop-link h1 {
        font-size: 18px !important;
    }
    body.ys-mf-auth-body .ys-mf-auth-stage--login > .ys-mf-auth-page-banner--login {
        padding-right: 14px;
        padding-left: 14px;
    }
}

/* Wallpaper-led authentication: quiet identity above one compact credential surface. */
:root[data-theme] body.ys-mf-auth-body {
    --mf-glass-panel:rgba(24,24,27,.92);
    --mf-glass-translucent:rgba(24,24,27,.62);
    --mf-glass-line:rgba(255,255,255,.17);
    --mf-glass-field:rgba(255,255,255,.055);
    --mf-glass-hover:rgba(255,255,255,.10);
    --mf-glass-text:#f5f5f7;
    --mf-glass-muted:#c9c9ce;
    --mf-glass-button:#f1f1f4;
    --mf-glass-button-text:#242429;
    --mf-glass-active:var(--mf-glass-panel);
}
:root[data-theme="light"] body.ys-mf-auth-body {
    --mf-glass-panel:rgba(250,250,252,.94);
    --mf-glass-translucent:rgba(250,250,252,.66);
    --mf-glass-line:rgba(30,30,36,.16);
    --mf-glass-field:rgba(255,255,255,.24);
    --mf-glass-hover:rgba(30,30,36,.065);
    --mf-glass-text:#26262c;
    --mf-glass-muted:#595960;
    --mf-glass-button:#303036;
    --mf-glass-button-text:#fafafa;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-wall__shade {
    background:rgba(0,0,0,.13)!important;
}
:root[data-theme="light"] body.ys-mf-auth-body .ys-mf-auth-wall__shade {
    background:rgba(255,255,255,.08)!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage {
    --mf-auth-secondary-surface:transparent;
    --mf-auth-secondary-line:var(--mf-glass-line);
    --mf-auth-secondary-text:var(--mf-glass-muted);
    --mf-auth-secondary-link:var(--mf-glass-text);
    position:relative!important;
    top:auto!important;
    left:auto!important;
    transform:none!important;
    width:min(336px,calc(100vw - 32px))!important;
    max-width:336px!important;
    margin:24px auto 0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    color:var(--mf-glass-text)!important;
    text-shadow:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
    box-sizing:border-box!important;
    animation:none!important;
}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
    :root[data-theme] body.ys-mf-auth-body {
        --mf-glass-active:var(--mf-glass-translucent);
    }
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage .ys-mf-auth-dock,
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-support,
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-topbar .ys-mf-topbar-inner {
        background:var(--mf-glass-translucent)!important;
        backdrop-filter:blur(26px) saturate(110%)!important;
        -webkit-backdrop-filter:blur(26px) saturate(110%)!important;
    }
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage::before,
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage::after,
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-dock::before,
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-dock::after {
    content:none!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage > .ys-mf-auth-identity {
    width:100%!important;
    align-items:center!important;
    margin:0 0 16px!important;
    padding:0!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage .ys-mf-auth-shop-link {
    --mf-brand-avatar:42px;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    color:var(--mf-glass-text)!important;
    text-shadow:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage .ys-mf-auth-avatar {
    width:42px!important;
    height:42px!important;
    flex:0 0 42px!important;
    padding:0!important;
    border:1px solid var(--mf-glass-line)!important;
    border-radius:12px!important;
    background:transparent!important;
    box-shadow:none!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage .ys-mf-auth-shop-link h1 {
    flex:1 1 auto!important;
    min-width:0!important;
    margin:0!important;
    color:var(--mf-glass-text)!important;
    font-size:17px!important;
    font-weight:650!important;
    line-height:1.35!important;
    letter-spacing:0!important;
    text-align:center!important;
    text-shadow:0 1px 8px rgba(0,0,0,.25)!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage > .ys-mf-auth-page-banner {
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:7px!important;
    min-height:0!important;
    margin:0 0 8px!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    color:var(--mf-glass-muted)!important;
    font-size:12px!important;
    font-weight:500!important;
    line-height:1.5!important;
    letter-spacing:0!important;
    text-shadow:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-page-banner__icon,
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-page-banner > .material-icons-outlined {
    width:17px!important;
    height:17px!important;
    flex:0 0 17px!important;
    color:inherit!important;
    font-size:17px!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage .ys-mf-auth-dock {
    border:1px solid var(--mf-glass-line)!important;
    border-radius:12px!important;
    background:var(--mf-glass-panel);
    box-shadow:0 12px 32px rgba(0,0,0,.16)!important;
    outline:none!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-dock-row {
    min-height:46px!important;
    border-color:var(--mf-glass-line)!important;
    background:transparent!important;
    color:var(--mf-glass-muted)!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-dock-row input {
    color:var(--mf-glass-text)!important;
    font-size:13px!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-dock-row input::placeholder {
    color:var(--mf-glass-muted)!important;
    opacity:.8!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-dock-row:focus-within {
    background:var(--mf-glass-hover)!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-dock-label,
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-dock-row > button {
    color:var(--mf-glass-muted)!important;
    text-shadow:none!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-dock-submit {
    min-height:40px!important;
    border-radius:8px!important;
    background:var(--mf-glass-button)!important;
    color:var(--mf-glass-button-text)!important;
    box-shadow:none!important;
    font-size:13px!important;
    font-weight:650!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-dock-submit:hover {
    opacity:.9;
    filter:none!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-lock-form > .ys-mf-auth-lock-options,
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage > .ys-mf-auth-lock-links,
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage > [data-mf-auth-alt].ys-mf-auth-providers {
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-lock-form > .ys-mf-auth-lock-options {
    min-height:36px!important;
    margin:7px 0 0!important;
    padding:4px 0!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage > .ys-mf-auth-lock-links {
    min-height:30px!important;
    margin:4px 0 0!important;
    padding:3px 0!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage > [data-mf-auth-alt].ys-mf-auth-providers {
    margin:14px 0 0!important;
    padding:0!important;
    gap:8px!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-lock-options > .ys-mf-auth-check,
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-lock-options > .ys-mf-auth-forgot,
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-lock-links a,
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-register-hint,
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-providers > .ys-mf-auth-alt-title {
    color:var(--mf-glass-muted)!important;
    text-shadow:none!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-lock-links a,
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-lock-options > .ys-mf-auth-forgot {
    color:var(--mf-glass-text)!important;
}
:root[data-theme] body.ys-mf-auth-body [data-mf-auth-alt].ys-mf-auth-providers .ys-mf-auth-social {
    min-height:38px!important;
    border:1px solid var(--mf-glass-line)!important;
    background:var(--mf-glass-field)!important;
    color:var(--mf-glass-text)!important;
    border-radius:9px!important;
    box-shadow:none!important;
}
:root[data-theme] body.ys-mf-auth-body [data-mf-auth-alt].ys-mf-auth-providers .ys-mf-auth-social:hover {
    background:var(--mf-glass-hover)!important;
    border-color:var(--mf-glass-muted)!important;
    transform:none!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-providers > .ys-mf-auth-alt-title::before,
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-providers > .ys-mf-auth-alt-title::after {
    background:var(--mf-glass-line)!important;
}

/* One compact utility strip; the original controls and popovers keep their behavior. */
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-topbar {
    top:14px!important;
    right:16px!important;
    left:auto!important;
    width:auto!important;
    padding:0!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-topbar .ys-mf-topbar-inner {
    min-height:0!important;
    height:auto!important;
    padding:4px!important;
    border:1px solid var(--mf-glass-line)!important;
    border-radius:13px!important;
    background:var(--mf-glass-panel);
    box-shadow:0 8px 22px rgba(0,0,0,.1)!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-topbar .ys-mf-topbar-right {
    gap:2px!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-topbar .ys-mf-topbar-nav {
    display:flex!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-topbar :is(.ys-mf-topbar-link,.ys-mf-theme-toggle,.ys-mf-lang-quick,.ys-mf-theme-trigger,.ys-mf-lang-quick-trigger) {
    height:34px!important;
    min-height:34px!important;
    border:0!important;
    border-radius:9px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:var(--mf-glass-text)!important;
    text-shadow:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-topbar :is(.ys-mf-theme-toggle,.ys-mf-lang-quick,.ys-mf-theme-trigger,.ys-mf-lang-quick-trigger) {
    width:34px!important;
    min-width:34px!important;
    padding:0!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-topbar .ys-mf-topbar-link {
    padding:0 9px!important;
    gap:6px!important;
    font-size:12px!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-topbar :is(.ys-mf-topbar-link,.ys-mf-theme-trigger,.ys-mf-lang-quick-trigger):hover {
    background:var(--mf-glass-hover)!important;
    transform:none!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-topbar :is(.ys-mf-theme-options,.ys-mf-lang-quick-options) {
    border:1px solid var(--mf-glass-line)!important;
    background:var(--mf-glass-panel)!important;
    color:var(--mf-glass-text)!important;
    box-shadow:0 12px 32px rgba(0,0,0,.16)!important;
    backdrop-filter:blur(24px)!important;
    -webkit-backdrop-filter:blur(24px)!important;
}

/* Manual support recovery uses the same quiet hierarchy as the account form. */
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-support {
    padding:20px;
    border:1px solid var(--mf-glass-line);
    border-radius:15px;
    background:var(--mf-glass-panel);
    text-align:left;
    color:var(--mf-glass-text);
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-support h2 {
    margin:4px 0 10px;
    color:var(--mf-glass-text);
    font-size:20px;
    font-weight:650;
    line-height:1.4;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-support p {
    margin:0;
    color:var(--mf-glass-muted);
    font-size:13px;
    line-height:1.75;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-support__hint {
    display:flex;
    align-items:flex-start;
    gap:8px;
    margin:18px 0;
    padding:12px 0;
    border-top:1px solid var(--mf-glass-line);
    border-bottom:1px solid var(--mf-glass-line);
    color:var(--mf-glass-muted);
    font-size:12px;
    line-height:1.7;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-support__hint svg {
    flex:0 0 18px;
    width:18px;
    height:18px;
    margin-top:2px;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-support__contact {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:42px;
    padding:10px 14px;
    border:1px solid transparent;
    border-radius:10px;
    background:var(--mf-glass-button);
    color:var(--mf-glass-button-text)!important;
    font-size:13px;
    font-weight:600;
    text-decoration:none;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-support__contact svg {
    width:18px;
    height:18px;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-support__contact:hover {
    opacity:.9;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-support__contact:focus-visible {
    outline:2px solid var(--mf-glass-text);
    outline-offset:3px;
}
@media(max-width:420px) {
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage {
        width:min(336px,calc(100vw - 32px))!important;
        margin-top:22px!important;
        padding:0!important;
        border-radius:0!important;
    }
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-dock-row input {
        font-size:16px!important;
    }
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-topbar {
        top:10px!important;
        right:12px!important;
    }
}

:root[data-theme] body.ys-mf-auth-body :is(.ys-mf-auth-lock,.ys-mf-auth-register) {
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:100vh!important;
    min-height:100dvh!important;
    padding:80px 16px 32px!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-clock {
    display:block!important;
    position:static!important;
    width:max-content!important;
    margin:0!important;
    color:var(--mf-glass-text)!important;
    text-align:center!important;
    transform:none!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-date {
    font-size:13px!important;
    font-weight:500!important;
    text-shadow:0 1px 8px rgba(0,0,0,.2)!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-time {
    margin-top:5px!important;
    color:var(--mf-glass-text)!important;
    background:none!important;
    -webkit-text-fill-color:currentColor!important;
    font-size:clamp(64px,7.5vw,94px)!important;
    font-weight:500!important;
    line-height:1!important;
    letter-spacing:-.035em!important;
    text-shadow:0 2px 18px rgba(0,0,0,.18)!important;
    filter:none!important;
}

/* Keep the wallpaper visible around the identity, and tint only the working controls. */
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-clock,
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-date,
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-time,
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage .ys-mf-auth-shop-link h1 {
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    font-weight:650!important;
    text-shadow:0 1px 5px rgba(0,0,0,.55),0 5px 20px rgba(0,0,0,.2)!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage > .ys-mf-auth-page-banner {
    min-height:36px!important;
    margin:0!important;
    padding:10px 12px!important;
    border:1px solid var(--mf-glass-line)!important;
    border-bottom:0!important;
    border-radius:12px 12px 0 0!important;
    background:var(--mf-glass-active)!important;
    color:var(--mf-glass-muted)!important;
    backdrop-filter:blur(26px) saturate(110%)!important;
    -webkit-backdrop-filter:blur(26px) saturate(110%)!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage .ys-mf-auth-dock {
    border-top:0!important;
    border-bottom:0!important;
    border-radius:0!important;
    background:var(--mf-glass-active)!important;
    box-shadow:none!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage .ys-mf-auth-lock-form > .ys-mf-auth-lock-options,
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage > .ys-mf-auth-lock-links,
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage > [data-mf-auth-alt] {
    margin:0!important;
    padding:8px 12px!important;
    border:1px solid var(--mf-glass-line)!important;
    border-top:0!important;
    border-bottom:0!important;
    border-radius:0!important;
    background:var(--mf-glass-active)!important;
    box-shadow:none!important;
    color:var(--mf-glass-muted)!important;
    backdrop-filter:blur(26px) saturate(110%)!important;
    -webkit-backdrop-filter:blur(26px) saturate(110%)!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage > [data-mf-auth-alt],
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage > [data-mf-auth-alt].ys-mf-auth-providers,
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage > .ys-mf-auth-lock-links:last-child,
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage > .ys-mf-auth-lock-links:has(+ [data-mf-auth-alt][hidden]) {
    padding-bottom:12px!important;
    border-bottom:1px solid var(--mf-glass-line)!important;
    border-radius:0 0 12px 12px!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage > [data-mf-auth-alt].ys-mf-auth-providers {
    margin:0!important;
    padding:10px 12px 12px!important;
    border-left:1px solid var(--mf-glass-line)!important;
    border-right:1px solid var(--mf-glass-line)!important;
    background:var(--mf-glass-active)!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--recovery .ys-mf-auth-support {
    border-top:0;
    border-bottom:0;
    border-radius:0;
    background:var(--mf-glass-active)!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-topbar .ys-mf-topbar-nav > a[href="/"] {
    display:inline-flex!important;
    align-items:center!important;
    visibility:visible!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-topbar .ys-mf-topbar-nav > a[href="/"] > span:last-child {
    display:inline!important;
}
/* A single backdrop prevents separately blurred rows from producing visible seams. */
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-access {
    border:1px solid var(--mf-glass-line);
    border-radius:14px;
    background:var(--mf-glass-panel);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 12px 36px rgba(0,0,0,.12);
    overflow:hidden;
}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-access {
        background:var(--mf-glass-translucent);
        backdrop-filter:blur(26px) saturate(110%);
        -webkit-backdrop-filter:blur(26px) saturate(110%);
    }
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage .ys-mf-auth-access :is(.ys-mf-auth-page-banner,.ys-mf-auth-dock,.ys-mf-auth-lock-options,.ys-mf-auth-lock-links,[data-mf-auth-alt],.ys-mf-auth-support) {
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-access > .ys-mf-auth-page-banner {
    display:flex!important;
    align-items:center;
    gap:8px;
    min-height:36px;
    margin:0!important;
    padding:10px 14px!important;
    color:var(--mf-glass-muted)!important;
    font-size:12px;
    font-weight:600;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-access > .ys-mf-auth-page-banner svg {
    width:16px;
    height:16px;
    flex:0 0 16px;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-access > .ys-mf-auth-lock-links {
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    width:100%!important;
    min-height:36px!important;
    margin:0!important;
    padding:8px 12px!important;
    color:var(--mf-glass-muted)!important;
    font-size:12px;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-access > .ys-mf-auth-lock-links > a:first-child:not(:last-child) {
    display:none!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-access > [data-mf-auth-alt] {
    margin:0!important;
    padding:10px 12px 12px!important;
    gap:8px!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-access > .ys-mf-auth-support {
    padding:12px 20px 16px;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-access > .ys-mf-auth-lock-links a {
    font-size:12px!important;
    color:var(--mf-glass-text)!important;
    text-shadow:none!important;
}

/* Registration is a clear secondary action, beside its short explanation. */
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-access > .ys-mf-auth-lock-links:has(a[href="/user/authentication/register"]) {
    justify-content:space-between!important;
    min-height:50px!important;
    padding:8px 14px!important;
    gap:12px!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-access .ys-mf-auth-register-hint {
    color:var(--mf-glass-muted)!important;
    font-size:12px!important;
    font-weight:400!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-access .ys-mf-auth-lock-links > a[href="/user/authentication/register"] {
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:10px!important;
    min-height:34px!important;
    margin:0!important;
    padding:6px 12px!important;
    border:1px solid var(--mf-glass-line)!important;
    border-radius:8px!important;
    background:var(--mf-glass-hover)!important;
    color:var(--mf-glass-text)!important;
    font-size:12px!important;
    font-weight:650!important;
    line-height:1.4!important;
    white-space:nowrap!important;
    text-decoration:none!important;
    box-shadow:none!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-access .ys-mf-auth-lock-links > a[href="/user/authentication/register"]::after {
    content:"→"!important;
    display:inline-block!important;
    position:static!important;
    width:auto!important;
    height:auto!important;
    opacity:1!important;
    color:inherit!important;
    background:none!important;
    transform:none!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-access .ys-mf-auth-lock-links > a[href="/user/authentication/register"]:hover {
    border-color:var(--mf-glass-muted)!important;
}

/* Login proportions and materials follow assets/admin/css/login/{base,glass,lock}.css.
   Keep the requested flat clock and the existing discoverable login/register actions. */
:root[data-theme] body.ys-mf-auth-body {
    --mf-official-field:rgba(28,28,32,.56);
    --mf-official-field-fallback:#343438;
    --mf-official-first:rgba(255,255,255,.10);
    --mf-official-line:rgba(255,255,255,.16);
    --mf-official-clear:rgba(28,28,32,.42);
    --mf-official-menu:rgba(36,36,44,.82);
    --mf-official-sheen:rgba(255,255,255,.07);
    --mf-official-text:rgba(255,255,255,.94);
    --mf-official-muted:rgba(255,255,255,.76);
}
:root[data-theme="light"] body.ys-mf-auth-body {
    --mf-official-field:rgba(248,248,251,.62);
    --mf-official-field-fallback:#eeeef1;
    --mf-official-first:rgba(255,255,255,.28);
    --mf-official-line:rgba(30,30,36,.16);
    --mf-official-clear:rgba(248,248,251,.64);
    --mf-official-menu:rgba(250,250,253,.86);
    --mf-official-sheen:rgba(255,255,255,.22);
    --mf-official-text:#242428;
    --mf-official-muted:#55555d;
}

/* The old flat clock: no clipped gradients, glow, bevel, or digit motion. */
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-clock {
    width:auto!important;
    max-width:100%!important;
    color:#fff!important;
    text-shadow:none!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-date {
    color:#fff!important;
    font-size:20px!important;
    font-weight:600!important;
    line-height:1.25!important;
    text-shadow:none!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-time,
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-time > span {
    color:#fff!important;
    background:none!important;
    background-clip:border-box!important;
    -webkit-background-clip:border-box!important;
    -webkit-text-fill-color:#fff!important;
    text-shadow:none!important;
    filter:none!important;
    transform:none!important;
    animation:none!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-time {
    display:flex!important;
    justify-content:center!important;
    margin-top:2px!important;
    font-size:148px!important;
    font-weight:600!important;
    line-height:1!important;
    letter-spacing:-.02em!important;
    font-variant-numeric:tabular-nums!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login {
    width:min(320px,calc(100vw - 32px))!important;
    max-width:320px!important;
    margin:0 auto!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login > .ys-mf-auth-identity {
    margin-bottom:18px!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-avatar {
    width:76px!important;
    height:76px!important;
    flex-basis:76px!important;
    padding:0!important;
    border-radius:50%!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-avatar img {
    border-radius:50%!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-shop-link h1 {
    font-size:17px!important;
    font-weight:600!important;
    text-shadow:0 1px 3px rgba(0,0,0,.3)!important;
}
/* Only the logo is a link; the name and surrounding whitespace are ordinary content. */
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage > .ys-mf-auth-identity {
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    gap:8px!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage .ys-mf-auth-identity > .ys-mf-auth-shop-link {
    display:inline-flex!important;
    width:max-content!important;
    min-width:0!important;
    max-width:100%!important;
    flex:0 0 auto!important;
    margin:0!important;
    padding:0!important;
    gap:0!important;
    line-height:1!important;
    border-radius:50%!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage .ys-mf-auth-identity > .ys-mf-auth-shop-name {
    width:100%!important;
    margin:0!important;
    padding:0!important;
    color:#fff!important;
    font-size:17px!important;
    font-weight:600!important;
    line-height:1.35!important;
    letter-spacing:0!important;
    text-align:center!important;
    text-shadow:0 1px 3px rgba(0,0,0,.3)!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
}

/* Wallpaper is composited once, with the official 30px focus blur. */
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-wall__blur {
    display:block!important;
    visibility:hidden!important;
    opacity:0!important;
    background-image:var(--mf-auth-wall-image)!important;
    background-size:cover!important;
    background-position:center!important;
    filter:blur(30px) saturate(1.35)!important;
    transform:scale(1.12)!important;
    transition:opacity .8s cubic-bezier(.2,.65,.3,1),visibility 0s linear .8s!important;
}
:root[data-theme] body.ys-mf-auth-body:has(.ys-mf-auth-lock-form input:focus:not([type="checkbox"]):not([type="radio"])) .ys-mf-auth-wall__blur {
    visibility:visible!important;
    opacity:.94!important;
    transition:opacity .8s cubic-bezier(.2,.65,.3,1),visibility 0s!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-wall__shade {
    background:rgba(0,0,0,.19)!important;
}
:root[data-theme="light"] body.ys-mf-auth-body .ys-mf-auth-wall__shade {
    background:rgba(0,0,0,.12)!important;
}

/* No enclosing plate: only the fields and small auxiliary controls paint glass. */
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-access {
    border:0!important;
    border-radius:0!important;
    background:none!important;
    box-shadow:none!important;
    overflow:visible!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-access > .ys-mf-auth-page-banner {
    position:static!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:6px!important;
    width:100%!important;
    height:18px!important;
    min-height:18px!important;
    margin:0 0 4px!important;
    padding:0!important;
    border:0!important;
    overflow:visible!important;
    clip-path:none!important;
    white-space:normal!important;
    color:#fff!important;
    font-size:13px!important;
    font-weight:600!important;
    line-height:18px!important;
    text-shadow:none!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-access > .ys-mf-auth-page-banner > .ys-mf-auth-page-banner__icon,
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery) > .ys-mf-auth-page-banner > .material-icons-outlined {
    display:inline-flex!important;
    align-items:center!important;
    align-self:center!important;
    justify-content:center!important;
    width:14px!important;
    height:14px!important;
    flex:0 0 14px!important;
    font-size:14px!important;
    line-height:14px!important;
    color:inherit!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-access .ys-mf-auth-dock {
    position:relative!important;
    padding:0!important;
    overflow:hidden!important;
    border:1px solid var(--mf-official-line)!important;
    border-radius:16px!important;
    background:var(--mf-official-field-fallback)!important;
    box-shadow:0 18px 48px -24px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.08)!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-access .ys-mf-auth-dock:focus-within {
    outline:3.5px solid rgba(10,132,255,.5)!important;
    outline-offset:0!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-access .ys-mf-auth-dock-row {
    display:flex!important;
    align-items:center!important;
    height:46px!important;
    min-height:46px!important;
    padding:0 12px!important;
    gap:10px!important;
    border:0!important;
    border-bottom:1px solid var(--mf-official-line)!important;
    border-radius:0!important;
    background:transparent!important;
    color:var(--mf-official-muted)!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-access .ys-mf-auth-dock-row::before,
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-access .ys-mf-auth-dock-row::after {
    content:none!important;
    display:none!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-access .ys-mf-auth-dock-row:first-child {
    background:var(--mf-official-first)!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-access .ys-mf-auth-dock-row:is(:focus-within,.is-active) {
    background:var(--mf-official-first)!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-access .ys-mf-auth-dock-row:last-of-type {
    border-bottom:0!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-dock-label {
    width:18px!important;
    min-width:18px!important;
    flex:0 0 18px!important;
    color:var(--mf-official-muted)!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-dock-label__text {
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    overflow:hidden!important;
    clip-path:inset(50%)!important;
    white-space:nowrap!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-dock-row input {
    flex:1 1 0!important;
    width:0!important;
    min-width:0!important;
    height:100%!important;
    padding:0!important;
    color:var(--mf-official-text)!important;
    font-size:14px!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-dock-row input::placeholder {
    color:var(--mf-official-muted)!important;
    opacity:1!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-dock-row--password input {
    padding-right:32px!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-dock-row--password > button {
    top:8px!important;
    right:9px!important;
    width:30px!important;
    height:30px!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-dock-row--captcha input {
    padding-right:72px!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-dock:not(.has-captcha) .ys-mf-auth-dock-row--password input {
    padding-right:32px!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-dock:not(.has-captcha) .ys-mf-auth-dock-row--password > button {
    right:9px!important;
}
/* Official captcha keeps the server image's native dark digits; never invert it. */
:root[data-theme] body.ys-mf-auth-body :is(.ys-mf-auth-dock-row--captcha img,.ys-mf-auth-captcha img,.prompt-image-code) {
    filter:none!important;
    background:#f5f5f8!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-dock-row--captcha img {
    box-sizing:border-box!important;
    top:8px!important;
    right:10px!important;
    width:62px!important;
    height:30px!important;
    padding:3px 6px!important;
    border:0!important;
    border-radius:8px!important;
    object-fit:contain!important;
    box-shadow:0 0 0 .5px rgba(0,0,0,.12),0 1px 3px rgba(0,0,0,.1)!important;
    cursor:pointer!important;
    pointer-events:auto!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-dock-row--captcha img {
    right:10px!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-dock-submit {
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    position:static!important;
    inset:auto!important;
    width:calc(100% - 20px)!important;
    height:40px!important;
    min-height:40px!important;
    min-width:0!important;
    margin:10px!important;
    padding:0 14px!important;
    border:0!important;
    border-radius:10px!important;
    background:#0a84ff!important;
    color:#fff!important;
    font-size:14px!important;
    font-weight:600!important;
    line-height:1.3!important;
    box-shadow:inset 0 .5px 0 rgba(255,255,255,.35)!important;
    opacity:1!important;
    visibility:visible!important;
    transform:none!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-dock-submit > span:first-child {
    position:static!important;
    width:auto!important;
    height:auto!important;
    overflow:visible!important;
    clip-path:none!important;
    white-space:normal!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-submit-icon {
    width:15px!important;
    height:15px!important;
    fill:none;
    stroke:currentColor;
    stroke-width:2.3;
    stroke-linecap:round;
    stroke-linejoin:round;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-dock-submit:focus-visible {
    outline:2px solid #0a84ff!important;
    outline-offset:2px!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-lock-form.is-submitting .ys-mf-auth-dock-submit {
    pointer-events:none!important;
    cursor:progress!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-access .ys-mf-auth-lock-options {
    min-height:30px!important;
    margin:10px 0 0!important;
    padding:0!important;
    background:none!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-lock-options > :is(.ys-mf-auth-check,.ys-mf-auth-forgot) {
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:30px!important;
    margin:0!important;
    padding:5px 11px!important;
    border:1px solid var(--mf-official-line)!important;
    border-radius:999px!important;
    background:var(--mf-official-clear)!important;
    color:var(--mf-official-text)!important;
    font-size:11px!important;
    backdrop-filter:blur(16px) saturate(140%)!important;
    -webkit-backdrop-filter:blur(16px) saturate(140%)!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-access > .ys-mf-auth-lock-links:has(a[href="/user/authentication/register"]) {
    min-height:46px!important;
    margin:10px 0 0!important;
    padding:6px 9px 6px 12px!important;
    border:1px solid var(--mf-official-line)!important;
    border-radius:12px!important;
    background:var(--mf-official-clear)!important;
    backdrop-filter:blur(20px) saturate(140%)!important;
    -webkit-backdrop-filter:blur(20px) saturate(140%)!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-access .ys-mf-auth-register-hint {
    color:var(--mf-official-text)!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-access > [data-mf-auth-alt] {
    margin-top:10px!important;
    padding:0!important;
    background:none!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login [data-mf-auth-alt].ys-mf-auth-providers .ys-mf-auth-social {
    min-height:34px!important;
    border-radius:10px!important;
    background:var(--mf-official-clear)!important;
    color:var(--mf-official-text)!important;
    backdrop-filter:blur(16px) saturate(140%)!important;
    -webkit-backdrop-filter:blur(16px) saturate(140%)!important;
}

/* Official 38px individual orbs. Storefront remains a visible short-label action. */
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-topbar .ys-mf-topbar-inner {
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:none!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-topbar .ys-mf-topbar-right {
    gap:10px!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-topbar .ys-mf-theme-toggle {
    order:2;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-topbar .ys-mf-lang-quick {
    order:1;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-topbar :is(.ys-mf-theme-toggle,.ys-mf-lang-quick) {
    width:38px!important;
    height:38px!important;
    min-height:38px!important;
    padding:0!important;
    border:0!important;
    border-radius:50%!important;
    background:none!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-topbar :is(.ys-mf-theme-trigger,.ys-mf-lang-quick-trigger,.ys-mf-topbar-nav > a[href="/"]) {
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:38px!important;
    height:38px!important;
    min-height:38px!important;
    padding:0!important;
    border:1px solid var(--mf-official-line)!important;
    border-radius:50%!important;
    background:var(--mf-official-clear)!important;
    color:var(--mf-official-text)!important;
    box-shadow:0 8px 22px -10px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.08)!important;
    backdrop-filter:blur(16px) saturate(140%)!important;
    -webkit-backdrop-filter:blur(16px) saturate(140%)!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-topbar .ys-mf-topbar-nav > a[href="/"] {
    width:auto!important;
    min-width:68px!important;
    gap:5px!important;
    padding:0 11px!important;
    border-radius:999px!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-topbar .ys-mf-theme-trigger > .material-icons-outlined,
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-topbar .ys-mf-lang-quick-trigger > .material-icons-outlined {
    display:none!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-lang-label {
    font-size:13px!important;
    font-weight:600!important;
    line-height:1!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-theme-icon {
    display:none!important;
    width:19px!important;
    height:19px!important;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
}
:root[data-theme-preference="light"] body.ys-mf-auth-body .ys-mf-auth-theme-icon[data-pref="light"],
:root[data-theme-preference="dark"] body.ys-mf-auth-body .ys-mf-auth-theme-icon[data-pref="dark"],
:root[data-theme-preference="auto"] body.ys-mf-auth-body .ys-mf-auth-theme-icon[data-pref="auto"],
:root:not([data-theme-preference]) body.ys-mf-auth-body .ys-mf-auth-theme-icon[data-pref="auto"] {
    display:block!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-topbar :is(.ys-mf-theme-options,.ys-mf-lang-quick-options) {
    top:calc(100% + 10px)!important;
    right:0!important;
    min-width:176px!important;
    padding:5px!important;
    border:1px solid var(--mf-official-line)!important;
    border-radius:14px!important;
    background:linear-gradient(180deg,var(--mf-official-sheen),transparent 58%),var(--mf-official-menu)!important;
    color:var(--mf-official-text)!important;
    box-shadow:0 22px 50px -16px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.08)!important;
    backdrop-filter:blur(30px) saturate(160%)!important;
    -webkit-backdrop-filter:blur(30px) saturate(160%)!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-topbar :is(.ys-mf-theme-button,.ys-mf-lang-quick-item) {
    min-height:34px!important;
    border:0!important;
    border-radius:9px!important;
    color:var(--mf-official-text)!important;
    font-size:13px!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-topbar .ys-mf-auth-menu-title {
    color:var(--mf-official-muted)!important;
}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-access .ys-mf-auth-dock {
        background:var(--mf-official-field)!important;
        backdrop-filter:blur(20px) saturate(150%)!important;
        -webkit-backdrop-filter:blur(20px) saturate(150%)!important;
    }
}
@media(min-width:641px) {
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-lock {
        justify-content:flex-start!important;
        gap:24px!important;
        padding:76px 16px 32px!important;
    }
}
@media(max-width:640px) {
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-lock {
        justify-content:center!important;
        gap:28px!important;
        padding:76px 16px 28px!important;
    }
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-time {
        font-size:clamp(76px,23vw,96px)!important;
    }
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-date {
        font-size:15px!important;
    }
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-dock-row input {
        font-size:16px!important;
    }
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-topbar .ys-mf-topbar-right {
        gap:8px!important;
    }
}
@media(min-width:641px) and (max-height:680px) {
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-lock {
        padding-top:76px!important;
        padding-bottom:32px!important;
        gap:24px!important;
    }
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-time {
        font-size:96px!important;
    }
}
@media(prefers-reduced-motion:reduce) {
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-wall__blur,
    :root[data-theme] body.ys-mf-auth-body:has(.ys-mf-auth-lock-form input:focus:not([type="checkbox"]):not([type="radio"])) .ys-mf-auth-wall__blur {
        transition:none!important;
    }
}
@media(prefers-reduced-transparency:reduce) {
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-access .ys-mf-auth-dock,
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-topbar :is(.ys-mf-theme-options,.ys-mf-lang-quick-options) {
        background:var(--mf-official-field-fallback)!important;
        backdrop-filter:none!important;
        -webkit-backdrop-filter:none!important;
    }
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-wall__blur {
        display:none!important;
    }
}

/* Registration keeps its complete field set and full-width action.
   Reuse the released official-login glass tokens; exclude manual recovery pages. */
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-register:has(> .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery)) {
    justify-content:flex-start!important;
    gap:24px!important;
    padding:76px 16px 32px!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery) {
    width:min(320px,calc(100vw - 32px))!important;
    max-width:320px!important;
    margin:0 auto!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery) > .ys-mf-auth-identity {
    margin:0 0 16px!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery) .ys-mf-auth-avatar {
    width:76px!important;
    height:76px!important;
    flex-basis:76px!important;
    border-radius:50%!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery) .ys-mf-auth-avatar img {
    border-radius:50%!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery) > .ys-mf-auth-page-banner {
    justify-content:flex-start!important;
    line-height:18px!important;
    gap:6px!important;
    min-height:20px!important;
    margin:0 0 10px!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:none!important;
    box-shadow:none!important;
    color:#fff!important;
    font-size:13px!important;
    font-weight:600!important;
    text-shadow:0 1px 3px rgba(0,0,0,.3)!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery) .ys-mf-auth-dock--register {
    position:relative!important;
    padding:0!important;
    overflow:hidden!important;
    border:1px solid var(--mf-official-line)!important;
    border-radius:16px!important;
    background:var(--mf-official-field-fallback)!important;
    box-shadow:0 18px 48px -24px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.08)!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery) .ys-mf-auth-dock--register:focus-within {
    outline:3.5px solid rgba(10,132,255,.5)!important;
    outline-offset:0!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery) .ys-mf-auth-dock-row {
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    height:46px!important;
    min-height:46px!important;
    margin:0!important;
    padding:0 12px!important;
    border:0!important;
    border-bottom:1px solid var(--mf-official-line)!important;
    border-radius:0!important;
    background:transparent!important;
    color:var(--mf-official-muted)!important;
    box-shadow:none!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery) .ys-mf-auth-dock-row:first-child,
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery) .ys-mf-auth-dock-row:is(:focus-within,.is-active) {
    background:var(--mf-official-first)!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery) .ys-mf-auth-dock-row::before,
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery) .ys-mf-auth-dock-row::after {
    content:none!important;
    display:none!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery) .ys-mf-auth-dock-label {
    width:18px!important;
    min-width:18px!important;
    flex:0 0 18px!important;
    color:var(--mf-official-muted)!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery) .ys-mf-auth-dock-label__text {
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    overflow:hidden!important;
    clip-path:inset(50%)!important;
    white-space:nowrap!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery) .ys-mf-auth-dock-row input {
    flex:1 1 0!important;
    width:0!important;
    min-width:0!important;
    height:100%!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    color:var(--mf-official-text)!important;
    font-size:14px!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery) .ys-mf-auth-dock-row input::placeholder {
    color:var(--mf-official-muted)!important;
    opacity:1!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery) .ys-mf-auth-dock-row--code > button {
    position:static!important;
    inset:auto!important;
    flex:0 0 auto!important;
    width:auto!important;
    max-width:112px!important;
    height:auto!important;
    min-height:30px!important;
    margin:0!important;
    padding:4px 9px!important;
    border:1px solid var(--mf-official-line)!important;
    border-radius:8px!important;
    background:var(--mf-official-first)!important;
    color:var(--mf-official-text)!important;
    font-size:11px!important;
    font-weight:600!important;
    line-height:1.3!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    box-shadow:none!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery) .ys-mf-auth-dock-row--code > button:disabled {
    opacity:.58!important;
    cursor:default!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery) .ys-mf-auth-dock-row--captcha img {
    position:static!important;
    inset:auto!important;
    flex:0 0 62px!important;
    width:62px!important;
    min-width:62px!important;
    max-width:62px!important;
    height:30px!important;
    margin:0!important;
    padding:3px 6px!important;
    border-radius:8px!important;
    object-fit:contain!important;
    filter:none!important;
    background:#f5f5f8!important;
    pointer-events:auto!important;
    cursor:pointer!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery) .ys-mf-auth-dock-submit {
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    position:static!important;
    inset:auto!important;
    width:calc(100% - 20px)!important;
    height:40px!important;
    min-height:40px!important;
    margin:10px!important;
    padding:0 14px!important;
    border:0!important;
    border-radius:10px!important;
    background:#0a84ff!important;
    color:#fff!important;
    font-size:14px!important;
    font-weight:600!important;
    line-height:1.3!important;
    box-shadow:inset 0 .5px 0 rgba(255,255,255,.35)!important;
    opacity:1!important;
    visibility:visible!important;
    transform:none!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery) .ys-mf-auth-dock-submit::before {
    display:none!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery) .ys-mf-auth-dock-submit > span:first-child {
    position:static!important;
    width:auto!important;
    height:auto!important;
    overflow:visible!important;
    clip-path:none!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery) .ys-mf-auth-dock-submit:focus-visible {
    outline:2px solid #0a84ff!important;
    outline-offset:3px!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery) .ys-mf-auth-register-route {
    justify-content:space-between!important;
    gap:10px!important;
    min-height:44px!important;
    margin:10px 0 0!important;
    padding:6px 10px 6px 12px!important;
    border:1px solid var(--mf-official-line)!important;
    border-radius:12px!important;
    background:var(--mf-official-clear)!important;
    box-shadow:none!important;
    backdrop-filter:blur(20px) saturate(140%)!important;
    -webkit-backdrop-filter:blur(20px) saturate(140%)!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery) .ys-mf-auth-register-hint {
    color:var(--mf-official-text)!important;
    font-size:12px!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery) .ys-mf-auth-register-route > a {
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:30px!important;
    padding:5px 10px!important;
    border:1px solid var(--mf-official-line)!important;
    border-radius:8px!important;
    background:var(--mf-official-first)!important;
    color:var(--mf-official-text)!important;
    font-size:12px!important;
    font-weight:600!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery) > [data-mf-auth-alt].ys-mf-auth-register-alt {
    min-height:0!important;
    margin:12px 0 0!important;
    padding:0!important;
    gap:8px!important;
    border:0!important;
    border-radius:0!important;
    background:none!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery) [data-mf-auth-alt].ys-mf-auth-providers .ys-mf-auth-social {
    min-height:36px!important;
    border:1px solid var(--mf-official-line)!important;
    border-radius:10px!important;
    background:var(--mf-official-clear)!important;
    color:var(--mf-official-text)!important;
    box-shadow:none!important;
    backdrop-filter:blur(16px) saturate(140%)!important;
    -webkit-backdrop-filter:blur(16px) saturate(140%)!important;
}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery) .ys-mf-auth-dock--register {
        background:var(--mf-official-field)!important;
        backdrop-filter:blur(20px) saturate(150%)!important;
        -webkit-backdrop-filter:blur(20px) saturate(150%)!important;
    }
}
@media(max-width:640px) {
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-register:has(> .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery)) {
        gap:22px!important;
        padding:76px 16px 28px!important;
    }
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery) .ys-mf-auth-dock-row input {
        font-size:16px!important;
    }
}
@media(prefers-reduced-transparency:reduce) {
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery) .ys-mf-auth-dock--register {
        background:var(--mf-official-field-fallback)!important;
        backdrop-filter:none!important;
        -webkit-backdrop-filter:none!important;
    }
}

/* Keep the real wallpaper lightly blurred while idle; pointer/input history
   cannot hide it. Only the focused text-entry rule enables the deep overlay. */
:root[data-theme] body.ys-mf-auth-body:has(.ys-mf-auth-stage--login, .ys-mf-auth-stage--register) .ys-mf-auth-wall__img {
    opacity:1!important;
    filter:blur(3px)!important;
}
@media(prefers-reduced-transparency:reduce) {
    :root[data-theme] body.ys-mf-auth-body:has(.ys-mf-auth-stage--login, .ys-mf-auth-stage--register) .ys-mf-auth-wall__img {
        filter:none!important;
    }
}

/* Keep touch authentication in document flow as Safari's browser UI changes.
   A small viewport minimum remains stable; normal scrolling reveals long forms. */
@media (max-width:640px), (hover:none) and (pointer:coarse) {
    :root[data-theme] body.ys-mf-auth-body {
        min-height:100vh!important;
        min-height:100svh!important;
    }
    :root[data-theme] body.ys-mf-auth-body :is(.ys-mf-auth-lock,.ys-mf-auth-register) {
        min-height:100vh!important;
        min-height:100svh!important;
        justify-content:flex-start!important;
    }
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-lock:has(> .ys-mf-auth-stage--login) {
        gap:28px!important;
        padding:76px 16px 28px!important;
    }
    /* The legacy <=700px-height rule hid the date during keyboard contraction. */
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-clock .ys-mf-auth-date {
        display:block!important;
    }
    /* Include touch landscape, where the width-only mobile rule no longer matches. */
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-dock-row input,
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery) .ys-mf-auth-dock-row input {
        font-size:16px!important;
    }
}

/* Candidate for device validation: keep auth scrolling on the document viewport.
   Unlike hidden, clip does not turn the auth body into another scroll container. */
@supports (overflow:clip) {
    @media (max-width:640px), (hover:none) and (pointer:coarse) {
        :root[data-theme] body.ys-mf-auth-body {
            overflow-x:clip!important;
            overflow-y:visible!important;
        }
    }
}

/* Keep only the captcha image on its native light surface in either page theme. */
:root[data-theme] body.ys-mf-auth-body :is(.ys-mf-auth-dock-row--captcha img,.ys-mf-auth-captcha img,.prompt-image-code) {
    color-scheme:only light!important;
}

/* The login action occupies its own row, like the registration action. */
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-dock-submit::before {
    display:none!important;
}

/* Auth theme colors follow the wallpaper's existing opacity crossfade.
   Only transition declarations change; endpoints, geometry and input behavior stay intact. */
@media(prefers-reduced-motion:no-preference) {
:root[data-theme] body.ys-mf-auth-body:has(.ys-mf-auth-stage--login, .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery)) .ys-mf-auth-wall__shade {
    transition:background-color .62s ease!important;
}
:root[data-theme] body.ys-mf-auth-body:has(.ys-mf-auth-stage--login, .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery)) .ys-mf-auth-dock {
    transition:background-color .62s ease,border-color .62s ease,box-shadow .62s ease,color .62s ease,outline-color .3s cubic-bezier(.22,1,.36,1),outline-offset .42s cubic-bezier(.22,1,.36,1)!important;
}
:root[data-theme] body.ys-mf-auth-body:has(.ys-mf-auth-stage--login, .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery)) :is(.ys-mf-auth-dock-row,.ys-mf-auth-check,.ys-mf-auth-forgot,.ys-mf-auth-lock-links,.ys-mf-auth-register-route,.ys-mf-auth-register-route>a,.ys-mf-auth-social) {
    transition:background-color .62s ease,border-color .62s ease,color .62s ease,box-shadow .62s ease,transform .18s ease!important;
}
:root[data-theme] body.ys-mf-auth-body:has(.ys-mf-auth-stage--login, .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery)) :is(.ys-mf-auth-dock-label,.ys-mf-auth-register-hint,.ys-mf-auth-dock-row>button,.ys-mf-auth-menu-title) {
    transition:color .62s ease!important;
}
/* Do not replace the autofill background-color 9999s safeguard. */
:root[data-theme] body.ys-mf-auth-body:has(.ys-mf-auth-stage--login, .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery)) .ys-mf-auth-dock-row input:not(:is(:autofill, :-webkit-autofill)),
:root[data-theme] body.ys-mf-auth-body:has(.ys-mf-auth-stage--login, .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery)) .ys-mf-auth-dock-row input::placeholder {
    transition:color .62s ease!important;
}
:root[data-theme] body.ys-mf-auth-body:has(.ys-mf-auth-stage--login, .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery)) .ys-mf-auth-topbar :is(.ys-mf-theme-trigger,.ys-mf-lang-quick-trigger,.ys-mf-topbar-nav>a,.ys-mf-theme-button,.ys-mf-lang-quick-item) {
    transition:background-color .62s ease,border-color .62s ease,color .62s ease,box-shadow .62s ease,transform .18s var(--ys-mf-ease)!important;
}
/* Retain menu opening opacity, transform and visibility timing. */
:root[data-theme] body.ys-mf-auth-body:has(.ys-mf-auth-stage--login, .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery)) .ys-mf-auth-topbar :is(.ys-mf-theme-options,.ys-mf-lang-quick-options) {
    transition:background-color .62s ease,border-color .62s ease,color .62s ease,box-shadow .62s ease,opacity .18s var(--ys-mf-ease),transform .18s var(--ys-mf-ease),visibility .18s!important;
}
}

/* Keep the requested auth color/opacity fades when OS animations are off.
   This exception does not restore movement, loading animations or clock effects. */
@media(prefers-reduced-motion:reduce) {
    :root[data-theme] body.ys-mf-auth-body:has(.ys-mf-auth-stage--login, .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery)) .ys-mf-auth-wall__shade {
        transition:background-color .62s ease!important;
    }
    :root[data-theme] body.ys-mf-auth-body:has(.ys-mf-auth-stage--login, .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery)) .ys-mf-auth-dock {
        transition:background-color .62s ease,border-color .62s ease,box-shadow .62s ease,color .62s ease,outline-color .3s ease!important;
    }
    :root[data-theme] body.ys-mf-auth-body:has(.ys-mf-auth-stage--login, .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery)) :is(.ys-mf-auth-dock-row,.ys-mf-auth-check,.ys-mf-auth-forgot,.ys-mf-auth-lock-links,.ys-mf-auth-register-route,.ys-mf-auth-register-route>a,.ys-mf-auth-social) {
        transition:background-color .62s ease,border-color .62s ease,color .62s ease,box-shadow .62s ease!important;
    }
    :root[data-theme] body.ys-mf-auth-body:has(.ys-mf-auth-stage--login, .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery)) :is(.ys-mf-auth-dock-label,.ys-mf-auth-register-hint,.ys-mf-auth-dock-row>button,.ys-mf-auth-menu-title) {
        transition:color .62s ease!important;
    }
    /* Preserve the autofill background-color safeguard. */
    :root[data-theme] body.ys-mf-auth-body:has(.ys-mf-auth-stage--login, .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery)) .ys-mf-auth-dock-row input:not(:is(:autofill, :-webkit-autofill)),
    :root[data-theme] body.ys-mf-auth-body:has(.ys-mf-auth-stage--login, .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery)) .ys-mf-auth-dock-row input::placeholder {
        transition:color .62s ease!important;
    }
    :root[data-theme] body.ys-mf-auth-body:has(.ys-mf-auth-stage--login, .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery)) .ys-mf-auth-topbar :is(.ys-mf-theme-trigger,.ys-mf-lang-quick-trigger,.ys-mf-topbar-nav>a,.ys-mf-theme-button,.ys-mf-lang-quick-item) {
        transition:background-color .62s ease,border-color .62s ease,color .62s ease,box-shadow .62s ease!important;
    }
    :root[data-theme] body.ys-mf-auth-body:has(.ys-mf-auth-stage--login, .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery)) .ys-mf-auth-topbar :is(.ys-mf-theme-options,.ys-mf-lang-quick-options) {
        transition:background-color .62s ease,border-color .62s ease,color .62s ease,box-shadow .62s ease,opacity .18s ease,visibility .18s!important;
    }
    :root[data-theme] body.ys-mf-auth-body:has(.ys-mf-auth-stage--login, .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery)) .ys-mf-auth-wall__blur {
        transition:opacity .8s cubic-bezier(.2,.65,.3,1),visibility 0s linear .8s!important;
    }
    :root[data-theme] body.ys-mf-auth-body:has(.ys-mf-auth-stage--login, .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery)):has(.ys-mf-auth-lock-form input:focus:not([type="checkbox"]):not([type="radio"])) .ys-mf-auth-wall__blur {
        transition:opacity .8s cubic-bezier(.2,.65,.3,1),visibility 0s!important;
    }
}

/* Only this text-sized link and the existing logo link navigate home. */
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage .ys-mf-auth-identity > .ys-mf-auth-shop-name > .ys-mf-auth-name-link {
    display:inline-block;
    max-width:100%;
    margin:0;
    padding:0;
    color:#e5edf5!important;
    -webkit-text-fill-color:currentColor!important;
    background:none!important;
    font-family:inherit!important;
    font-weight:700!important;
    font-style:normal!important;
    font-size:inherit;
    line-height:inherit;
    letter-spacing:0!important;
    text-decoration:none!important;
    text-shadow:none!important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage .ys-mf-auth-identity > .ys-mf-auth-shop-name > .ys-mf-auth-name-link:focus-visible {
    outline:2px solid #a9dafa;
    outline-offset:4px;
    border-radius:3px;
}
@media(forced-colors:active) {
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage .ys-mf-auth-identity > .ys-mf-auth-shop-name > .ys-mf-auth-name-link {
        background:none!important;
        color:LinkText!important;
        -webkit-text-fill-color:currentColor!important;
    }
}

/* Brand feedback changes opacity only; no size, motion or font changes. */
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage .ys-mf-auth-identity > .ys-mf-auth-shop-link,
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage .ys-mf-auth-identity > .ys-mf-auth-shop-name > .ys-mf-auth-name-link {
    opacity: 1;
    transform: none !important;
    transition: opacity .16s ease !important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage .ys-mf-auth-identity > .ys-mf-auth-shop-link:hover,
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage .ys-mf-auth-identity > .ys-mf-auth-shop-name > .ys-mf-auth-name-link:hover {
    opacity: .88;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage .ys-mf-auth-identity > .ys-mf-auth-shop-link:active,
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage .ys-mf-auth-identity > .ys-mf-auth-shop-name > .ys-mf-auth-name-link:active {
    opacity: .72;
}

/* Scope solid glass surfaces to the two topbar popovers. */
:root[data-theme] body.ys-mf-auth-body {
    --mf-popup-surface: rgba(29,31,37,.95);
    --mf-popup-ink: #f0f2f7;
    --mf-popup-muted: #c0c7d2;
    --mf-popup-line: rgba(240,242,247,.18);
    --mf-popup-hover: rgba(240,242,247,.11);
}
:root[data-theme="light"] body.ys-mf-auth-body {
    --mf-popup-surface: rgba(250,251,253,.97);
    --mf-popup-ink: #263342;
    --mf-popup-muted: #586675;
    --mf-popup-line: rgba(38,51,66,.18);
    --mf-popup-hover: rgba(38,51,66,.09);
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-topbar :is(.ys-mf-theme-options,.ys-mf-lang-quick-options) {
    background: var(--mf-popup-surface) !important;
    border-color: var(--mf-popup-line) !important;
    color: var(--mf-popup-ink) !important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-topbar :is(.ys-mf-theme-options,.ys-mf-lang-quick-options) :is(.ys-mf-theme-button,.ys-mf-lang-quick-item) {
    color: var(--mf-popup-ink) !important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-topbar :is(.ys-mf-theme-options,.ys-mf-lang-quick-options) .ys-mf-auth-menu-title {
    color: var(--mf-popup-muted) !important;
}
:root[data-theme] body.ys-mf-auth-body .ys-mf-auth-topbar :is(.ys-mf-theme-options,.ys-mf-lang-quick-options) :is(.ys-mf-theme-button,.ys-mf-lang-quick-item):is(:hover,:focus-visible,.active,.is-active) {
    background: var(--mf-popup-hover) !important;
}

/* Compact phone authentication. Width-based geometry stays stable while the
   keyboard changes the viewport height; existing 100svh minimum/scrolling remain. */
@media (max-width:640px) {
    :root[data-theme] body.ys-mf-auth-body :is(.ys-mf-auth-lock,.ys-mf-auth-register):has(> :is(.ys-mf-auth-stage--login,.ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery))) {
        gap:8px!important;
        padding:60px 16px max(12px,env(safe-area-inset-bottom))!important;
    }
    :root[data-theme] body.ys-mf-auth-body:has(.ys-mf-auth-stage--login,.ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery)) .ys-mf-auth-clock .ys-mf-auth-date {
        font-size:14px!important;
        line-height:1.25!important;
    }
    :root[data-theme] body.ys-mf-auth-body:has(.ys-mf-auth-stage--login,.ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery)) .ys-mf-auth-clock .ys-mf-auth-time {
        font-size:clamp(44px,12.4vw,52px)!important;
        line-height:1!important;
        margin-top:2px!important;
    }
    :root[data-theme] body.ys-mf-auth-body :is(.ys-mf-auth-stage--login,.ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery)) > .ys-mf-auth-identity {
        gap:4px!important;
        margin-bottom:6px!important;
    }
    :root[data-theme] body.ys-mf-auth-body :is(.ys-mf-auth-stage--login,.ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery)) .ys-mf-auth-avatar {
        width:44px!important;
        height:44px!important;
        flex-basis:44px!important;
    }
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery) > .ys-mf-auth-page-banner {
        min-height:18px!important;
        margin-bottom:3px!important;
    }
    :root[data-theme] body.ys-mf-auth-body :is(.ys-mf-auth-stage--login,.ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery)) .ys-mf-auth-dock-row {
        height:44px!important;
        min-height:44px!important;
    }
    :root[data-theme] body.ys-mf-auth-body :is(.ys-mf-auth-stage--login,.ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery)) .ys-mf-auth-dock-row input {
        font-size:16px!important;
        min-height:44px!important;
    }
    :root[data-theme] body.ys-mf-auth-body :is(.ys-mf-auth-stage--login,.ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery)) .ys-mf-auth-dock-row--password input,
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-dock:not(.has-captcha) .ys-mf-auth-dock-row--password input {
        padding-right:48px!important;
    }
    :root[data-theme] body.ys-mf-auth-body :is(.ys-mf-auth-stage--login,.ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery)) .ys-mf-auth-dock-row--password > button,
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-dock:not(.has-captcha) .ys-mf-auth-dock-row--password > button {
        top:0!important;
        right:4px!important;
        width:44px!important;
        height:44px!important;
        min-height:44px!important;
    }
    :root[data-theme] body.ys-mf-auth-body :is(.ys-mf-auth-stage--login,.ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery)) .ys-mf-auth-dock-row--captcha img {
        width:64px!important;
        min-width:64px!important;
        max-width:64px!important;
        flex-basis:64px!important;
        height:32px!important;
        padding:1px!important;
    }
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-dock-row--captcha img {
        top:6px!important;
        right:12px!important;
    }
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-dock-row--captcha input {
        padding-right:84px!important;
    }
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery) .ys-mf-auth-dock-row--code > button {
        min-width:44px!important;
        height:32px!important;
        min-height:32px!important;
        padding:0 9px!important;
    }
    :root[data-theme] body.ys-mf-auth-body :is(.ys-mf-auth-stage--login,.ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery)) .ys-mf-auth-dock-submit {
        height:44px!important;
        min-height:44px!important;
        margin:6px 10px!important;
    }
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-access .ys-mf-auth-lock-options {
        min-height:44px!important;
        margin-top:6px!important;
    }
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-lock-options > :is(.ys-mf-auth-check,.ys-mf-auth-forgot) {
        min-height:44px!important;
        padding:0 11px!important;
    }
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-access > .ys-mf-auth-lock-links:has(a[href="/user/authentication/register"]),
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery) .ys-mf-auth-register-route {
        margin-top:6px!important;
        padding:6px 8px!important;
    }
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-access .ys-mf-auth-lock-links > a[href="/user/authentication/register"],
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery) .ys-mf-auth-register-route > a {
        min-height:32px!important;
        padding-top:0!important;
        padding-bottom:0!important;
    }
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--login .ys-mf-auth-access > [data-mf-auth-alt],
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery) > [data-mf-auth-alt].ys-mf-auth-register-alt {
        margin-top:6px!important;
        gap:4px 8px!important;
    }
    :root[data-theme] body.ys-mf-auth-body :is(.ys-mf-auth-stage--login,.ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery)) [data-mf-auth-alt] .ys-mf-auth-alt-title {
        min-height:16px!important;
        margin:0!important;
    }
    :root[data-theme] body.ys-mf-auth-body :is(.ys-mf-auth-stage--login,.ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery)) [data-mf-auth-alt].ys-mf-auth-providers .ys-mf-auth-social {
        height:44px!important;
        min-height:44px!important;
    }
}

/* Mouse/trackpad desktop spacing varies continuously, with a stable small-viewport
   basis where supported. Touch keyboards and phone widths do not enter this branch. */
@media (min-width:641px) and (hover:hover) and (pointer:fine) {
    :root[data-theme] body.ys-mf-auth-body:has(.ys-mf-auth-stage--login,.ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery)) .ys-mf-auth-clock .ys-mf-auth-time {
        font-size:clamp(80px,calc(52vh - 320px),148px)!important;
        font-size:clamp(80px,calc(52svh - 320px),148px)!important;
    }
    :root[data-theme] body.ys-mf-auth-body :is(.ys-mf-auth-lock,.ys-mf-auth-register):has(> :is(.ys-mf-auth-stage--login,.ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery))) {
        gap:clamp(16px,calc(8vh - 48px),24px)!important;
        gap:clamp(16px,calc(8svh - 48px),24px)!important;
    }
    :root[data-theme] body.ys-mf-auth-body .ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery) > .ys-mf-auth-identity {
        margin-bottom:12px!important;
    }
}

/* Keep the outside provider title readable over wallpaper in either theme. */
:root[data-theme] body.ys-mf-auth-body :is(.ys-mf-auth-stage--login,.ys-mf-auth-stage--register:not(.ys-mf-auth-stage--recovery)) [data-mf-auth-alt] > .ys-mf-auth-alt-title {
    color:#fff!important;
    text-shadow:0 1px 3px rgba(0,0,0,.3)!important;
}
