.intro {
    display: none;
}

.intro-pending .intro {
    position: fixed;
    inset: 0;
    z-index: var(--tk-intro-z);
    display: block;
    animation: intro-failsafe 1ms linear var(--tk-intro-failsafe) forwards;
}

.intro-running .intro {
    animation: none;
}

.intro-backdrop {
    position: absolute;
    inset: 0;
    background-color: var(--tk-color-bg);
    background-image: var(--tk-gradient-page);
    background-repeat: no-repeat;
}

.intro-stage {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}

.intro-frame {
    width: var(--tk-intro-size);
    aspect-ratio: 1;
}

.intro-logo {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    opacity: 0;
}

.intro-running .intro-logo {
    opacity: 1;
}

@keyframes intro-failsafe {
    from,
    to {
        visibility: hidden;
        opacity: 0;
    }
}
