.rush2-stage {
    padding-bottom: 8px;
}

.stage-actions {
    display: flex;
    justify-content: center;
    padding: 0 14px 14px;
}

.stage-actions button {
    width: min(100%, 260px);
}

.overlay-score-form {
    display: grid;
    gap: 8px;
    margin: 14px 0 12px;
}

.overlay-score-form[hidden] {
    display: none;
}

.overlay-score-form label {
    color: var(--muted);
    font-size: 13px;
}

.overlay-score-form #saveMessage {
    margin: 0;
}

.phase-flash {
    position: absolute;
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    padding: 10px 14px;
    border: 1px solid var(--amber);
    background: rgba(16, 19, 24, .86);
    color: var(--amber);
    text-align: center;
    font-weight: 800;
    pointer-events: none;
}

.phase-flash[hidden] {
    display: none;
}

.game-panel:fullscreen {
    width: 100vw;
    height: 100vh;
    grid-template-rows: auto minmax(0, 1fr) auto;
    background:
        radial-gradient(circle at 20% 15%, rgba(83, 216, 251, .18), transparent 28rem),
        linear-gradient(135deg, #101318 0%, #17181e 48%, #151d1b 100%);
}

.game-panel:fullscreen .stage-wrap {
    min-height: 0;
}

.game-panel:fullscreen canvas {
    width: min(100%, calc((100vh - 154px) * 1.777));
    max-height: calc(100vh - 168px);
}
