html.world-selector-active {
    overflow: hidden;
}

.world-selector {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: var(--black);
    color: var(--paper);
    transform: translateY(0);
    transition: transform 820ms var(--ease);
}

.world-selector::backdrop {
    background: var(--black);
}

.world-selector.is-leaving {
    transform: translateY(-100%);
}

.world-selector-shell {
    position: relative;
    width: 100%;
    height: 100%;
    isolation: isolate;
}

.world-selector-choices {
    position: absolute;
    inset: 0;
}

.world-choice {
    position: absolute;
    inset: 0;
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    overflow: hidden;
    padding: 0;
    border: 0;
    background: var(--ink);
    color: var(--paper);
    cursor: pointer;
    isolation: isolate;
    text-align: center;
}

.world-choice-events {
    z-index: 1;
    clip-path: polygon(0 0, 60.2% 0, 40.2% 100%, 0 100%);
}

.world-choice-interiors {
    z-index: 2;
    clip-path: polygon(59.8% 0, 100% 0, 100% 100%, 39.8% 100%);
}

.world-choice:focus-visible {
    outline: 3px solid var(--lime);
    outline-offset: -8px;
}

.world-choice img,
.world-choice-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.world-choice img {
    z-index: -2;
    object-fit: cover;
    transition: transform 1000ms var(--ease), filter 600ms ease;
}

.world-choice-shade {
    z-index: -1;
    background: linear-gradient(180deg, #080a0826, #080a084d);
    transition: background-color 350ms ease;
}

.world-choice:hover img,
.world-choice:focus-visible img {
    transform: scale(1.035);
    filter: saturate(1.08) brightness(1.06);
}

.world-choice-title {
    position: absolute;
    top: 50%;
    left: 25%;
    z-index: 1;
    font: clamp(21.28px, 5.6vw, 84px)/.9 var(--display);
    letter-spacing: -.045em;
    text-transform: uppercase;
    text-shadow: 0 3px 28px #0008;
    transform: translate(-50%, -50%);
    transition: color 250ms ease, letter-spacing 350ms var(--ease);
}

.world-choice-interiors .world-choice-title {
    left: 75%;
}

.world-choice:hover .world-choice-title,
.world-choice:focus-visible .world-choice-title {
    color: var(--lime);
    letter-spacing: -.025em;
}

.world-selector-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    display: block;
    width: clamp(83.2px, 10.4vw, 145.6px);
    height: auto;
    pointer-events: none;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 3px 16px #0009);
}

@media (prefers-reduced-motion: reduce) {
    .world-selector,
    .world-choice img,
    .world-choice-title {
        animation-duration: .01ms;
        transition-duration: .01ms;
    }
}
