.event-program-dialog{width:min(720px,calc(100vw - 32px));max-width:none;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);padding:0;border:0;border-radius:16px;background:#040d65;box-shadow:0 24px 80px #0006;overflow:hidden}
.event-program-dialog::backdrop{background:#071326bd}
.event-program-content{max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.event-program-content a{display:block}
.event-program-content img{display:block;width:100%;height:auto}
.event-program-close{position:absolute;top:10px;right:10px;z-index:1;display:grid;place-items:center;width:44px;height:44px;padding:10px;border:1px solid #ffffff70;border-radius:50%;background:#142844ed;color:#fff;box-shadow:0 2px 12px #0005;cursor:pointer}
.event-program-close:hover{background:#253e5e}
.event-program-close:focus-visible{outline:3px solid #ffdc58;outline-offset:3px}
.event-program-close svg{width:22px;height:22px}
html:has(.event-program-dialog[open]){overflow:hidden}
@media(max-width:480px){.event-program-dialog{width:calc(100vw - 16px);max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px);border-radius:12px}.event-program-content{max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px)}.event-program-close{top:8px;right:8px}}
@media print{.event-program-dialog{display:none!important}}
