* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    background: #030303;
    color: #fff;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    font-family: "Bahnschrift", "Aptos Display", "Trebuchet MS", sans-serif;
}

.stage {
    position: fixed;
    inset: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 16% 14%, rgba(104, 211, 215, .18), transparent 34rem),
        radial-gradient(circle at 82% 74%, rgba(255, 196, 107, .12), transparent 32rem),
        linear-gradient(145deg, #020708, #071315 54%, #0d2226);
}

.stage::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .026) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .026) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, .75), transparent 78%);
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1);
    transition: opacity 520ms ease, transform 1600ms ease;
}

.slide.visible {
    opacity: 1;
}

.slide.cut {
    transition: none;
}

.slide.zoom.visible {
    transform: scale(1.035);
}

.slide-bg,
.slide-main {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.slide-bg {
    object-fit: cover;
    filter: blur(38px) brightness(.42) saturate(1.22);
    transform: scale(1.22);
}

.slide-main {
    object-fit: contain;
    object-position: center center;
    z-index: 2;
}

.status {
    position: fixed;
    left: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    z-index: 10;
    max-width: calc(100% - 28px);
    padding: 8px 12px;
    border-radius: 999px;
    color: rgba(242, 255, 252, .92);
    background: rgba(6, 17, 19, .58);
    border: 1px solid rgba(104, 211, 215, .2);
    backdrop-filter: blur(10px);
    box-shadow: 0 14px 38px rgba(0, 0, 0, .24);
    font-size: 12px;
}

.status.hidden {
    display: none;
}

.empty {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    text-align: center;
    color: #fff;
    z-index: 3;
}

.empty.hidden {
    display: none;
}

.empty-card {
    width: min(560px, 100%);
    border: 1px solid rgba(104, 211, 215, .22);
    border-radius: 26px;
    padding: 28px;
    background:
        radial-gradient(circle at 12% 8%, rgba(104, 211, 215, .18), transparent 15rem),
        linear-gradient(145deg, rgba(6, 17, 19, .8), rgba(17, 48, 53, .72));
    box-shadow: 0 24px 90px rgba(0, 0, 0, .38);
    backdrop-filter: blur(14px);
}

.empty-card h1 {
    margin: 0 0 10px;
    font-size: clamp(2rem, 7vw, 4.8rem);
    letter-spacing: -.06em;
    color: #adfff4;
}
