.mga-shell {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px;
    background: #f6f4ef;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .14);
}

.mga-shell:fullscreen {
    width: 100vw;
    height: 100vh;
    max-width: none;
    border-radius: 0;
    background: #f6f4ef;
}

.mga-toolbar {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 8px;
    background: #243447;
}

.mga-fullscreen {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    cursor: pointer;
    font: 700 .9rem/1.2 system-ui, -apple-system, "Segoe UI", sans-serif;
    padding: 8px 14px;
}

.mga-fullscreen:hover,
.mga-fullscreen:focus-visible {
    background: rgba(255, 255, 255, .22);
}

.mga-frame {
    display: block;
    width: 100%;
    height: var(--mga-height, 900px);
    border: 0;
    background: #f6f4ef;
}

.mga-shell:fullscreen .mga-frame {
    height: calc(100vh - 50px);
}

@media (max-width: 700px) {
    .mga-shell {
        max-width: none;
        border-radius: 0;
        box-shadow: none;
    }

    .mga-frame {
        height: 92vh;
    }
}
