[data-nisseihub-web-popup] { display: none; }
.nisseihub-popup-overlay { position: fixed; inset: 0; z-index: 999999; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.6); padding: 60px 16px 16px; }
.nisseihub-popup-panel { position: relative; width: min(90vw, var(--popup-width, 700px)); height: min(85vh, var(--popup-height, 500px)); height: min(85dvh, var(--popup-height, 500px)); max-width: calc(100vw - 32px); max-height: calc(100vh - 88px); max-height: calc(100dvh - 88px); border-radius: 12px; overflow: visible; box-shadow: 0 0 20px rgba(0,0,0,.5); background: #fff; }
.nisseihub-popup-close { position: absolute; top: -10px; right: -20; z-index: 2; background: #ff3b3b; color: #fff; border: 0; padding: 5px; border-radius: 3px; font-size: 20px; cursor: pointer; line-height: 1.3; min-width: 36px; min-height: 36px; }
.nisseihub-popup-close:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.nisseihub-popup-panel iframe { display: block; width: 100%; height: 100%; border: 0; border-radius: 12px; }
.nisseihub-popup-panel--image { height: auto; background: transparent; }
.nisseihub-popup-panel--image img { display: block; width: 100%; max-height: min(85vh, calc(100vh - 88px)); max-height: min(85dvh, calc(100dvh - 88px)); border-radius: 12px; object-fit: contain; }
