.notice-image-popup{padding:0;border:0;background:transparent;max-width:min(784px,calc(70vw - 28px));width:max-content;max-height:calc(100dvh - 40px);overflow:visible;color:#1e3a5f;box-shadow:0 18px 64px #10243a45}
.notice-image-popup::backdrop{background:#10243aa6}
.notice-popup-visual{display:flex;align-items:center;justify-content:center;background:transparent}
.notice-popup-image{display:block;width:auto;max-width:100%;max-height:calc(70dvh - 63px);height:auto;object-fit:contain;border-radius:6px}
.notice-popup-close{position:absolute;top:10px;right:10px;width:38px;height:38px;display:grid;place-items:center;padding:0;border:1px solid #d97724;border-radius:50%;background:#fff;color:#1e3a5f;font:28px/1 Arial;cursor:pointer;z-index:1;box-shadow:0 2px 12px #10243a30}
.notice-popup-close:hover,.notice-popup-close:focus-visible{background:#d97724;color:#fff;outline:2px solid #fff;outline-offset:2px}
.announcement-detail .notice-popup-image{width:auto;max-width:100%;max-height:none;margin:0 auto 24px}
.notice-image-admin-preview{display:block;width:auto;max-width:100%;max-height:220px;object-fit:contain;margin:12px 0}
@media(max-width:600px){.notice-image-popup{max-width:calc(70vw - 14px);max-height:calc(70dvh - 16.8px)}.notice-popup-close{top:6px;right:6px;width:34px;height:34px;font-size:24px}}

/* The announcement loads before the home petek becomes visible. */
html.entrance-notice-pending #honey-viewport{visibility:hidden}
