.tf-logo-anim-host {
    position: absolute;
    inset: 0;
    z-index: 12;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    pointer-events: none;
    overflow: hidden;
}

.tf-logo-anim-host svg.tf-logo-draw {
    width: 100%;
    height: 100%;
    max-height: 100%;
    display: block;
}

.tf-logo-anim-host--splash {
    position: relative;
    inset: auto;
    width: 100%;
    height: 100%;
    min-height: 0;
}

.tf-logo-anim--compact .draw {
    animation-duration: 0.52s !important;
}

.tf-logo-anim--compact .draw.slow {
    animation-duration: 0.84s !important;
}

.tf-logo-anim--compact .fade {
    animation-duration: 0.38s !important;
}

.tf-logo-anim--compact .glyph {
    animation-duration: 0.5s !important;
}

.tf-logo-anim--compact .pop {
    animation-duration: 0.3s !important;
}

.tf-logo-anim--compact .bar {
    animation-duration: 0.16s, 0.6s !important;
}

.tf-logo-anim--compact .pulse {
    animation-duration: 1.4s !important;
}

body.home-splash-pending {
    background: #fff;
    overflow: hidden;
}

body.home-splash-pending .zhdk-skip,
body.home-splash-pending .zhdk-masthead,
body.home-splash-pending #main,
body.home-splash-pending .header,
body.home-splash-pending #p5-background,
body.home-splash-pending #readability-scrim,
body.home-splash-pending .ns-cursor-host {
    visibility: hidden;
}

.tf-logo-anim-host.is-settled #guides,
.tf-logo-anim-host.is-settled #bus,
.tf-logo-anim-host.is-settled #inner,
.tf-logo-anim-host.is-settled #bars,
.tf-logo-anim-host.is-settled #wave,
.tf-logo-anim-host.is-settled #nodes,
.tf-logo-anim-host.is-settled .pulse {
    opacity: 0;
    transition: opacity 0.35s ease;
}

.tf-logo-anim-host.is-settled #glyphs {
    opacity: 1;
}

.tf-splash .tf-splash__logo-wrap--svg {
    --tf-logo-h: clamp(132px, 48vw, 280px);
    position: relative;
    display: block;
    height: var(--tf-logo-h);
    width: min(96vw, calc(var(--tf-logo-h) * (1200 / 580)));
}

.tf-splash .tf-splash__logo-wrap--svg .tf-logo-anim-host {
    position: relative;
    inset: auto;
    width: 100%;
    height: var(--tf-logo-h);
    background: transparent;
}

.tf-splash .tf-splash__logo-wrap--svg .tf-logo-anim-host svg.tf-logo-draw {
    width: 100%;
    height: auto;
    max-height: var(--tf-logo-h);
}

body.solar-stage-logo-active .solar-system-3d,
body.solar-stage-logo-active .solar-venus-flower,
body.solar-stage-logo-active .solar-pause {
    visibility: hidden;
}

body.solar-stage-logo-active .solar-stage-wrap {
    background: #fff;
}

@media (prefers-reduced-motion: reduce) {
    .tf-logo-anim-host {
        display: none !important;
    }
}