/*
    THE SIGN-IN SCREENS — Option D3 (founder, 2026-12-02; Figma "Sign in" page).

    Desktop (≥992px): "Option D3 · Phone mock · Desktop 1440" — the dark brand background, the story on
    the left, and the real sign-in form inside an iPhone-style frame on the right.
    Phone and tablet (<992px): "Option D2 · Phone 390" — the same background, a compact headline and a
    SOLID WHITE card holding the same form; no frame.

    ⚠️ ONE MARKUP, TWO LOOKS. _SignInLayout draws the frame once; below 992px this file turns the frame
    into the white card (its status bar, island, side buttons and home bar hidden). Two copies of the
    form, one per size, would be two forms to keep in step - and the one that drifted would be found by a
    school, signed out, on a phone.

    ⚠️ NOTHING HERE IS DOWNLOADED BUT THE FONT. Every glow, ring, diamond and dot is CSS or inline SVG
    (founder: "no background images to download"), and the font is the vendored Inter (rule 9).

    ⚠️ TWO COLOURS DIFFER FROM THE FIGMA FILE, FOR WCAG AA, and on purpose:
      - the button's gradient starts at #5b5ef0, not #6366f1 — white text on #6366f1 is 4.47:1, just
        under the 4.5:1 AA asks of 17px text;
      - a box's border is #8a92a0, not #dbdee3 — a field's outline must reach 3:1 against the white
        behind it (WCAG 1.4.11), and #dbdee3 is 1.35:1.
*/

@font-face {
    font-family: "Inter";
    src: url("../lib/inter/InterVariable.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --si-navy: #0d2947;
    --si-blue: #1a456e;
    --si-indigo: #382b85;
    --si-ink: #1f2937;
    --si-label: #333c4a;
    --si-muted: #6b7280;
    --si-star: #dc2626;
    --si-link: #4636cc;
    --si-border: #8a92a0;
    --si-focus: #5b5ef0;
    --si-button-from: #5b5ef0;
    --si-button-to: #8c45db;
    --si-pad-x: clamp(32px, 6.1vw, 88px);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body.signin {
    margin: 0;
    min-height: 100%;
}

/* The page's own base is the gradient's last colour, so a long page or an overscroll never shows white. */
html:has(body.signin) {
    background: var(--si-indigo);
}

body.signin {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    color: #fff;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.4;
    background: linear-gradient(144.2deg, var(--si-navy) 0%, var(--si-blue) 35.714%, var(--si-indigo) 71.429%) fixed;
    -webkit-font-smoothing: antialiased;
}

/* ------------------------------------------------------------------------------------------------
   THE BACKGROUND: glows, the logo's two diamonds, rings, a dot grid. Decorative, fixed behind all.
   Positions are the 1440 × 900 frame's, as percentages so they stay put on every desktop size.
------------------------------------------------------------------------------------------------ */
.signin-bg {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.signin-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(85px);
}

.signin-glow-a { left: -18.06%; top: -26.67%; width: 760px; height: 760px; background: rgba(51, 153, 230, 0.45); transform: scale(1); }
.signin-glow-b { left: 30%; top: 50%; width: 700px; height: 700px; background: rgba(128, 89, 242, 0.45); }
.signin-glow-c { left: 75%; top: -22.22%; width: 500px; height: 500px; background: rgba(242, 115, 191, 0.18); }

.signin-diamonds {
    position: absolute;
    left: -120px;
    top: calc(100% - 380px);
    width: 900px;
    height: 450px;
}

.signin-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.2px solid rgba(255, 255, 255, 0.09);
}

.signin-ring-a { left: 50%; top: -260px; width: 520px; height: 520px; }
.signin-ring-b { left: calc(50% + 60px); top: -200px; width: 400px; height: 400px; border-color: rgba(255, 255, 255, 0.06); }

.signin-dots {
    position: absolute;
    left: 52%;
    top: calc(100% - 260px);
    width: 300px;
    height: 200px;
    opacity: 0.14;
    background-image: radial-gradient(circle at 2px 2px, #fff 1.6px, transparent 1.7px);
    background-size: 22px 22px;
}

/* ------------------------------------------------------------------------------------------------
   THE PAGE: brand top-left, the story under it, the device on the right (desktop).
------------------------------------------------------------------------------------------------ */
.signin-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 372px;
    grid-template-areas:
        "brand  device"
        "intro  device"
        "footer device";
    grid-template-rows: auto 1fr auto;
    column-gap: 48px;
    max-width: 1440px;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0 auto;
    padding: 56px calc(var(--si-pad-x) + 32px) 28px var(--si-pad-x);
}

.signin-brand {
    grid-area: brand;
    display: flex;
    align-items: center;
}

.signin-brand img {
    display: block;
    width: 188px;
    height: 48px;
}

.signin-intro {
    grid-area: intro;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding-top: 86px;
}

.signin-eyebrow {
    display: inline-block;
    margin: 0;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 600;
    white-space: pre;
}

.signin-headline {
    margin: 0;
    font-size: 64px;
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -1.28px;
}

.signin-headline span {
    display: block;
}

.signin-headline .signin-gradient {
    background: linear-gradient(90deg, #8cd9ff, #c7a6ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.signin-subline {
    max-width: 520px;
    margin: 0;
    color: #d9e5f7;
    font-size: 18px;
    line-height: normal;
}

.signin-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 560px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.signin-tags li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.signin-tags li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #8cd9ff;
}

.signin-tags-short {
    display: none;
}

/* THE PREVIEW STRIP — sample figures, decoration only (aria-hidden in the markup). */
.signin-preview {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: auto;
    padding: 18px 24px 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.signin-preview svg {
    display: block;
    flex: none;
}

.signin-preview .figure {
    display: flex;
    flex-direction: column;
    gap: 2px;
    white-space: nowrap;
}

.signin-preview .figure b {
    font-size: 24px;
    font-weight: 800;
}

.signin-preview .figure small {
    color: rgba(255, 255, 255, 0.75);
    font-size: 12px;
}

.signin-preview .rule {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
}

.signin-footer {
    grid-area: footer;
    margin: 32px 0 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    white-space: pre-wrap;
}

/* ------------------------------------------------------------------------------------------------
   THE DEVICE: an iPhone-style frame (desktop) holding the real form.
------------------------------------------------------------------------------------------------ */
.signin-device-wrap {
    grid-area: device;
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
}

/*
    ⚠️ THE PHONE GROWS; IT NEVER SCROLLS INSIDE (founder, 2026-12-03: "user confuse when scroll"). Until then
    it had a fixed height and an overflow, so Change password hid its last box and its button below the
    phone's own edge - 136 to 249px of it at 1366 × 768 - behind a scrollbar nobody thought to look for.
    The window-sized height is now a MINIMUM, which keeps a short screen phone-shaped; a long one makes the
    phone taller, and a window too short for that scrolls the PAGE, the one scroll everybody knows.
*/
.signin-device {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 372px;
    min-height: clamp(560px, calc(100vh - 110px), 760px);
    padding: 8px;
    border: 2px solid #8c94a6;
    border-radius: 58px;
    background: #14171f;
    box-shadow: 0 40px 80px rgba(0, 0, 26, 0.55);
}

/* The side buttons: two on the left (volume), one on the right (power). */
.signin-device::before,
.signin-device::after,
.signin-device .signin-button-left {
    content: "";
    position: absolute;
    width: 4px;
    border-radius: 2px;
    background: #595e6b;
}

.signin-device::before { left: -5px; top: 148px; height: 60px; }
.signin-device .signin-button-left { left: -5px; top: 223px; height: 60px; }
.signin-device::after { right: -5px; top: 188px; height: 90px; }

.signin-screen {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 14px 24px 10px;
    border-radius: 48px;
    background: #fff;
    color: var(--si-ink);
}

.signin-status {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    color: #000;
    font-size: 14px;
    font-weight: 600;
}

.signin-status .island {
    width: 110px;
    height: 32px;
    border-radius: 16px;
    background: #000;
}

.signin-appicon {
    display: flex;
    flex: none;
    justify-content: center;
    padding: 36px 0 22px;
}

.signin-appicon img {
    width: 64px;
    height: 64px;
    border-radius: 16px;
}

.signin-content {
    display: flex;
    flex: none;
    flex-direction: column;
    gap: 20px;
}

.signin-home {
    display: flex;
    flex: none;
    justify-content: center;
    margin-top: auto;
    padding: 12px 0 6px;
}

.signin-home::before {
    content: "";
    width: 130px;
    height: 5px;
    border-radius: 3px;
    background: #000;
}

.signin-caption {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}

/* ------------------------------------------------------------------------------------------------
   THE FORM — the same on both sizes.
------------------------------------------------------------------------------------------------ */
.signin-title {
    margin: 0;
    color: var(--si-ink);
    font-size: 32px;
    font-weight: 700;
    line-height: normal;
    text-align: center;
}

.signin-title-small {
    font-size: 30px;
}

.signin-lead {
    margin: -14px 0 0;
    color: var(--si-muted);
    font-size: 15px;
    text-align: center;
}

.signin-note {
    margin: 0;
    color: var(--si-muted);
    font-size: 13px;
    text-align: center;
}

.signin-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.signin-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/*
    ⚠️ A SIGN-IN-ONLY EXCEPTION TO THE RED-LABEL RULE (house style §7, written there too): the label is
    dark grey and only its star is red. Every other form in the product draws the whole mandatory
    label red; on the sign-in screens, where both boxes are always mandatory and the page is a brand
    surface, a red label on every field reads as an error before anybody has typed.
*/
.signin-label {
    color: var(--si-label);
    font-size: 14px;
    font-weight: 600;
}

.signin-label .req {
    margin-left: 4px;
    color: var(--si-star);
}

.signin-input {
    display: flex;
    align-items: center;
    height: 54px;
    padding: 0 16px;
    border: 1.5px solid var(--si-border);
    border-radius: 14px;
    background: #fff;
}

.signin-input:focus-within {
    border-color: var(--si-focus);
    box-shadow: 0 0 0 3px rgba(91, 94, 240, 0.25);
}

.signin-input.is-refused {
    border-color: var(--si-star);
}

.signin-input input {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--si-ink);
    font: inherit;
    font-size: 16px;
}

.signin-input input::placeholder {
    color: var(--si-muted);
    opacity: 1;
}

.signin-eye {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-right: -11px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--si-muted);
    cursor: pointer;
}

.signin-eye:focus-visible,
.signin-link:focus-visible,
.signin-button:focus-visible,
.signin-store:focus-visible {
    outline: 3px solid var(--si-focus);
    outline-offset: 2px;
}

.signin-eye .eye-off,
.signin-eye[aria-pressed="true"] .eye-on {
    display: none;
}

.signin-eye[aria-pressed="true"] .eye-off {
    display: block;
}

.signin-forgot {
    display: flex;
    justify-content: flex-end;
    margin-top: -8px;
}

.signin-link {
    color: var(--si-link);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.signin-link:hover {
    text-decoration: underline;
}

.signin-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 14px;
}

.signin-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 54px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(90deg, var(--si-button-from), var(--si-button-to));
    box-shadow: 0 10px 24px rgba(26, 26, 77, 0.3);
    color: #fff;
    font: inherit;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.signin-button:hover {
    filter: brightness(1.05);
}

.signin-button-quiet {
    box-shadow: none;
}

.signin-divider {
    height: 1px;
    margin: 0;
    border: 0;
    background: #dbdee3;
}

.signin-alert {
    margin: 0;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 14px;
}

.signin-alert-danger { border: 1px solid #fca5a5; background: #fef2f2; color: #991b1b; }
.signin-alert-warning { border: 1px solid #fcd34d; background: #fffbeb; color: #92400e; }
.signin-alert-success { border: 1px solid #86efac; background: #f0fdf4; color: #166534; }

.signin-sent {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 64px;
    height: 64px;
    border-radius: 32px;
    background: #dbfce8;
}

/* THE MOBILE-APP ROW — shown only when a store link is set (Platform admin → Sign-in screen). */
.signin-apps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.signin-apps-title {
    margin: 0;
    color: var(--si-muted);
    font-size: 13px;
    font-weight: 600;
}

.signin-stores {
    display: flex;
    gap: 10px;
}

.signin-store {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px 7px 12px;
    border: 1px solid #666;
    border-radius: 10px;
    background: #000;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

.signin-store span {
    display: flex;
    flex-direction: column;
    line-height: normal;
}

.signin-store small { font-size: 9px; }
.signin-store b { font-size: 14px; font-weight: 600; }

.signin-store[hidden] { display: none; }

/* The "already signed in" list of sessions. */
.signin-sessions {
    margin: 0;
    padding: 0;
    border: 1px solid #dbdee3;
    border-radius: 14px;
    list-style: none;
}

.signin-sessions li {
    padding: 12px 14px;
    border-bottom: 1px solid #dbdee3;
    font-size: 13px;
}

.signin-sessions li:last-child { border-bottom: 0; }
.signin-sessions b { display: block; color: var(--si-ink); font-size: 14px; }
.signin-sessions span { display: block; color: var(--si-muted); }

/*
    THE PASSWORD RULES (_PasswordRules) - one row of small chips under "New password", each ticked by
    sign-in.js as it is met (founder, 2026-12-03: "a small live checklist … no paragraph").
*/
.signin-rules {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin: -2px 0 0;
    padding: 0;
    color: var(--si-muted);
    font-size: 12px;
    font-weight: 500;
    list-style: none;
}

.signin-rules li {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

/* An empty ring until met; then a green tick. Drawn, not typed, so a screen reader hears neither. */
.signin-rules li::before {
    content: "";
    flex: none;
    width: 10px;
    height: 10px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
}

.signin-rules li.is-met {
    color: #15803d;
}

.signin-rules li.is-met::before {
    width: 12px;
    height: 12px;
    border: 0;
    background: #16a34a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

/* ------------------------------------------------------------------------------------------------
   PHONE AND TABLET (<992px) — "Option D2 · Phone 390": no frame, a white card.
------------------------------------------------------------------------------------------------ */
@media (max-width: 991.98px) {
    body.signin {
        background: linear-gradient(111.8deg, var(--si-navy) 0%, var(--si-blue) 35.714%, var(--si-indigo) 71.429%) fixed;
    }

    .signin-glow-a { left: -130px; top: -120px; width: 380px; height: 380px; }
    .signin-glow-b { left: 30%; top: 50%; width: 350px; height: 350px; }
    .signin-glow-c { left: 75%; top: -100px; width: 250px; height: 250px; }
    .signin-diamonds { left: -60px; top: auto; bottom: -35px; width: 450px; height: 225px; }
    .signin-ring-a { left: 50%; top: -130px; width: 260px; height: 260px; }
    .signin-ring-b { left: calc(50% + 30px); top: -100px; width: 200px; height: 200px; }
    .signin-dots { left: 52%; top: auto; bottom: 30px; width: 150px; height: 100px; }

    .signin-shell {
        display: flex;
        flex-direction: column;
        gap: 0;
        max-width: 480px;
        padding: 56px 20px 32px;
    }

    .signin-brand { padding-left: 4px; }

    .signin-brand img {
        width: 141px;
        height: 36px;
    }

    .signin-intro {
        gap: 12px;
        padding: 20px 4px 0;
    }

    .signin-eyebrow,
    .signin-subline,
    .signin-tags-long,
    .signin-preview,
    .signin-footer,
    .signin-caption,
    .signin-status,
    .signin-appicon,
    .signin-home,
    .signin-device::before,
    .signin-device::after,
    .signin-device .signin-button-left {
        display: none;
    }

    .signin-headline {
        font-size: 32px;
        letter-spacing: -0.64px;
    }

    .signin-tags-short {
        display: flex;
        gap: 8px;
    }

    .signin-tags-short li {
        padding: 6.8px 11.9px;
        font-size: 11.05px;
    }

    .signin-device-wrap {
        margin-top: 34px;
    }

    .signin-device {
        width: 100%;
        min-height: 0;
        padding: 0;
        border: 0;
        border-radius: 28px;
        background: #fff;
        box-shadow: 0 24px 60px rgba(13, 13, 51, 0.35);
    }

    .signin-screen {
        padding: 26px 22px;
        border-radius: 28px;
    }

    .signin-content,
    .signin-form {
        gap: 16px;
    }

    .signin-title { font-size: 26px; }
    .signin-title-small { font-size: 26px; }
    .signin-lead { margin-top: -10px; font-size: 14px; }

    /*
        A SCREEN WITH SEVERAL BOXES on a phone: the decorative tag row goes and the card moves up, so the
        first-sign-in Change password - its warning, three boxes and the rules - has its button on a 390 × 844
        screen without scrolling. A shorter phone scrolls the page, as every phone page does.
    */
    .signin-compact .signin-tags-short { display: none; }
    .signin-compact .signin-device-wrap { margin-top: 22px; }
    .signin-compact .signin-shell { padding-top: 40px; }
}

/*
    A NARROW DESKTOP (992–1279px, e.g. a 1024 laptop) — the same design, tightened, so the left column
    never runs under the phone: the headline steps down, and the strip loses its bar chart (the one part
    of it that only decorates). Measured: at 1024 the full strip is 581px in a 448px column.
*/
@media (min-width: 992px) and (max-width: 1279.98px) {
    .signin-shell { column-gap: 32px; padding-right: var(--si-pad-x); }
    .signin-headline { font-size: 52px; letter-spacing: -1px; }
    .signin-subline { font-size: 16px; }
    .signin-tags li { padding: 7px 12px; font-size: 12.5px; }
    .signin-preview { gap: 12px; max-width: 100%; padding: 14px 16px 14px 14px; }
    .signin-preview .figure b { font-size: 20px; }
    .signin-preview .fees,
    .signin-preview .fees + .rule { display: none; }
}

/*
    A SHORT DESKTOP WINDOW (a 1366 × 768 or 1024 × 768 laptop) — the left column tightens vertically so
    the page does not scroll for a screen with one form on it. The phone already shrinks to the window
    (its height is clamped in .signin-device).
*/
@media (min-width: 992px) and (max-height: 860px) {
    .signin-shell { padding-top: 36px; padding-bottom: 20px; }
    .signin-intro { gap: 16px; padding-top: 40px; }
    .signin-headline { font-size: 52px; }
    .signin-preview { padding-top: 12px; padding-bottom: 12px; }
    .signin-footer { margin-top: 18px; }
    .signin-device { min-height: clamp(560px, calc(100vh - 104px), 760px); }
    .signin-appicon { padding: 18px 0 12px; }

    /* The form tightens a little, so a refusal message does not push the button below the window. */
    .signin-content { gap: 16px; }
    .signin-form { gap: 14px; }
    .signin-field { gap: 6px; }
    .signin-input { height: 48px; }
    .signin-button { height: 50px; }
    .signin-lead { margin-top: -10px; }
    .signin-alert { padding: 8px 12px; font-size: 13px; }
}

/*
    A SCREEN WITH SEVERAL BOXES (ViewData["SignInCompact"] - Change password, Reset password), on a desktop.
    The app icon leaves the phone - the logo is still top-left of the page - and the heading fits one line,
    which together give back about 140px: the difference between the button in view and not, at 1366 × 768,
    for the first-sign-in case with its warning and a refusal on top.
*/
@media (min-width: 992px) {
    .signin-compact .signin-appicon { display: none; }
    .signin-compact .signin-content { padding-top: 22px; }
    .signin-compact .signin-title-small { font-size: 26px; }
}

@media (max-width: 359.98px) {
    .signin-stores { flex-wrap: wrap; justify-content: center; }
}

/* ONE PURPOSEFUL MOTION — the device settles in — and none at all when the reader asks for less. */
@media (prefers-reduced-motion: no-preference) {
    .signin-device-wrap {
        animation: signin-rise 0.5s ease-out both;
    }

    @keyframes signin-rise {
        from { opacity: 0; transform: translateY(12px); }
        to { opacity: 1; transform: none; }
    }
}
