.mcg-gallery {
    --mcg-accent: #235a63;
    --mcg-border: #c8d5d7;
    box-sizing: border-box;
    margin: 1.5rem 0;
    padding: clamp(16px, 3vw, 28px);
    color: #172e33;
    background: #f6f9f9;
    border: 1px solid var(--mcg-border);
    border-radius: 16px;
    font-family: inherit;
}
.mcg-gallery [hidden] { display: none !important; }
.mcg-gallery .mcg-heading { margin: 0 0 1rem; font-size: 1.25rem; font-weight: 650; line-height: 1.35; }
.mcg-gallery .mcg-controls { display: flex; flex-wrap: wrap; gap: 8px; }
.mcg-gallery .mcg-choice, .mcg-gallery .mcg-stop {
    appearance: none;
    box-sizing: border-box;
    min-height: 44px;
    margin: 0;
    padding: 9px 16px;
    border: 1px solid var(--mcg-border);
    border-radius: 8px;
    background: #fff;
    color: #172e33;
    box-shadow: none;
    font: inherit;
    line-height: 1.4;
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
}
.mcg-gallery .mcg-choice:hover, .mcg-gallery .mcg-stop:hover { border-color: var(--mcg-accent); background: #edf3f3; }
.mcg-gallery .mcg-choice[aria-pressed="true"] { background: var(--mcg-accent); color: #fff; border-color: var(--mcg-accent); }
.mcg-gallery button:focus-visible, .mcg-gallery a:focus-visible { outline: 3px solid #167589; outline-offset: 3px; }
.mcg-gallery .mcg-description { margin: 16px 0 0; white-space: pre-line; }
.mcg-gallery .mcg-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 16px; }
.mcg-gallery .mcg-toolbar a { color: #235a63; text-decoration: underline; }
.mcg-gallery .mcg-stop { font-size: .875rem; }
.mcg-gallery .mcg-status { margin: 16px 0 0; font-size: .875rem; line-height: 1.5; color: #435e63; }
.mcg-gallery .mcg-stage { margin-top: 16px; width: 100%; }
.mcg-gallery .mcg-stage:empty { display: none; }
.mcg-gallery .mcg-frame { display: block; box-sizing: border-box; width: 100%; max-width: 100%; border: 0; border-radius: 8px; background: #fff; }
@media (max-width: 480px) {
    .mcg-gallery { border-radius: 10px; padding: 12px; }
    .mcg-gallery .mcg-choice { flex: 1 1 auto; }
}
