.touch-controls {
    display: none;
    align-self: end;
    justify-content: space-between;
    padding: 12px;
}

.touch-group {
    display: flex;
    gap: 12px;
}

.touch-button {
    width: 64px;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 50%;
    background-color: var(--color-touch);
    cursor: pointer;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.touch-button img {
    width: 36px;
    height: 36px;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.rotate-hint {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border-radius: var(--radius);
    background-color: var(--color-overlay);
    font-size: 28px;
    text-align: center;
}

.rotate-hint img {
    width: 96px;
    height: 96px;
}

@media screen and (max-width: 1024px), (hover: none) {
    .touch-controls {
        display: flex;
    }
}

@media screen and (orientation: portrait) and (max-width: 1024px) {
    .rotate-hint {
        display: flex;
    }

    .game {
        display: none;
    }
}

@media screen and (max-height: 420px) {
    .touch-button {
        width: 56px;
        height: 56px;
    }
}
