.anti-cheat-status {
    min-height: 1.25rem;
    color: #b42318;
    font-weight: 700;
    text-align: center;
}

.wafel.is-locked {
    cursor: not-allowed;
    filter: grayscale(1);
    opacity: 0.65;
}

.body {
    min-height: 100vh;
    margin: 0;
    padding: 32px 20px;
    box-sizing: border-box;
    background: linear-gradient(135deg, #888884, #c8b27d);
    color: #2f241b;
    font-family: Georgia, 'Times New Roman', serif;
    text-align: center;
}

.game-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 42px;
    max-width: 850px;
    margin: 0 auto;
}

.wafel-box {
    --wafel-size: min(136px, 34vw);
    position: relative;
    width: min(360px, 82vw);
    height: min(360px, 82vw);
    border: 8px solid #f4d58b;
    border-radius: 18px;
    overflow: hidden;
    background: rgb(255 248 226 / 35%);
}

.wafel {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--wafel-size);
    height: var(--wafel-size);
    box-sizing: border-box;
    border: 8px solid #f4d58b;
    border-radius: 18px;
    cursor: pointer;
    transition: top 1800ms ease-in-out, left 1800ms ease-in-out, transform 150ms ease;
}

.wafel-score {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
}

.wafel:hover {
    transform: scale(1.03);
    border-color: #e6b543;
}

.wafel:active {
    transform: scale(.97);
    border-color: #da9f16;
}

.game-panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    min-width: 190px;
}

.reward-roll {
    position: fixed;
    inset: 0;
    z-index: 10;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgb(47 36 27 / 72%);
}

.reward-roll.is-visible {
    display: flex;
    animation: roll-pop-in 180ms ease-out;
}

.reward-roll-box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    width: min(90vw, 460px);
    padding: 42px 30px 30px;
    border: 8px solid #f4d58b;
    border-radius: 18px;
    background: #fff8e2;
    box-shadow: 0 18px 40px rgb(0 0 0 / 35%);
}

.roll-close {
    position: absolute;
    top: 8px;
    right: 10px;
    padding: 0 8px;
    border: 0;
    background: transparent;
    font-size: 2rem;
    line-height: 1;
}

.roll-close:hover {
    background: transparent;
    transform: none;
}

.roll-wheel {
    width: min(65vw, 300px);
    height: min(65vw, 300px);
    position: relative;
    border: 8px solid #fff8e2;
    border-radius: 50%;
    background: conic-gradient(#c93535 0deg 180deg, #2d9b58 180deg 360deg);
    box-shadow: 0 6px 12px rgb(47 36 27 / 22%);
    transform: rotate(0deg);
}

.roll-wheel.is-spinning {
    transition: transform 2800ms cubic-bezier(.12, .8, .18, 1);
}

.roll-pointer {
    position: absolute;
    top: 35px;
    z-index: 1;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 22px solid #2f241b;
}

.roll-label {
    position: absolute;
    top: 64px;
    color: #fff8e2;
    font-weight: bold;
    font-size: .8rem;
    text-shadow: 1px 1px 2px rgb(47 36 27 / 55%);
}

.roll-label-red {
    right: 5px;
}

.roll-label-green {
    left: 10px;
}

.reward-roll p {
    margin: 0;
    min-height: 1.2em;
    font-size: 1.25rem;
    font-weight: bold;
}

@keyframes roll-pop-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.counter {
    padding: 12px 20px;
    border-radius: 12px;
    background: rgb(255 248 226 / 80%);
    box-shadow: 0 6px 12px rgb(47 36 27 / 18%);
}

.counter p {
    margin: 0;
    font-size: 1.25rem;
    font-weight: bold;
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.result {
    padding: 12px 20px;
    height: 500px;
    width: 150%;
    border-radius: 12px;
    background: rgb(255 248 226 / 80%);
    overflow-y: scroll;

}

button {
    padding: 12px 18px;
    border: 2px solid #6f4b2a;
    border-radius: 8px;
    background-color: #fff8e2;
    color: #2f241b;
    font: inherit;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 150ms ease, transform 150ms ease;
}

button:hover {
    background-color: #f4d58b;
    transform: translateX(3px);
}

button:disabled {
    cursor: wait;
    opacity: .65;
}

@keyframes rgb {
    12.5% {
        background-color: rgb(255, 0, 0);
        border-color: rgb(255, 0, 191);
    }

    25% {
        background-color: rgb(255, 153, 0);
        border-color: rgb(153, 0, 255);
    }

    37.5% {
        background-color: rgb(251, 255, 0);
        border-color: rgb(0, 4, 255);
    }

    50% {
        background-color: rgb(0, 255, 13);
        border-color: rgb(0, 255, 221);
    }

    62.5% {
        background-color: rgb(0, 255, 221);
        border-color: rgb(0, 255, 13);
    }

    75% {
        background-color: rgb(0, 4, 255);
        border-color: rgb(251, 255, 0);
    }

    87.5% {
        background-color: rgb(153, 0, 255);
        border-color: rgb(255, 153, 0);
    }

    100% {
        background-color: rgb(255, 0, 191);
        border-color: (255, 0, 0);
    }
}

.RGBbutton {
    animation-name: rgb;
    animation-duration: 2s;
    border: solid 5px;
    animation-iteration-count: infinite;
}