.mobile-game-summary {
    appearance: none;
    color: var(--bs-body-color);
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
}

.mobile-game-summaries {
    padding: .75rem .75rem 0;
}

.mobile-game-summary:active {
    background: var(--bs-tertiary-bg);
}

.mobile-game-details-modal {
    z-index: 1060;
}

.mobile-game-details-modal + .modal-backdrop {
    z-index: 1055;
}

.mobile-game-details-modal .mobile-number-board {
    display: grid;
}

@media (max-width: 991.98px) {
    .live-room .desktop-number-board,
    .live-room .desktop-number-board-panel,
    .live-room .desktop-prize-panel {
        display: none !important;
    }

    .mobile-game-details-modal .number-board {
        grid-template-columns: repeat(10, minmax(0, 1fr));
        gap: .25rem;
    }

    .mobile-game-details-modal .number-cell {
        min-width: 0;
        font-size: .75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-game-summary {
        transition: none;
    }
}
.mobile-game-details-modal .modal-dialog {
    width: auto;
    max-width: 36rem;
    margin: 1rem auto;
    padding-inline: .5rem;
}

.mobile-game-details-modal .modal-content {
    max-height: calc(100dvh - 2rem);
}

@media (max-width: 575.98px) {
    .mobile-game-details-modal .modal-dialog {
        margin: .75rem auto;
    }

    .mobile-game-details-modal .modal-content {
        max-height: calc(100dvh - 1.5rem);
        border-radius: var(--tambola-radius-lg);
    }
}
