.ae-story-viewer{padding:0;border:0;border-radius:16px;width: min(960px, calc(100vw - 24px));max-width:calc(100vw - 24px);height:90vh;height:90dvh;max-height:94vh;margin:auto;background:#fff;color:#18374b;overflow:hidden;box-shadow:0 16px 64px #0005}
.ae-story-viewer::backdrop{background:rgba(16,32,45,.78)}
.ae-story-viewer[open]{display:flex;flex-direction:column}
.ae-viewer-toolbar{display:flex;flex:none;justify-content:space-between;align-items:center;gap:10px;padding:12px 16px;border-bottom:1px solid #dde8e8;background:#fff;font-size:14px}
.ae-viewer-toolbar button{background:#087f89;color:white;border:0;border-radius:8px;padding:10px 18px;min-height:44px;font:inherit;font-weight:bold;cursor:pointer;white-space:nowrap}
.ae-viewer-toolbar button:focus-visible{outline:3px solid #e4ad17;outline-offset:3px}
.ae-viewer-scroll{overflow:auto;min-height:0;overscroll-behavior:contain;padding:12px}
.ae-viewer-scroll img{display:block;width:100%;max-width:100%;height:auto;margin:0 auto}
@media(max-width:600px){.ae-viewer-toolbar{padding:10px;font-size:12px}.ae-viewer-scroll{padding:4px}.ae-story-viewer{border-radius:12px}}
