/* ============================================================
   Ember: the 2026 look (owner-approved direction, 2026-11-26).
   Loaded LAST in <head> by autoInjectGlobalFooter() (includes/init.php),
   after styles.css and navbar.css, so it re-points their tokens and
   restyles the shared chrome without editing those files.

   - Muted section colours. <html data-section="…"> (flPageSection() in
     page-helpers.php) picks the colour of the header band:
     library (terracotta), quiz (slate blue), tools (sage),
     protocols (charcoal), plan (dusty plum), home (brand terracotta).
   - Warm neutral surfaces instead of the animated gradients.
   - Outfit for headings (self-hosted, /fonts/outfit, OFL); Inter stays
     the body font.
   - One band: the navbar and the page hero share the section colour and
     a faint diagonal texture.
   - Cross-page transitions (View Transitions API, progressive: browsers
     without it change pages as before).
   ============================================================ */

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url('/fonts/outfit/outfit-latin-wght-normal.woff2') format('woff2-variations');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url('/fonts/outfit/outfit-latin-ext-wght-normal.woff2') format('woff2-variations');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Section colours ---------- */
:root {
    --sec-library: #A94F39;
    --sec-quiz: #46618C;
    --sec-tools: #4A7663;
    --sec-protocols: #383B40;
    --sec-plan: #6E5A86;

    --sec: var(--sec-library);
    --font-display: 'Outfit', 'Inter', system-ui, sans-serif;
}
html[data-section="quiz"]      { --sec: var(--sec-quiz); }
html[data-section="tools"]     { --sec: var(--sec-tools); }
html[data-section="protocols"] { --sec: var(--sec-protocols); }
html[data-section="plan"]      { --sec: var(--sec-plan); }

/* ---------- Light tokens ---------- */
:root, [data-theme="light"] {
    --neutral-bg: #FAF8F5;
    --neutral-light: #FCFBF9;
    --container-bg: #FFFFFF;
    --card-bg: #FFFFFF;
    --surface-2: #F4F1EC;
    --input-bg: #FFFFFF;
    --result-card-bg: #FFFFFF;
    --surface-glass: #FFFFFF;
    --surface-glass-hover: #FFFFFF;
    --surface-tray: #F4F1EC;

    --text-primary: #24201C;
    --text-secondary: #4A433D;
    --text-muted: #6F665E;

    --border-soft: #E8E2DA;
    --border-medium: #D9D1C7;
    --border-strong: #9C9187;

    --frame-w: 1px;
    --frame-w-inset: 1px;
    --frame-listing: #E2DBD2;
    --frame-listing-hover: var(--sec);
    --frame-panel: #E8E2DA;

    --shadow-soft: rgba(60, 45, 30, 0.06);
    --shadow-medium: rgba(60, 45, 30, 0.10);
    --elev-1: 0 1px 2px rgba(60, 45, 30, 0.05), 0 2px 8px rgba(60, 45, 30, 0.04);
    --elev-2: 0 6px 18px rgba(60, 45, 30, 0.09), 0 1px 3px rgba(60, 45, 30, 0.05);
    --elev-3: 0 10px 28px rgba(60, 45, 30, 0.10);

    /* Actions follow the section colour; links a deeper shade of it. */
    --primary-fill: var(--sec);
    --primary-soft: var(--sec);
    --primary-text: color-mix(in srgb, var(--sec) 82%, #000);
    --primary-light: color-mix(in srgb, var(--sec) 10%, #fff);

    /* Chrome tokens styles.css uses for the bar and hero. */
    --brand-navy: var(--sec);
    --brand-red: var(--sec);
    --brand-gold: rgba(255, 255, 255, 0.9);
    --text-on-chrome-muted: rgba(255, 255, 255, 0.82);

    --band-bg: var(--sec);
    --band-line: color-mix(in srgb, var(--sec) 80%, #000);
    --band-text: #FFFFFF;
    --band-text-muted: rgba(255, 255, 255, 0.78);
    --band-texture: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 10px);
    --band-glow: radial-gradient(60% 140% at 100% 0%, rgba(255, 255, 255, 0.10), transparent 60%);
}

/* ---------- Dark tokens ---------- */
[data-theme="dark"] {
    --neutral-bg: #141518;
    --neutral-light: #18191C;
    --container-bg: #1C1D21;
    --card-bg: #1C1D21;
    --surface-2: #232429;
    --input-bg: #121316;
    --result-card-bg: #1C1D21;
    --surface-glass: #1C1D21;
    --surface-glass-hover: #212227;
    --surface-tray: #18191C;

    --text-primary: #ECE7E2;
    --text-secondary: #C9C2BB;
    --text-muted: #9A928B;

    --border-soft: #2C2E33;
    --border-medium: #3A3C42;
    --border-strong: #6E6A66;

    --frame-listing: #303237;
    --frame-listing-hover: var(--sec-light);
    --frame-panel: #2C2E33;

    --elev-1: 0 1px 2px rgba(0, 0, 0, 0.35);
    --elev-2: 0 8px 22px rgba(0, 0, 0, 0.45);
    --elev-3: 0 10px 30px rgba(0, 0, 0, 0.5);

    --sec-light: color-mix(in srgb, var(--sec) 55%, #fff);
    --primary-fill: color-mix(in srgb, var(--sec) 88%, #000);
    --primary-soft: var(--sec-light);
    --primary-text: color-mix(in srgb, var(--sec) 45%, #fff);
    --primary-light: color-mix(in srgb, var(--sec) 22%, #141518);

    --band-bg: color-mix(in srgb, var(--sec) 32%, #141518);
    --band-line: var(--sec-light);
    --band-text: #F4EFEA;
    --band-text-muted: rgba(244, 239, 234, 0.72);
    --band-texture: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 10px);
    --band-glow: radial-gradient(60% 140% at 100% 0%, color-mix(in srgb, var(--sec) 28%, transparent), transparent 60%);
}
/* Charcoal is already dark: give its dark band a touch more lift. */
html[data-section="protocols"][data-theme="dark"] {
    --band-bg: #202226;
    --sec-light: #A9AEB6;
}

/* ---------- Page background: calm, flat ---------- */
html,
html[data-theme="dark"] {
    background: var(--neutral-bg);
}
html::before,
html::after,
html[data-theme="dark"]::before,
html[data-theme="dark"]::after,
body::before,
body::after {
    background: none !important;
    animation: none !important;
    opacity: 0 !important;
}

/* ---------- Type ---------- */
h1, h2, h3, h4,
.navbar-brand-text,
.page-hero h1, .learn-hero h1,
.empty-state-title,
.lib-group-title {
    font-family: var(--font-display);
    letter-spacing: -0.01em;
}
h1, h2, h3 { font-weight: 600; }

/* ---------- The band: navbar + page hero ---------- */
.sticky-header {
    background: var(--band-bg);
    view-transition-name: fl-band;
}
.navbar {
    background: var(--band-glow), var(--band-texture), var(--band-bg);
    border: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    padding: 0.85rem 0 0.35rem;
}
.navbar-brand,
.navbar-brand:hover,
.navbar-brand:focus {
    color: var(--band-text);
}
.navbar-brand i {
    background: none;
    -webkit-text-fill-color: var(--band-text);
    color: var(--band-text);
    filter: none;
    text-shadow: none;
}
.navbar-brand-text {
    color: var(--band-text);
    -webkit-text-fill-color: var(--band-text);
    background: none;
    font-weight: 600;
    text-shadow: none;
}

/* Section links: quiet text on the band, the current one underlined. */
.navbar-nav-desktop .nav-link,
[data-theme="dark"] .navbar-nav-desktop .nav-link {
    background: transparent;
    border: 0;
    color: var(--band-text-muted);
    font-size: 1rem;
    font-weight: 500;
    padding: 0.55rem 0.8rem 0.7rem;
    border-radius: 8px;
    box-shadow: none;
}
.navbar-nav-desktop .nav-link:hover,
[data-theme="dark"] .navbar-nav-desktop .nav-link:hover {
    background: rgba(255, 255, 255, 0.10);
    color: var(--band-text);
    border: 0;
    transform: none;
    box-shadow: none;
}
.navbar-nav-desktop .nav-link.active,
[data-theme="dark"] .navbar-nav-desktop .nav-link.active {
    color: var(--band-text);
    background: transparent;
    font-weight: 600;
}
.navbar-nav-desktop .nav-link.active::before {
    content: '';
    position: absolute;
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.25rem;
    height: 2px;
    border-radius: 2px;
    background: var(--band-text);
}

/* Account / sign-in buttons: a light pill on the band. */
.auth-buttons-desktop .nav-link,
.auth-buttons-desktop .nav-link:hover {
    background: rgba(255, 255, 255, 0.95);
    border: 0;
    color: color-mix(in srgb, var(--sec) 80%, #000);
    box-shadow: none;
    font-weight: 600;
    padding: 0.5rem 1.05rem;
    font-size: 0.95rem;
}
.auth-buttons-desktop .nav-link:hover { background: #FFFFFF; }
[data-theme="dark"] .auth-buttons-desktop .nav-link,
[data-theme="dark"] .auth-buttons-desktop .nav-link:hover {
    background: rgba(255, 255, 255, 0.10);
    color: var(--band-text);
}
.navbar-toggler,
.navbar-toggler:hover {
    color: var(--band-text);
    background: rgba(255, 255, 255, 0.10);
    border-color: transparent;
}

/* The page hero continues the band under the navbar. */
.page-hero,
.learn-hero {
    background: var(--band-texture), var(--band-bg);
    border-bottom: 0;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    color: var(--band-text);
    padding-top: 1.1rem;
    padding-bottom: 1.6rem;
    view-transition-name: fl-hero;
}
.page-hero h1,
.learn-hero h1 {
    color: var(--band-text);
    font-weight: 600;
}
.page-hero h1 > i,
.learn-hero h1 > i {
    color: var(--band-text-muted);
}
.page-hero-sub,
.learn-hero-text > p {
    color: var(--band-text-muted);
}
/* Dark: a fine line in the section colour closes the band. */
[data-theme="dark"] .page-hero,
[data-theme="dark"] .learn-hero {
    box-shadow: inset 0 -2px 0 var(--band-line);
}
html[data-theme="dark"]:not(:has(.page-hero, .learn-hero, .home-band)) .navbar {
    box-shadow: inset 0 -2px 0 var(--band-line);
}

/* ---------- Listing cards (.lib-card: library, protocols, tools…) ----------
   Plain white card: tinted icon tile on top, title, meta, a quiet
   "Open". The old navy title strip is gone. */
.surface-listing.lib-card,
.lib-card {
    --lib-card-pad: 1.4rem;
    background: var(--card-bg);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    box-shadow: var(--elev-1);
    text-align: left;
    align-items: flex-start;
}
.lib-card-head,
.lib-card:where(a, :not(.is-static)):hover .lib-card-head,
.lib-card:where(a, :not(.is-static)):focus-visible .lib-card-head,
.lib-card:where(a, :not(.is-static)):focus-within .lib-card-head {
    order: 0;
    min-height: 0;
    margin: 0 0 0.35rem;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    justify-content: flex-start;
}
.lib-card-head > h2,
.lib-card-head > h3,
.lib-card:where(a, :not(.is-static)):hover .lib-card-head > h2,
.lib-card:where(a, :not(.is-static)):hover .lib-card-head > h3,
.lib-card:where(a, :not(.is-static)):focus-visible .lib-card-head > h2,
.lib-card:where(a, :not(.is-static)):focus-visible .lib-card-head > h3,
.lib-card:where(a, :not(.is-static)):focus-within .lib-card-head > h2,
.lib-card:where(a, :not(.is-static)):focus-within .lib-card-head > h3 {
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    color: var(--text-primary);
    text-shadow: none;
    text-align: left;
    font-size: 1.2rem;
    font-weight: 600;
}
.lib-card-icon {
    order: -1;
    margin: 0 0 0.9rem;
}
.lib-card-meta { order: 1; }
.lib-card-foot { order: 2; margin-top: auto; padding-top: 0.9rem; }
.icon-tile {
    background: color-mix(in srgb, var(--sec) 12%, var(--card-bg));
    color: var(--primary-text);
    border: 0;
    box-shadow: none;
}
.lib-card-open.btn,
.lib-card-open.btn:hover {
    background: transparent;
    border: 0;
    box-shadow: none;
    color: var(--primary-text);
    padding-inline: 0;
    font-weight: 600;
}
@media (prefers-reduced-motion: no-preference) {
    .lib-card:where(a, :not(.is-static)) {
        transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.22s ease, border-color 0.22s ease;
    }
    .lib-card:where(a, :not(.is-static)):hover,
    .lib-card:where(a, :not(.is-static)):focus-visible {
        transform: translateY(-3px);
        box-shadow: var(--elev-2);
        border-color: color-mix(in srgb, var(--sec) 45%, var(--border-soft));
    }
    .lib-card:where(a, :not(.is-static)):hover .lib-card-open i {
        transform: translateX(3px);
    }
    .lib-card-open i { transition: transform 0.22s ease; }
}

/* ---------- Home (index.php) ---------- */
.home-band {
    background: var(--band-texture), var(--band-bg);
    color: var(--band-text);
    padding: 0.6rem var(--page-gutter) 2rem;
    view-transition-name: fl-hero;
}
[data-theme="dark"] .home-band { box-shadow: inset 0 -2px 0 var(--band-line); }
.home-band-inner {
    max-width: 46rem;
    margin: 0 auto;
}
.home-search {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0 0.9rem;
    height: 3.25rem;
    border-radius: 14px;
    background: #FFFFFF;
    color: #6F665E;
    box-shadow: 0 6px 20px rgba(40, 20, 10, 0.18);
}
[data-theme="dark"] .home-search {
    background: var(--card-bg);
    color: var(--text-muted);
    border: 1px solid var(--border-medium);
    box-shadow: none;
}
.home-search i { font-size: 1.25rem; }
.home-search input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    background: transparent;
    color: var(--text-primary);
    font-size: 1.05rem;
    outline: none;
}
[data-theme="light"] .home-search input,
:root:not([data-theme="dark"]) .home-search input { color: #24201C; }
.home-search:focus-within { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.55), 0 6px 20px rgba(40, 20, 10, 0.18); }
.home-search kbd {
    font: 500 0.78rem/1 var(--font-sans, 'Inter', sans-serif);
    padding: 0.2rem 0.45rem;
    border-radius: 6px;
    border: 1px solid currentColor;
    background: none;
    color: inherit;
    opacity: 0.6;
}
@media (max-width: 720px) { .home-search kbd { display: none; } }
.home-tagline {
    margin-top: 0.9rem;
    color: var(--band-text-muted);
    font-size: 0.95rem;
    line-height: 1.55;
    text-align: center;
}
.home-tagline p { margin: 0 0 0.3rem; }
.home-tagline a { color: var(--band-text); }

.home-shell { max-width: 60rem; padding-top: var(--space-6, 1.5rem); }
.home-label {
    margin: 0 0 0.45rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.home-continue {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.4rem;
    padding: 0.8rem 1rem;
    border-radius: 14px;
    background: var(--card-bg);
    border: 1px solid var(--border-soft);
    box-shadow: var(--elev-1);
    color: var(--text-primary);
    text-decoration: none;
}
.home-continue-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 10px;
    background: color-mix(in srgb, var(--sec-library) 13%, var(--card-bg));
    color: var(--sec-library);
    font-size: 1.3rem;
}
[data-theme="dark"] .home-continue-icon { color: color-mix(in srgb, var(--sec-library) 50%, #fff); }
.home-continue-title { flex: 1; min-width: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.home-continue-go { color: var(--text-muted); font-size: 1.2rem; }

.home-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}
@media (min-width: 900px) {
    .home-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.home-tile {
    --tile-fill: var(--sec-library);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-height: 8.5rem;
    padding: 1.1rem 1.15rem;
    border-radius: 18px;
    background: var(--tile-fill);
    color: #FFFFFF;
    text-decoration: none;
    isolation: isolate;
}
.home-tile--quiz      { --tile-fill: var(--sec-quiz); }
.home-tile--tools     { --tile-fill: var(--sec-tools); }
.home-tile--protocols { --tile-fill: var(--sec-protocols); }
[data-theme="dark"] .home-tile { background: color-mix(in srgb, var(--tile-fill) 82%, #000); }
[data-theme="dark"] .home-tile--protocols { background: #2C2E33; box-shadow: inset 0 0 0 1px #3A3C42; }
.home-tile-icon { font-size: 1.6rem; margin-bottom: auto; }
.home-tile-name {
    margin-top: 1.1rem;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.home-tile-note { color: rgba(255, 255, 255, 0.8); font-size: 0.88rem; }
/* Big faded copy of the icon in the corner. */
.home-tile-mark {
    position: absolute;
    right: -0.6rem;
    bottom: -1.1rem;
    z-index: -1;
    font-size: 6.5rem;
    line-height: 1;
    opacity: 0.14;
}
.home-tile:hover,
.home-tile:focus-visible { color: #FFFFFF; }
@media (prefers-reduced-motion: no-preference) {
    .home-tile,
    .home-continue {
        transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.22s ease;
    }
    .home-tile-mark { transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
    .home-tile:hover,
    .home-tile:focus-visible {
        transform: translateY(-4px);
        box-shadow: 0 12px 26px color-mix(in srgb, var(--tile-fill) 35%, transparent);
    }
    .home-tile:hover .home-tile-mark { transform: rotate(-8deg) scale(1.06); }
    .home-continue:hover { transform: translateY(-2px); box-shadow: var(--elev-2); }
}

/* ---------- Phone tab bar (navbar.php .fl-tabbar) ---------- */
.fl-tabbar { display: none; }
@media (max-width: 720px) {
    .fl-tabbar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: var(--z-fab, 1040);
        display: flex;
        justify-content: space-around;
        gap: 0.25rem;
        padding: 0.35rem 0.5rem calc(0.35rem + env(safe-area-inset-bottom, 0px));
        background: color-mix(in srgb, var(--card-bg) 92%, transparent);
        -webkit-backdrop-filter: blur(14px) saturate(1.2);
        backdrop-filter: blur(14px) saturate(1.2);
        border-top: 1px solid var(--border-soft);
        view-transition-name: fl-tabbar;
    }
    .fl-tab {
        flex: 1 1 0;
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.15rem;
        padding: 0.4rem 0.25rem 0.3rem;
        border: 0;
        border-radius: 12px;
        background: none;
        color: var(--text-muted);
        font: 500 0.72rem/1.1 var(--font-sans, 'Inter', sans-serif);
        text-decoration: none;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    .fl-tab i { font-size: 1.4rem; line-height: 1; }
    .fl-tab span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
    .fl-tab:hover { color: var(--text-primary); }
    .fl-tab--learn     { --tab: var(--sec-library); }
    .fl-tab--quizzes   { --tab: var(--sec-quiz); }
    .fl-tab--tools     { --tab: var(--sec-tools); }
    .fl-tab--protocols { --tab: var(--sec-protocols); }
    .fl-tab.is-active {
        color: color-mix(in srgb, var(--tab) 85%, #000);
        background: color-mix(in srgb, var(--tab) 13%, transparent);
        font-weight: 600;
    }
    [data-theme="dark"] .fl-tab.is-active {
        color: color-mix(in srgb, var(--tab) 45%, #fff);
        background: color-mix(in srgb, var(--tab) 28%, transparent);
    }
    /* Room for the bar under the last content and the footer. */
    body:has(.fl-tabbar) {
        padding-bottom: calc(4.1rem + env(safe-area-inset-bottom, 0px));
    }
}

/* ---------- Footer: quiet, on the page background ---------- */
.site-footer,
[data-theme="dark"] .site-footer {
    background: var(--neutral-bg);
    color: var(--text-muted);
    border-top: 1px solid var(--border-soft);
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    padding: 0.9rem 1.25rem 0.6rem;
}
.site-footer a {
    color: var(--text-secondary);
}
.site-footer a:hover,
.site-footer a:focus-visible {
    color: var(--primary-text);
}
.footer-theme-toggle,
.footer-theme-toggle:hover {
    background: var(--card-bg);
    border: 1px solid var(--border-soft);
    color: var(--text-secondary);
}
.footer-theme-toggle:hover { border-color: var(--border-medium); color: var(--text-primary); }
[data-theme="dark"] .footer-theme-toggle i { color: var(--text-secondary); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
    @view-transition { navigation: auto; }

    ::view-transition-group(fl-band),
    ::view-transition-group(fl-hero) {
        animation-duration: 420ms;
        animation-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1);
    }
    /* The band's colour cross-fades between sections. */
    ::view-transition-old(fl-band),
    ::view-transition-new(fl-band),
    ::view-transition-old(fl-hero),
    ::view-transition-new(fl-hero) {
        animation-duration: 420ms;
        height: 100%;
        object-fit: cover;
        object-position: top;
    }
    /* The page body fades out and rises gently into place. */
    ::view-transition-old(root) {
        animation: fl-page-out 160ms ease-in both;
    }
    ::view-transition-new(root) {
        animation: fl-page-in 320ms cubic-bezier(0.2, 0.7, 0.2, 1) 60ms both;
    }
}
@keyframes fl-page-out {
    to { opacity: 0; }
}
@keyframes fl-page-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}
