/* usertypo_ learn — theme + shell (layout does NOT depend on Tailwind alone) */

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
}

html {
    scrollbar-width: none;
    font-size: clamp(13px, 1.3032vw, 24px);
}

:root {
    --theme-bg: #000000;
    --theme-bg-rgb: 0, 0, 0;
    --theme-primary: #ffffff;
    --theme-primary-rgb: 255, 255, 255;
    --theme-primary-hover: #dddddd;
    --theme-bg-secondary: #444444;
    --theme-bg-secondary-rgb: 68, 68, 68;
    --theme-menu-bg: rgba(68, 68, 68, 0.4);
    --theme-text: #cccccc;
    --theme-text-muted: #777777;
    --theme-on-primary: #000000;
    --theme-fg-strong: #ffffff;
    --theme-error: #ff4444;
    --theme-ring-track: rgba(255, 255, 255, 0.12);
    --settings-box-radius: 1.375rem;
    --theme-box-radius: 1.375rem;
    --glow-intensity: 0.5;
    --learn-font: 'Cutive Mono', ui-monospace, monospace;
}

html,
body {
    margin: 0;
    min-height: 100%;
    background-color: var(--theme-bg);
    color: var(--theme-text);
    font-family: var(--learn-font);
}

/* Critical page chrome — explicit so a missing/cached Tailwind still looks right */
#app-body {
    background-color: transparent !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    color: #cbd5e1;
}

#app-backdrop {
    position: fixed;
    inset: 0;
    z-index: 0;
    background-color: var(--theme-bg) !important;
    pointer-events: none;
}

body > header.learn-site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: transparent !important;
    flex-shrink: 0;
    position: relative;
    z-index: 20;
    width: 100%;
    box-sizing: border-box;
}

#header-left,
#header-center,
#header-right {
    display: flex;
    align-items: center;
    width: 33.333%;
    min-width: 0;
}

#header-center {
    justify-content: center;
}

#header-right {
    justify-content: flex-end;
    gap: 0.75rem;
}

#spa-content {
    background-color: var(--theme-bg) !important;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    min-height: 0;
}

#spa-page-root {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    min-height: 0;
    background: transparent !important;
}

.text-slate-600,
.text-slate-500 {
    color: #7c8591 !important;
}

.text-primary {
    color: var(--theme-primary) !important;
}

.bg-primary {
    background-color: var(--theme-primary) !important;
}

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined', sans-serif;
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: 'liga';
    -webkit-font-feature-settings: 'liga';
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.glass-panel {
    background: var(--theme-menu-bg, rgba(68, 68, 68, 0.4));
    background-image: none;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* ── Header logo ── */
.header-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.557rem;
    width: 9.592rem;
    outline: none !important;
    border: none !important;
    background: transparent;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
}

.header-logo-container {
    position: relative;
    width: 26.644rem;
    height: 26.644rem;
    transform: scale(0.5);
    margin: -13.322rem;
    flex-shrink: 0;
    pointer-events: none;
    opacity: 1;
}

.header-logo-layer {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
}

img.header-logo-layer,
img.header-static-layer {
    max-width: none !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

.header-dynamic-layer {
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    opacity: 1;
}

.header-typ-layer {
    background-color: var(--theme-primary, #ffffff);
    -webkit-mask-image: url('/logo-assets/typ_.png');
    mask-image: url('/logo-assets/typ_.png');
}

.header-user-layer {
    background-color: var(--theme-text, #cccccc);
    -webkit-mask-image: url('/logo-assets/user.png');
    mask-image: url('/logo-assets/user.png');
}

.header-learn-layer {
    background-color: var(--theme-text, #cccccc);
    -webkit-mask-image: url('/logo-assets/learn.png');
    mask-image: url('/logo-assets/learn.png');
}

.header-static-layer {
    z-index: 4;
    object-fit: contain;
    pointer-events: none;
    animation: header-fade-o 1s ease-out 0s forwards;
}

.header-typ-wrapper {
    z-index: 1;
    animation: header-fade-typ 1s ease-out 0s forwards;
}

.header-user-wrapper {
    z-index: 2;
    animation: header-fade-user 1s ease-out 0s forwards;
}

.header-learn-wrapper {
    z-index: 3;
    animation: header-fade-learn 1s ease-out 0s forwards;
}

@keyframes header-fade-typ {
    0% { filter: drop-shadow(0 0 0px rgba(var(--theme-primary-rgb, 255, 255, 255), 0)); }
    100% {
        filter:
            drop-shadow(0 0 6px color-mix(in srgb, var(--theme-primary, #ffffff) calc(var(--glow-intensity, 1) * 100%), transparent))
            drop-shadow(0 0 15px rgba(var(--theme-primary-rgb, 255, 255, 255), calc(0.55 * var(--glow-intensity, 1))));
    }
}

@keyframes header-fade-user {
    0% { filter: drop-shadow(0 0 0px rgba(255, 255, 255, 0)); }
    100% {
        filter:
            drop-shadow(0 0 6px color-mix(in srgb, var(--theme-text, #ffffff) calc(var(--glow-intensity, 1) * 100%), transparent))
            drop-shadow(0 0 15px rgba(255, 255, 255, calc(0.55 * var(--glow-intensity, 1))));
    }
}

@keyframes header-fade-learn {
    0% { filter: drop-shadow(0 0 0px rgba(255, 255, 255, 0)); }
    100% {
        filter:
            drop-shadow(0 0 6px color-mix(in srgb, var(--theme-text, #ffffff) calc(var(--glow-intensity, 1) * 100%), transparent))
            drop-shadow(0 0 15px rgba(255, 255, 255, calc(0.55 * var(--glow-intensity, 1))));
    }
}

@keyframes header-fade-o {
    0% { filter: drop-shadow(0 0 0px rgba(255, 51, 68, 0)); }
    100% {
        filter:
            drop-shadow(0 0 6px rgba(255, 51, 68, calc(1 * var(--glow-intensity, 1))))
            drop-shadow(0 0 15px rgba(255, 51, 68, calc(0.55 * var(--glow-intensity, 1))));
    }
}

#header-account-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    color: #cbd5e1;
    text-decoration: none;
}

/* ── Expanding bubble menu ── */
.expanding-bubble {
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
    width: 2.131rem;
    height: 2.131rem;
    border-radius: 1.066rem;
    overflow: hidden;
    cursor: default;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

#expanding-menu-wrapper {
    position: relative;
    overflow: visible !important;
    z-index: 40;
    width: 2.131rem;
    height: 2.131rem;
    flex-shrink: 0;
}

.expanding-bubble:not(.is-open):hover {
    border-color: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 0 15px rgba(var(--theme-primary-rgb), calc(0.25 * var(--glow-intensity, 1))), 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.expanding-bubble:not(.is-open):hover .bubble-toggle-icon {
    color: var(--theme-fg-strong, #ffffff);
    filter: drop-shadow(0 0 10px rgba(var(--theme-primary-rgb), calc(0.35 * var(--glow-intensity, 1))));
}

.expanding-bubble.is-open {
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

#bubble-toggle {
    appearance: none;
    -webkit-appearance: none;
    position: absolute;
    top: -1px;
    left: -1px;
    z-index: 2;
    width: 2.131rem;
    height: 2.131rem;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    font-size: 0;
    cursor: pointer;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.bubble-icon-stack {
    position: relative;
    width: 1.279rem;
    height: 1.279rem;
    flex-shrink: 0;
}

.bubble-toggle-icon {
    position: absolute;
    inset: 0;
    margin: auto;
    display: block;
    width: 1.279rem;
    height: 1.279rem;
    color: var(--theme-primary);
    filter: drop-shadow(0 0 10px rgba(var(--theme-primary-rgb), calc(0.6 * var(--glow-intensity, 1))));
    transform-origin: center center;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                color 0.2s ease,
                filter 0.2s ease;
}

.bubble-toggle-icon-menu {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    z-index: 2;
}

.bubble-toggle-icon-close {
    opacity: 0;
    transform: rotate(90deg) scale(0.75);
    z-index: 1;
    pointer-events: none;
}

.expanding-bubble.is-icon-open .bubble-toggle-icon-menu {
    opacity: 0;
    transform: rotate(-90deg) scale(0.75);
    z-index: 1;
    pointer-events: none;
}

.expanding-bubble.is-icon-open .bubble-toggle-icon-close {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    z-index: 2;
    pointer-events: auto;
}

.bubble-content {
    width: 13.854rem;
    margin-top: 2.131rem;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
}

.expanding-bubble.is-open .bubble-content {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
}

.bubble-content nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
}

.bubble-nav-link {
    cursor: pointer;
    color: var(--theme-text, #cbd5e1);
    transition: color 0.2s ease, background-color 0.2s ease;
    background: transparent;
    border: none;
    font: inherit;
    text-align: left;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--theme-box-radius, 1.375rem);
}

.bubble-nav-link:hover {
    color: var(--theme-fg-strong, #ffffff);
    background-color: rgba(255, 255, 255, 0.05);
}

.bubble-nav-link.is-active {
    color: var(--theme-primary);
    background-color: rgba(255, 255, 255, 0.05);
}

.bubble-nav-link .nav-icon {
    transition: color 0.2s ease, text-shadow 0.2s ease;
    font-size: 1.066rem;
}

.bubble-nav-link:hover .nav-icon,
.bubble-nav-link.is-active .nav-icon {
    color: var(--theme-primary);
    text-shadow: 0 0 10px rgba(var(--theme-primary-rgb), calc(0.8 * var(--glow-intensity, 1)));
}

.bubble-nav-label {
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.025em;
}

.bubble-user-avatar {
    background-color: var(--theme-primary);
    color: var(--theme-on-primary);
    box-shadow: 0 0 15px rgba(var(--theme-primary-rgb), calc(0.4 * var(--glow-intensity, 1)));
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.bubble-user-tier {
    color: var(--theme-primary);
    font-size: 0.533rem;
    font-weight: 700;
    letter-spacing: 0.025em;
}

#shell-user-card {
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--theme-box-radius, 1.375rem);
    padding: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--theme-menu-bg, rgba(68, 68, 68, 0.4));
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    margin: 0.25rem 0.5rem 0.5rem;
}

#shell-user-name {
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    line-height: 1.25;
}

/* ── Footer ── */
#spa-shell-footer,
footer.learn-site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    position: relative;
    z-index: 20;
    flex-shrink: 0;
    background: transparent !important;
    width: 100%;
    box-sizing: border-box;
}

.footer-nav-links,
.footer-nav-links a,
.footer-nav-links button,
.footer-nav-links span {
    color: #7c8591;
}

.footer-nav-weight {
    font-weight: 700 !important;
}

.footer-nav-weight .footer-pill,
.footer-nav-weight .footer-pill * {
    font-weight: 400 !important;
}

.footer-nav-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-family: var(--learn-font);
    font-size: 0.48rem;
}

.footer-nav-links a {
    text-decoration: none;
}

.footer-nav-links a:hover {
    color: var(--theme-primary, #ffffff);
}

.footer-socials {
    display: contents;
}

.footer-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    line-height: 0;
    font: inherit;
}

.footer-social-btn:hover {
    color: var(--theme-primary, #ffffff);
}

.footer-social-icon {
    width: 0.62rem;
    height: 0.62rem;
    display: block;
    flex-shrink: 0;
}

.footer-mute-btn {
    color: #7c8591 !important;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
}

.footer-right {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.footer-theme-row {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.48rem;
    color: #7c8591 !important;
    font-family: var(--learn-font);
    font-weight: 700;
}

.footer-pill {
    background: var(--theme-menu-bg, rgba(68, 68, 68, 0.4));
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0 0.375rem;
    border-radius: 9999px;
    font-size: 0.426rem;
    line-height: 1rem;
    color: #94a3b8;
    cursor: pointer;
    font-family: inherit;
}

/* ── Home (outside SPA) ── */
.home-hero {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.5rem 4rem;
    position: relative;
    z-index: 1;
    min-height: 0;
    width: 100%;
    box-sizing: border-box;
}

.home-hero-title {
    font-family: var(--learn-font);
    font-size: clamp(2.25rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: var(--theme-fg-strong);
    margin: 0 0 1.75rem;
    opacity: 0;
    transform: translateY(14px);
    animation: home-fade-in 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.home-hero-cta {
    opacity: 0;
    transform: translateY(10px);
    animation: home-fade-in 1s cubic-bezier(0.16, 1, 0.3, 1) 0.55s forwards;
}

.btn-get-started {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    border-radius: var(--theme-box-radius);
    background: var(--theme-primary);
    color: var(--theme-on-primary);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.btn-get-started:hover {
    background: var(--theme-primary-hover);
    transform: translateY(-1px);
}

@keyframes home-fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.spa-dashboard-empty {
    flex: 1;
    min-height: 0;
}

#menu-unread-dot {
    display: none !important;
}

/* Header account fallback */
/* Header account uses shared .player-level-avatar — keep a tiny fallback if JS is late */
#header-account-btn .header-account-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    overflow: hidden;
    background: rgba(26, 29, 35, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
#header-account-btn .header-account-pla {
    pointer-events: none;
}

/* ── Player level avatar (photo + XP ring + level badge) ── */
.player-level-avatar {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    vertical-align: middle;
    color: var(--theme-text, #cbd5e1);
    --pla-size: 2.75rem;
    --pla-photo: 72.7%;
    --pla-stroke: 2.5;
    --pla-badge-min: 1.1rem;
    --pla-badge-h: 1.1rem;
    --pla-badge-px: 0.25rem;
    --pla-badge-font: 0.48rem;
    --pla-initial-font: 0.75rem;
    --pla-bot-font: 1.1rem;
    width: var(--pla-size);
    height: var(--pla-size);
}

.player-level-avatar--xs {
    --pla-size: 1.75rem;
    --pla-stroke: 3;
    --pla-badge-min: 0.85rem;
    --pla-badge-h: 0.85rem;
    --pla-badge-px: 0.15rem;
    --pla-badge-font: 0.373rem;
    --pla-initial-font: 0.55rem;
    --pla-bot-font: 0.7rem;
}

.player-level-avatar--sm {
    --pla-size: 2.25rem;
    --pla-stroke: 2.75;
    --pla-badge-min: 0.95rem;
    --pla-badge-h: 0.95rem;
    --pla-badge-px: 0.2rem;
    --pla-badge-font: 0.426rem;
    --pla-initial-font: 0.65rem;
    --pla-bot-font: 0.9rem;
}

.player-level-avatar--md {
    --pla-size: 2.75rem;
}

.player-level-avatar--lg {
    --pla-size: 3.5rem;
    --pla-badge-min: 1.25rem;
    --pla-badge-h: 1.25rem;
    --pla-badge-px: 0.3rem;
    --pla-badge-font: 0.533rem;
    --pla-initial-font: 0.95rem;
    --pla-bot-font: 1.35rem;
}

.player-level-avatar--xl {
    --pla-size: 4rem;
    --pla-badge-min: 1.35rem;
    --pla-badge-h: 1.35rem;
    --pla-badge-px: 0.35rem;
    --pla-badge-font: 0.586rem;
    --pla-initial-font: 1.05rem;
    --pla-bot-font: 1.5rem;
}

.player-level-avatar--host {
    --pla-size: 8rem;
    --pla-photo: 78%;
    --pla-stroke: 1.6;
    --pla-badge-min: 1.75rem;
    --pla-badge-h: 1.75rem;
    --pla-badge-px: 0.5rem;
    --pla-badge-font: 0.746rem;
    --pla-initial-font: 2rem;
    --pla-bot-font: 2.5rem;
}

@media (min-width: 768px) {
    .player-level-avatar--host {
        --pla-size: 8.5rem;
    }
}

.player-level-avatar__ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    pointer-events: none;
}

.player-level-avatar__track {
    stroke: var(--theme-ring-track, rgba(255, 255, 255, 0.12));
    stroke-width: var(--pla-stroke);
    transition: opacity 0.3s ease, stroke 0.5s ease;
}

.player-level-avatar__progress {
    stroke: rgb(var(--theme-primary-rgb, 255, 255, 255));
    stroke-width: var(--pla-stroke);
    transition: stroke-dashoffset 0.7s ease-out, opacity 0.3s ease, stroke 0.5s ease;
}

.player-level-avatar__photo {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--pla-photo);
    height: var(--pla-photo);
    border-radius: 9999px;
    overflow: hidden;
    background: rgba(26, 29, 35, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.player-level-avatar__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.player-level-avatar__initial {
    font-weight: 900;
    font-size: var(--pla-initial-font);
    line-height: 1;
    color: rgb(var(--theme-primary-rgb, 0, 208, 255));
    font-family: Inter, sans-serif;
}

.player-level-avatar__bot {
    font-size: var(--pla-bot-font) !important;
    line-height: 1;
    color: rgb(var(--theme-primary-rgb, 0, 208, 255));
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.player-level-avatar__level {
    position: absolute;
    bottom: -0.15rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    min-width: var(--pla-badge-min);
    height: var(--pla-badge-h);
    padding: 0 var(--pla-badge-px);
    border-radius: 9999px;
    background: rgb(var(--theme-primary-rgb, 255, 255, 255));
    color: var(--theme-on-primary, #0e1013);
    font-size: var(--pla-badge-font);
    font-weight: 900;
    line-height: var(--pla-badge-h);
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    pointer-events: none;
    font-family: Inter, sans-serif;
}

.player-level-avatar.is-dimmed {
    opacity: 0.9;
}

.player-level-avatar--clickable {
    cursor: pointer;
}

.player-level-avatar--clickable:hover .player-level-avatar__photo {
    border-color: rgba(var(--theme-primary-rgb, 0, 208, 255), 0.45);
}

.player-level-avatar--clickable:focus-visible {
    outline: 2px solid rgb(var(--theme-primary-rgb, 0, 208, 255));
    outline-offset: 2px;
    border-radius: 9999px;
}

.home-hero-title {
    font-family: var(--learn-font);
}

.btn-get-started {
    font-family: var(--learn-font);
}

/* Selected typing font — used by lesson UI later; preview via data attribute */
[data-learn-font] .learn-font-sample {
    font-family: var(--learn-font, 'Cutive Mono', monospace);
}

html.theme-animating,
html.theme-animating body,
html.theme-animating #app-backdrop,
html.theme-animating .glass-panel,
html.theme-animating .header-typ-layer,
html.theme-animating .header-user-layer,
html.theme-animating .header-learn-layer {
    transition: background-color 500ms ease, color 500ms ease, border-color 500ms ease, fill 500ms ease, stroke 500ms ease, box-shadow 500ms ease, filter 500ms ease !important;
}

