.wheel-modal {
    display: flex;
    justify-content: center;

    h2.title {
        position: absolute;
        z-index: 1;
        font-size: 3vw;
    }

    .rotate {
        animation: spinner 20s linear infinite !important;
    }
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

.wheel-container {
    all: unset;
    aspect-ratio: 1 / 1;
    container-type: inline-size;
    direction: ltr;
    display: grid;
    position: relative;
    width: 80%;
    contain: layout paint;

    filter: drop-shadow(0 0 0.75vw crimson);

    & > * { position: absolute; }

    button {
        display: flex;
        justify-content: center;
        align-items: center;

        aspect-ratio: 1 / 1;
        background: hsla(0, 0%, 100%, .8);
        border: 0;
        border-radius: 50%;
        cursor: pointer;
        font-size: 1vw;
        place-self: center;
        width: 20cqi;
    }

    ul {
        all: unset;
        clip-path: inset(0 0 0 0 round 50%);
        display: grid;
        inset: 0;
        place-content: center start;

        li {
            font-family: "Dela Gothic One", serif;
            color: white;
            text-shadow:
                    3px 3px 0 #000,
                    -1px -1px 0 #000,
                    1px -1px 0 #000,
                    -1px 1px 0 #000,
                    1px 1px 0 #000;

            align-content: center;
            clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
            display: grid;
            font-size: 5cqi;
            grid-area: 1 / -1;
            transform-origin: center right;
            user-select: none;
            width: 50cqi;

            div {
                position: absolute;
                width: 100%;
                height: 100%;
            }

            span {
                position: absolute;
                top: 30%;
            }
        }

        li.unactive {
            filter: grayscale(100%);
        }
    }

    .wheel-triangle-container {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .wheel-triangle {
        position: absolute;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 3vw 2vw 0 2vw;
        border-color: #FF4532 transparent transparent transparent;
        transform: rotate(0deg);
    }
}

* { box-sizing: border-box; }
