/* Keep the legacy camera controls usable alongside Bootstrap's justified groups. */
@media (max-width: 767px) {
    .webcambtn.btn-group.btn-group-justified {
        display: flex !important;
        flex-wrap: wrap;
        gap: 4px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .webcambtn.btn-group.btn-group-justified > .btn {
        flex: 1 1 60px;
        float: none;
        width: auto !important;
        min-width: 0;
        min-height: 44px;
        margin-left: 0;
        padding-left: 6px;
        padding-right: 6px;
        white-space: normal;
        overflow-wrap: break-word;
    }

    /* Empty table-cell spacers must not consume mobile button space. */
    .webcambtn.btn-group.btn-group-justified > i,
    .webcambtn.btn-group.btn-group-justified::before,
    .webcambtn.btn-group.btn-group-justified::after {
        display: none !important;
    }
}
