#b2p .b2p-image-dialog{position:fixed;inset:0;width:min(1460px,calc(100vw - 48px));max-width:none;max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);margin:auto;padding:0;border:1px solid #ffffff26;background:#101412;color:#e9efeb;overflow:auto;box-shadow:0 24px 90px #0009}
#b2p .b2p-image-dialog::backdrop{background:#000d;backdrop-filter:blur(7px)}
#b2p .b2p-image-header,#b2p .b2p-image-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 20px}
#b2p .b2p-image-header{border-bottom:1px solid #ffffff1f}
#b2p .b2p-image-header h2{margin:0;font-family:inherit;font-weight:500;font-size:17px;line-height:1.4;letter-spacing:0}
#b2p .b2p-image-dialog button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;min-width:44px;margin:0;padding:0;border:1px solid #ffffff30;border-radius:0;background:transparent;color:#e9efeb;cursor:pointer;font:24px/1 sans-serif;box-shadow:none}
#b2p .b2p-image-dialog button::before,#b2p .b2p-image-dialog button::after{display:none}
#b2p .b2p-image-dialog button:hover{border-color:#30ffce;color:#30ffce}
#b2p .b2p-image-dialog button:focus-visible{outline:2px solid #30ffce;outline-offset:3px}
#b2p .b2p-image-dialog .b2p-image-close{font-size:32px}
#b2p .b2p-image-stage{display:grid;place-items:center;background:#080a09;min-height:120px}
#b2p .b2p-image-stage img{display:block;width:100%;height:auto;max-height:calc(100vh - 206px);max-height:calc(100dvh - 206px);object-fit:contain;margin:0}
#b2p .b2p-image-stage [hidden]{display:none}
#b2p .b2p-image-footer{border-top:1px solid #ffffff1f}
#b2p .b2p-image-caption{margin:0;color:#b5c1bb;font:12px/1.5 Consolas,monospace}
#b2p .b2p-image-controls{display:flex;align-items:center;gap:14px;flex-shrink:0}
#b2p .b2p-image-count{min-width:42px;text-align:center;color:#30ffce;font:12px/1.4 Consolas,monospace}
#b2p .b2p-image-error{padding:35px 20px;margin:0;font-size:14px;text-align:center}
@media(max-width:600px){#b2p .b2p-image-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}#b2p .b2p-image-header,#b2p .b2p-image-footer{padding:10px 12px;gap:12px}#b2p .b2p-image-header h2{font-size:14px}#b2p .b2p-image-footer{align-items:start;flex-direction:column}#b2p .b2p-image-controls{align-self:center}#b2p .b2p-image-stage img{max-height:calc(100dvh - 222px)}}
