.game-empty {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 14px;
    min-height: 360px;
    border: 1px dashed rgba(0, 0, 0, .12);
}

.game-empty i {
    font-size: 2rem;
    color: var(--bg-color);
}

.scratch-board > img,
.scratch-board > svg,
.scratch-board > svg * {
    pointer-events: none !important;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.scratch-board > img {
    position: absolute;
    top: 0;
    left: 0;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    z-index: 0;
}

.scratch-board > svg {
    position: absolute;
    top: 0;
    left: 0;
    inset: 0;
    display: block;
    height: 100% !important;
    width: 100% !important;
    z-index: 1;
}

.scratch-board .slot-layer {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    border-radius: 6px;
}

.scratch-board .result-slot {
    z-index: 2;
    opacity: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    pointer-events: none;
    transition: opacity .2s ease;
}

.scratch-board .result-slot.is-visible {
    opacity: 1;
}

.scratch-board .scratch-slot {
    pointer-events: auto;
    z-index: 3;
    touch-action: none;
    -webkit-user-select: none;
}

.scratch-board .scratch-layer {
    background: transparent;
    pointer-events: auto;
    touch-action: none;
    -webkit-user-select: none;
}

.scratch-board.is-completed .scratch-slot {
    pointer-events: none;
}

.scratch-board .scratch-layer {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    cursor: grab;
}

.scratch-board .scratch-slot.is-revealed .scratch-layer {
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

@media (max-width: 767px) {
    .game-empty {
        min-height: 280px;
    }
}
