@import url('/css/cloud-fonts.css');
/* Cloud Music authentication shell. Loaded after legacy UI styles on purpose. */
:root {
    --auth-ink: #082f38;
    --auth-muted: #52727b;
    --auth-accent: #168394;
    --auth-accent-strong: #087184;
    --auth-line: rgba(255, 255, 255, .48);
    --auth-field: rgba(245, 253, 255, .42);
    --auth-field-focus: rgba(251, 255, 255, .68);
    --auth-error: #745222;
    --auth-success: #126574;
    --auth-ease: cubic-bezier(.22, 1, .36, 1);
}

html:has(.cloud-auth-page) {
    min-width: 320px;
    background: #c8e4ee;
}

body.cloud-auth-page {
    min-height: 100svh;
    padding: 0;
    overflow-x: hidden;
    background: #c8e4ee;
    color: var(--auth-ink);
    font-family: 'Onest Variable', Onest, system-ui, sans-serif;
    line-height: 1.45;
}

.cloud-auth-page ::selection {
    background: #1b7884;
    color: #fff;
}

.cloud-auth-page ::-moz-selection {
    background: #1b7884;
    color: #fff;
}

.cloud-auth-page input[type="checkbox"] {
    accent-color: var(--auth-accent-strong);
}

body.cloud-auth-page::before,
body.cloud-auth-page::after {
    display: none !important;
}

.cloud-auth-page .auth-sky {
    position: fixed;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    background-image:
        linear-gradient(128deg, rgba(255, 255, 255, .74) 0%, rgba(228, 246, 249, .34) 43%, transparent 68%),
        linear-gradient(180deg, #dff1f4 0%, #c5e2e8 58%, #a8d2da 100%);
    pointer-events: none;
}

.cloud-auth-page .auth-sky::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(244, 253, 255, .12), rgba(21, 96, 112, .08)),
        radial-gradient(ellipse at 62% 24%, rgba(255, 255, 255, .46), transparent 48%);
}

.auth-sky-glow {
    position: absolute;
    top: -8%;
    left: 54%;
    width: min(58vw, 820px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(233, 252, 255, .52);
    filter: blur(90px);
    mix-blend-mode: screen;
}

.auth-sky-grain {
    position: absolute;
    inset: 0;
    opacity: .17;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
}

.cloud-auth-page .public-return {
    position: fixed;
    z-index: 20;
    top: max(22px, env(safe-area-inset-top));
    left: max(24px, env(safe-area-inset-left));
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 15px 0 11px;
    border: 1px solid rgba(255, 255, 255, .48);
    border-radius: 999px;
    background: rgba(237, 250, 253, .34);
    color: var(--auth-ink);
    font: 650 12px/1 'Onest Variable', Onest, system-ui, sans-serif;
    letter-spacing: 0;
    text-transform: none;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .58), 0 8px 28px rgba(5, 57, 71, .08);
    backdrop-filter: blur(18px) saturate(145%);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    transition: background .25s ease, border-color .25s ease, transform .25s var(--auth-ease);
}

.cloud-auth-page .public-return svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cloud-auth-page .public-return:hover {
    border-color: rgba(255, 255, 255, .76);
    background: rgba(247, 254, 255, .54);
    color: var(--auth-ink);
    transform: translateY(-1px);
}

.auth-stage {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: 100svh;
    place-items: center;
    padding: 92px 24px 98px;
}

.auth-stage-register {
    padding-top: 96px;
    padding-bottom: 70px;
}

.auth-card {
    position: relative;
    width: min(100%, 470px);
    padding: 38px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .58);
    border-radius: 34px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .54), rgba(222, 245, 249, .24) 54%, rgba(198, 229, 238, .28));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .92),
        inset 0 -1px 0 rgba(255, 255, 255, .14),
        0 34px 90px rgba(4, 53, 69, .21),
        0 8px 24px rgba(4, 53, 69, .10);
    backdrop-filter: blur(34px) saturate(150%);
    -webkit-backdrop-filter: blur(34px) saturate(150%);
    isolation: isolate;
    animation: auth-card-enter .75s var(--auth-ease) both;
}

.auth-card::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -34%;
    left: -18%;
    width: 74%;
    aspect-ratio: 1.2;
    border-radius: 50%;
    background: rgba(255, 255, 255, .34);
    filter: blur(48px);
    pointer-events: none;
}

.auth-card-shine {
    position: absolute;
    top: 0;
    right: 30px;
    left: 30px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .95), transparent);
    opacity: .72;
    pointer-events: none;
}

.auth-card-register {
    width: min(100%, 600px);
    padding: 36px 42px 32px;
}

@keyframes auth-card-enter {
    from { opacity: 0; transform: translateY(22px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-header {
    text-align: center;
}

.cloud-auth-page .auth-brand-link {
    display: block;
    width: 188px;
    margin: 0 auto 25px;
    text-decoration: none;
}

.cloud-auth-page .auth-brand-logo,
.cloud-auth-page .auth-brand-logo-small {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    object-fit: contain;
    filter: drop-shadow(0 7px 15px rgba(8, 47, 56, .09));
}

.auth-eyebrow {
    margin: 0 0 10px;
    color: var(--auth-accent-strong);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.auth-header h1 {
    margin: 0;
    color: var(--auth-ink);
    font-family: 'Onest Variable', Onest, system-ui, sans-serif;
    font-size: clamp(29px, 4vw, 42px);
    font-weight: 710;
    line-height: 1.04;
    letter-spacing: -.047em;
}
.auth-header .auth-description { max-width:36ch; margin:14px auto 0; color:var(--auth-muted); font-size:14px; line-height:1.5; }
.cloud-auth-page .auth-reset-error { margin-top:24px; margin-bottom:0; }

.auth-form {
    margin-top: 30px;
}

.auth-card-register .auth-form {
    margin-top: 27px;
}

.auth-alerts:empty {
    display: none;
}

.cloud-auth-page .login-access-message {
    margin: 0 0 14px;
    padding: 11px 13px;
    border: 1px solid rgba(116, 82, 34, .22);
    border-radius: 15px;
    background: rgba(250, 244, 227, .82);
    color: var(--auth-error);
    font-size: 12px;
    line-height: 1.45;
    text-align: left;
}

.cloud-auth-page .login-access-success {
    border-color: rgba(29, 115, 95, .22) !important;
    background: rgba(226, 249, 240, .48) !important;
    color: var(--auth-success) !important;
}

.auth-field-unit {
    min-width: 0;
}

.cloud-auth-page .field {
    display: flex;
    position: relative;
    min-height: 66px;
    padding: 11px 15px 9px;
    align-items: flex-start;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, .42) !important;
    border-radius: 17px;
    background: var(--auth-field) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .40) !important;
    transition: background .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s var(--auth-ease);
}

.auth-form > .auth-field-unit + .auth-field-unit {
    margin-top: 12px;
}

.cloud-auth-page .field:focus-within {
    border-color: rgba(38, 145, 159, .42) !important;
    background: var(--auth-field-focus) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), 0 0 0 4px rgba(24, 131, 148, .10) !important;
    transform: translateY(-1px);
}

.cloud-auth-page .field.error {
    border-color: rgba(169, 61, 86, .42) !important;
    background: rgba(255, 238, 242, .54) !important;
}

.cloud-auth-page .field label {
    display: block;
    width: auto;
    margin: 0 0 1px;
    color: #315b65;
    font-size: 10px;
    font-weight: 720;
    letter-spacing: .07em;
    line-height: 1.2;
    text-transform: uppercase;
}

.cloud-auth-page .field input {
    width: 100%;
    min-width: 0;
    height: 32px;
    padding: 5px 34px 2px 0;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--auth-ink) !important;
    font: 520 14px/1.35 'Onest Variable', Onest, system-ui, sans-serif;
    caret-color: var(--auth-ink);
    text-align: left;
}

.cloud-auth-page .field input:-webkit-autofill,
.cloud-auth-page .field input:-webkit-autofill:hover,
.cloud-auth-page .field input:-webkit-autofill:focus,
.cloud-auth-page .field input:-webkit-autofill:active {
    -webkit-text-fill-color: var(--auth-ink) !important;
    caret-color: var(--auth-ink) !important;
}

.cloud-auth-page .field input:autofill {
    color: var(--auth-ink) !important;
    -webkit-text-fill-color: var(--auth-ink) !important;
    caret-color: var(--auth-ink) !important;
}

.cloud-auth-page .field input::placeholder {
    color: rgba(45, 85, 95, .48);
    opacity: 1;
}

.field-icon,
.cloud-auth-page .eye-btn {
    position: absolute;
    right: 12px;
    bottom: 10px;
    display: grid;
    width: 34px;
    height: 34px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #456e77;
}

.field-icon svg,
.cloud-auth-page .eye-btn .ui-icon {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cloud-auth-page .eye-btn {
    cursor: pointer;
    transition: color .2s ease, background .2s ease;
}

.cloud-auth-page .eye-btn:hover {
    background: rgba(255, 255, 255, .42);
    color: var(--auth-ink);
}

.cloud-auth-page .eye-btn:focus-visible,
.cloud-auth-page a:focus-visible,
.cloud-auth-page button:focus-visible,
.cloud-auth-page input[type="checkbox"]:focus-visible,
.cloud-auth-page .consent-hidden:focus-visible + .consent-box {
    outline: 2px solid rgba(8, 113, 132, .66) !important;
    outline-offset: 3px;
    box-shadow: none !important;
}

.cloud-auth-page .field-error {
    display: none;
    min-height: 0;
    padding: 5px 3px 0;
    color: var(--auth-error);
    font-size: 10px;
    font-weight: 620;
    line-height: 1.35;
}

.cloud-auth-page .field-error.visible {
    display: block;
}

.auth-row {
    display: flex;
    align-items: center;
}

.auth-row-links {
    justify-content: flex-end;
    margin-top: 13px;
}

.auth-text-link,
.auth-switch a {
    color: var(--auth-accent-strong);
    font-weight: 680;
    text-decoration: none;
}

.auth-text-link {
    font-size: 12px;
}

.auth-text-link:hover,
.auth-switch a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cloud-auth-page .btn-main.auth-submit,
.cloud-auth-page .btn-main.success-action {
    display: flex;
    width: 100%;
    min-height: 52px;
    height: 52px;
    margin: 24px 0 0;
    padding: 0 18px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(0, 85, 101, .14);
    border-radius: 17px !important;
    background: linear-gradient(135deg, #218d9d, #0e7588);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 14px 28px rgba(4, 88, 105, .22);
    color: #fff;
    font: 720 13px/1 'Onest Variable', Onest, system-ui, sans-serif;
    letter-spacing: 0;
    text-decoration: none;
    transition: transform .22s var(--auth-ease), box-shadow .22s ease, filter .22s ease;
}

.cloud-auth-page .btn-main.auth-submit > svg,
.cloud-auth-page .btn-main.success-action > svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cloud-auth-page .btn-main.auth-submit::before,
.cloud-auth-page .btn-main.success-action::before {
    display: none;
}

.cloud-auth-page .btn-main.auth-submit:hover,
.cloud-auth-page .btn-main.success-action:hover {
    background: linear-gradient(135deg, #218d9d, #0e7588);
    filter: brightness(1.045);
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 18px 34px rgba(4, 88, 105, .27);
}

.cloud-auth-page .btn-main.auth-submit:disabled {
    background: rgba(73, 111, 119, .32);
    box-shadow: none;
    color: rgba(255, 255, 255, .72);
    opacity: 1;
}

.auth-switch {
    margin: 24px 0 0;
    color: var(--auth-muted);
    font-size: 12px;
    text-align: center;
}

.auth-field-grid {
    display: grid;
    gap: 10px;
}

.auth-field-grid-two {
    grid-template-columns: 1fr;
}

.auth-field-grid-three {
    grid-template-columns: 1fr;
}

.cloud-auth-page .section.auth-section,
.cloud-auth-page .section.auth-section:hover {
    margin: 0 0 16px;
    padding: 0;
    overflow: visible;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.cloud-auth-page .section-label {
    padding: 0 2px 8px;
    color: #426c75;
    font-family: 'Onest Variable', Onest, system-ui, sans-serif;
    font-size: 9px;
    font-weight: 760;
    letter-spacing: .14em;
}

.cloud-auth-page .consent-wrap {
    margin: 3px 0 0;
    padding: 13px 14px;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 16px;
    background: rgba(239, 251, 253, .28);
    transition: border-color .2s ease, background .2s ease;
}

.cloud-auth-page .consent-wrap.active {
    border-color: rgba(24, 131, 148, .36);
    background: rgba(238, 253, 253, .48);
}

.cloud-auth-page .consent-label {
    gap: 10px;
    align-items: center;
}

.cloud-auth-page .consent-box {
    width: 21px;
    height: 21px;
    flex-basis: 21px;
    border: 1px solid rgba(8, 83, 96, .34);
    border-radius: 7px;
    background: rgba(255, 255, 255, .45);
}

.cloud-auth-page .consent-box.checked {
    border-color: var(--auth-accent-strong);
    background: var(--auth-accent-strong);
}

.cloud-auth-page .consent-text {
    color: #456872;
    font-size: 11px;
    line-height: 1.45;
}

.cloud-auth-page .consent-link {
    color: var(--auth-accent-strong);
    font-weight: 650;
}

.cloud-auth-page .registration-submit {
    margin-bottom: 0;
}

.cloud-auth-page .registration-submit-error {
    display: none;
    max-width: none;
    margin: 12px 0 0;
    padding: 11px 13px;
    border: 1px solid rgba(116, 82, 34, .22);
    border-radius: 15px;
    background: rgba(250, 244, 227, .82);
    box-shadow: none;
    color: var(--auth-error);
    font-size: 11px;
}

.cloud-auth-page .registration-submit-error.visible {
    display: block;
}

.cloud-auth-page .success-screen {
    display: none;
    min-height: 560px;
    padding: 44px 20px;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cloud-auth-page .success-screen.active {
    display: flex;
    animation: auth-card-enter .6s var(--auth-ease) both;
}

.cloud-auth-page .success-icon {
    display: grid;
    width: 72px;
    height: 72px;
    margin: 0 0 24px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .58);
    border-radius: 50%;
    background: rgba(238, 253, 253, .48);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 14px 34px rgba(4, 88, 105, .13);
    color: var(--auth-accent-strong);
    font-size: 28px;
}

.cloud-auth-page .success-screen h2 {
    margin: 0 0 11px;
    background: none;
    color: var(--auth-ink);
    font-size: 32px;
    font-weight: 720;
    letter-spacing: -.04em;
    -webkit-text-fill-color: currentColor;
}

.cloud-auth-page .success-screen > p:not(.auth-eyebrow) {
    max-width: 390px;
    color: var(--auth-muted);
    font-size: 13px;
}

.cloud-auth-page .btn-main.success-action {
    max-width: 300px;
    margin-inline: auto;
}

.cloud-auth-page > .legal-footer {
    position: relative;
    z-index: 2;
    margin-top: -70px;
    padding: 18px 24px 28px;
    color: rgba(7, 50, 59, .66);
    font: 600 10px/1.5 'Onest Variable', Onest, system-ui, sans-serif;
}

.cloud-auth-page > .legal-footer a {
    color: rgba(7, 74, 87, .82);
}

@media (max-width: 760px) {
    .auth-stage-register {
        padding-top: 90px;
    }

    .auth-card-register {
        width: min(100%, 560px);
        padding: 34px 28px 30px;
    }

    .auth-field-grid-three {
        grid-template-columns: 1fr;
    }

    .auth-field-grid-two {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .cloud-auth-page .auth-sky {
        inset: 0;
    }

    .cloud-auth-page .public-return {
        top: max(12px, env(safe-area-inset-top));
        left: max(12px, env(safe-area-inset-left));
        min-height: 40px;
        padding-right: 13px;
        background: rgba(242, 253, 255, .48);
    }

    .auth-stage,
    .auth-stage-register {
        display: block;
        padding: 72px 12px 88px;
    }

    .auth-card,
    .auth-card-register {
        width: 100%;
        padding: 30px 20px 26px;
        border-radius: 26px;
        backdrop-filter: blur(28px) saturate(145%);
        -webkit-backdrop-filter: blur(28px) saturate(145%);
    }

    .auth-card-login {
        margin-top: max(0px, calc((100svh - 680px) / 2));
    }

    .cloud-auth-page .auth-brand-link {
        width: 164px;
        margin-bottom: 22px;
    }

    .auth-header h1 {
        font-size: 30px;
    }

    .auth-form,
    .auth-card-register .auth-form {
        margin-top: 24px;
    }

    .cloud-auth-page .field {
        min-height: 64px;
        padding: 10px 13px 8px;
    }

    .cloud-auth-page .field input {
        padding-top: 5px;
        padding-bottom: 2px;
    }

    .auth-switch {
        margin-top: 21px;
    }

    .cloud-auth-page > .legal-footer {
        margin-top: -70px;
        padding-inline: 18px;
    }
}

@media (max-height: 720px) and (min-width: 521px) {
    .auth-stage {
        padding-top: 78px;
        padding-bottom: 78px;
    }

    .auth-card-login {
        padding-top: 30px;
        padding-bottom: 28px;
    }

    .cloud-auth-page .auth-brand-link {
        width: 164px;
        margin-bottom: 18px;
    }

    .auth-form {
        margin-top: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cloud-auth-page .auth-sky,
    .cloud-auth-page .auth-card,
    .cloud-auth-page .success-screen.active {
        animation: none !important;
    }

    .cloud-auth-page *,
    .cloud-auth-page *::before,
    .cloud-auth-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* A single accessible input, presented as six balanced code cells. */
.cloud-auth-page .auth-card-code { max-width:460px; padding:36px; animation:none; }
.auth-card-code .auth-brand-link { margin-bottom:26px; }
.auth-card-code .auth-header h1 { font-size:30px; line-height:1.15; letter-spacing:-.03em; }
.auth-card-code .auth-header .auth-description { max-width:30ch; margin-top:12px; }
.auth-card-code .auth-form { margin-top:28px; }
.auth-code-label { display:block; margin-bottom:12px; text-align:center; color:var(--auth-muted); font-size:12px; font-weight:550; }
.auth-code-input-wrap { position:relative; }
.cloud-auth-page .auth-card-code #login-code { width:100%; height:68px; padding:0 12px; border:1px solid #83b1bb; border-radius:12px; background:rgba(247,253,255,.65); color:var(--auth-ink); text-align:center; font:550 28px/1 'Onest Variable',sans-serif; letter-spacing:.2em; }
.auth-code-slots { display:none; }
.auth-code-entry.is-enhanced .auth-code-slots { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:9px; }
.cloud-auth-page .auth-code-entry.is-enhanced #login-code { position:absolute; inset:0; z-index:2; height:100%; padding:0; border:0; outline:0; border-radius:0; color:transparent; caret-color:transparent; background:transparent; box-shadow:none; -webkit-text-fill-color:transparent; }
.auth-code-entry.is-enhanced #login-code::selection { color:transparent; background:transparent; }
.auth-code-slot { display:grid; position:relative; place-items:center; height:68px; border:1px solid rgba(93,143,153,.32); border-radius:12px; background:rgba(246,253,255,.55); color:var(--auth-ink); font-size:28px; font-weight:550; font-variant-numeric:tabular-nums; transition:border-color .18s, background .18s, box-shadow .18s; }
.auth-code-slot:empty::after { content:''; width:7px; height:2px; border-radius:2px; background:#8faeb5; }
.auth-code-slot.is-filled { background:rgba(249,254,255,.85); border-color:rgba(21,120,137,.45); }
.auth-code-slot.is-active { border-color:var(--auth-accent-strong); box-shadow:0 0 0 3px rgba(22,131,148,.12); background:#f4fbfc; }
.auth-code-slot.is-active:empty::after { width:2px; height:24px; background:var(--auth-accent-strong); animation:code-caret 1.1s step-end infinite; }
.auth-code-slot.is-entered { animation:code-digit-enter .23s var(--auth-ease); }
.auth-code-help { margin:14px 0 26px; color:var(--auth-muted); text-align:center; font-size:12px; line-height:1.5; }
.cloud-auth-page .auth-card-code .btn-main.auth-submit { margin-top:0; box-shadow:inset 0 1px 0 rgba(255,255,255,.24),0 8px 18px rgba(4,88,105,.14); }
.cloud-auth-page .auth-code-resend { margin:14px 0 0; text-align:center; }
.cloud-auth-page button.auth-text-link { border:0; background:transparent; padding:10px 8px; min-height:44px; font:inherit; font-size:13px; color:var(--auth-accent-strong); cursor:pointer; }
.cloud-auth-page button.auth-text-link:disabled { opacity:.55; cursor:wait; }
.cloud-auth-page button.auth-text-link:hover { text-decoration:underline; text-underline-offset:4px; }
.cloud-auth-page button.auth-text-link:focus-visible { outline:2px solid var(--auth-accent); outline-offset:3px; border-radius:6px; }
.auth-card-code .auth-switch { margin-top:8px; font-size:13px; }
.cloud-auth-page .auth-card-code .login-access-message { margin:20px 0 0; }
.cloud-auth-page .auth-submit .auth-code-check { display:none; width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:2; }
.cloud-auth-page .auth-code-verified .btn-main.auth-submit:disabled { opacity:1; background:var(--auth-accent-strong); color:#fff; }
.cloud-auth-page .auth-code-verified .auth-code-check { display:block; stroke-dasharray:30; animation:auth-code-check .4s var(--auth-ease) both; }
.auth-code-verified .auth-code-slot { animation:code-verified-wave .48s var(--auth-ease) calc(var(--digit) * 45ms) both; }
@keyframes code-verified-wave { 45% { transform:translateY(-5px); } to { background:#0f7889; border-color:#0f7889; color:#fff; box-shadow:none; transform:none; } }
@keyframes auth-code-check { from { stroke-dashoffset:30; } to { stroke-dashoffset:0; } }
@keyframes code-caret { 50% { opacity:0; } }
@keyframes code-digit-enter { from { transform:translateY(3px) scale(.96); } to { transform:none; } }
@media (max-width:520px) { .cloud-auth-page .auth-card-code { padding:28px 22px; } .auth-card-code .auth-header h1 { font-size:27px; } .auth-code-entry.is-enhanced .auth-code-slots { gap:7px; } .auth-code-slot { height:62px; font-size:26px; border-radius:10px; } }
@media (max-width:359px) { .cloud-auth-page .auth-card-code { padding:26px 18px; } .auth-code-entry.is-enhanced .auth-code-slots { gap:5px; } .auth-code-slot { height:54px; font-size:24px; } }
@media (prefers-reduced-motion:reduce) { .auth-code-slot, .auth-code-slot::after, .auth-code-verified .auth-code-check { animation:none !important; } .auth-code-verified .auth-code-slot { background:#0f7889; color:#fff; } }

/* Full-page curtain uses the landing's six silhouettes; the form changes under cover. */
.auth-transition { position:fixed; inset:0; z-index:10000; overflow:hidden; pointer-events:none; visibility:hidden; }
.auth-transition.is-playing { visibility:visible; pointer-events:auto; }
.auth-transition-veil { position:absolute; inset:0; background:#e2f0f3; opacity:0; }
.auth-transition-cloud { position:absolute; inset:-5%; width:110%; height:110%; will-change:transform; }
.auth-transition-cloud img { display:block; width:100%; height:100%; object-fit:cover; filter:saturate(.8); }
@media (max-width:700px) {
 .auth-transition-cloud { width:calc(115svh * 1920 / 909); height:115svh; left:calc(50% - 115svh * 960 / 909); top:-8svh; }
 .auth-transition-cloud img { object-fit:contain; filter:none; }
}
