/* MIRAD V2 cover picker - scoped overlay styles. */
[role="presentation"]:has(> [role="dialog"][aria-label="Выбор обложки из Медиацентра"]) {
 position: fixed !important;
 inset: 0 !important;
 z-index: 2147483000 !important;
}
[role="presentation"] > [role="dialog"][aria-label="Выбор обложки из Медиацентра"] {
 box-sizing: border-box !important;
 max-height: 90dvh !important;
}

/* Keep the media-center dialog at editorial width on all breakpoints. */
[role="presentation"] > [role="dialog"][aria-label="Выбор обложки из Медиацентра"] {
 width: min(56rem, calc(100vw - 1.5rem)) !important;
 max-width: 56rem !important;
 margin-inline: auto !important;
}
