.love-mi-boot-screen {
    --love-mi-boot-height: var(--lovemi-ios-fs-height, var(--lovemi-layout-height, var(--lovemi-app-height, 100vh)));
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    height: var(--love-mi-boot-height);
    overflow: hidden;
    isolation: isolate;
    background: #edf3f6 linear-gradient(180deg, #edf3f6 0%, #f9fbfc 39%, #f6f9fa 71%, #e9f0f4 100%);
    color: #253c4a;
    transition: opacity 180ms ease, visibility 180ms ease;
}

html.lovemi-booting #app {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.love-mi-boot-art {
    position: absolute;
    inset: 0;
    width: min(100%, calc(var(--love-mi-boot-height) * .5));
    margin-inline: auto;
    pointer-events: none;
    user-select: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
}

.love-mi-boot-art > :is(img, video, canvas) {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.love-mi-boot-art > :is(video, canvas) {
    opacity: 0;
}

.love-mi-boot-screen[data-boot-visual="video"] .love-mi-boot-video,
.love-mi-boot-screen[data-boot-visual="canvas"] .love-mi-boot-canvas {
    opacity: 1;
}

.love-mi-boot-skip {
    position: absolute;
    z-index: 1;
    right: max(18px, calc(env(safe-area-inset-right, 0px) + 12px));
    bottom: max(18px, calc(env(safe-area-inset-bottom, 0px) + 12px));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 80px;
    min-height: 46px;
    padding: 0 7px;
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    border-radius: 3px;
    box-shadow: none;
    background: transparent;
    color: #4a6475;
    font: italic 19px / 1 Georgia, "Times New Roman", serif;
    letter-spacing: .02em;
    white-space: nowrap;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.love-mi-boot-skip[hidden] {
    display: none;
}

.love-mi-boot-paw {
    width: 27px;
    height: 27px;
    flex: none;
    transform: rotate(-9deg);
}

@media (hover: hover) {
    .love-mi-boot-skip:hover {
        color: #29485c;
    }
}

.love-mi-boot-skip:active {
    color: #233e50;
}

.love-mi-boot-skip:focus-visible {
    outline: 2px solid #456d80;
    outline-offset: 3px;
}

.love-mi-boot-screen--hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .love-mi-boot-screen {
        transition: none;
    }
}
