/* TavernWall v6.3.3 Game Play Layout Fix */

.compact-game-header {
    padding: 12px 14px !important;
    margin-bottom: 10px !important;
}

.compact-game-header .card-title {
    font-size: 26px !important;
    margin-bottom: 2px !important;
}

.compact-game-header .muted {
    margin: 0 !important;
}

.game-frame-card-wide {
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 18px !important;
}

.game-frame-wide {
    display: block;
    width: 100%;
    height: calc(100vh - 235px);
    min-height: 720px;
    border: 0;
    background: #0b0705;
}

.game-leaderboard-below {
    margin-top: 12px;
}

.game-leaderboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 8px;
}

@media (max-width: 900px) {
    .game-frame-wide {
        height: 82vh;
        min-height: 760px;
    }
}

@media (max-width: 620px) {
    .compact-game-header .action-row {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }

    .game-frame-wide {
        height: 86vh;
        min-height: 780px;
    }
}
