#site-media-dialog { width: min(900px, calc(100% - 40px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; overflow: auto; border: 0; border-radius: 14px; background: #f8f7f3; color: #293b32; box-shadow: 0 24px 90px #14232655; font-family: Arial, Helvetica, sans-serif; }
#site-media-dialog::backdrop { background: #152a31b8; }
.site-media-header { display: flex; align-items: center; gap: 16px; padding: 14px 18px; }
.site-media-header h2 { flex: 1; margin: 0; font-size: 18px; font-weight: 600; line-height: 1.3; }
#site-media-close { flex: none; width: 44px; height: 44px; border: 0; border-radius: 8px; background: #e9e8e1; color: #293b32; font-size: 28px; line-height: 1; cursor: pointer; }
#site-media-dialog :focus-visible { outline: 2px solid #177c76; outline-offset: 3px; }
#site-media-content { background: #111; }
#site-media-content iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
html[data-mobile-device="true"] #site-media-dialog { width: min(900px, calc(100% - 20px)); border-radius: 12px; }html[data-mobile-device="true"] .site-media-header { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 10px; padding: 8px 12px; }html[data-mobile-device="true"] .site-media-header h2 { grid-column: 1; grid-row: 1; font-size: 16px; }html[data-mobile-device="true"] #site-media-close { grid-column: 2; grid-row: 1; } 
