.image-annotation-overlay{position:fixed;z-index:40;overflow:hidden;pointer-events:none}
.image-annotation-previewable{cursor:zoom-in}
.image-annotation-marker{position:absolute;width:44px;height:44px;padding:0;transform:translate(-50%,-50%);border:0;background:transparent;box-shadow:none;cursor:pointer;pointer-events:auto;touch-action:manipulation}
.image-annotation-marker:focus-visible{outline:2px dashed #38d6ff;outline-offset:2px;border-radius:50%}
.image-annotation-marker.has-region:hover,.image-annotation-marker.has-region:focus-visible{border-radius:4px;background:rgba(56,214,255,.12);outline:1px solid rgba(56,214,255,.65);outline-offset:-1px}
.image-annotation-preview-hotspots{position:absolute;z-index:2;top:0;left:0;pointer-events:none}
.image-annotation-preview-hotspot{position:absolute;width:var(--image-annotation-preview-hotspot-size,44px);height:var(--image-annotation-preview-hotspot-size,44px);padding:0;transform:translate(-50%,-50%);border:0;background:transparent;box-shadow:none;cursor:pointer;pointer-events:auto;touch-action:manipulation}
.image-annotation-preview-hotspot:focus-visible{outline:2px dashed #38d6ff;outline-offset:2px;border-radius:50%}
.image-annotation-preview-hotspot.has-region:hover,.image-annotation-preview-hotspot.has-region:focus-visible{border-radius:4px;background:rgba(56,214,255,.12);outline:1px solid rgba(56,214,255,.65);outline-offset:-1px}
.pswp.image-annotation-preview-behind-detail{--pswp-root-z-index:9999}
.image-annotation-modal{position:fixed;z-index:10000;inset:0;display:flex;align-items:flex-end;justify-content:center;padding:16px;background:rgba(1,8,20,.8);backdrop-filter:blur(5px)}
.image-annotation-modal>section{width:min(620px,100%);max-height:min(86vh,760px);overflow:auto;border:1px solid rgba(91,174,255,.26);border-radius:22px 22px 12px 12px;background:linear-gradient(180deg,#0c2745,#07182d 42%,#061326);color:#f3f8ff;box-shadow:0 28px 90px rgba(0,4,14,.76),0 0 0 1px rgba(56,214,255,.04) inset;scrollbar-color:rgba(102,176,238,.42) transparent}
.image-annotation-modal header{position:sticky;z-index:2;top:0;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 20px 17px;border-bottom:1px solid rgba(112,180,241,.15);background:rgba(10,34,61,.94);backdrop-filter:blur(12px)}
.image-annotation-modal header>div{display:grid;gap:5px}
.image-annotation-modal header>div>span{color:#58d5f5;font-size:11px;font-weight:800;letter-spacing:.12em}
.image-annotation-modal h3{margin:0;font-size:21px;line-height:1.25}
.image-annotation-modal header button{display:grid;width:38px;height:38px;padding:0;flex:0 0 auto;place-items:center;border:1px solid rgba(125,188,255,.18);border-radius:11px;background:rgba(255,255,255,.055);color:#d9ebfb;cursor:pointer;transition:border-color 160ms ease,background 160ms ease}
.image-annotation-modal header button span{margin-top:-2px;font-size:27px;font-weight:300;line-height:1}
.image-annotation-modal header button:hover{border-color:rgba(56,214,255,.52);background:rgba(56,214,255,.1)}
.image-annotation-copy{display:grid;gap:8px;margin:18px 20px 0;padding:15px 16px;border:1px solid rgba(125,188,255,.14);border-left:3px solid #38d6ff;border-radius:4px 12px 12px 4px;background:rgba(36,87,132,.15)}
.image-annotation-copy>span{color:#78dff7;font-size:11px;font-weight:800}
.image-annotation-copy p{margin:0;color:#d9e8f5;font-size:15px;line-height:1.75;white-space:pre-wrap}
.image-annotation-gallery-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:19px 20px 10px}
.image-annotation-gallery-head strong{color:#e8f3fd;font-size:13px}
.image-annotation-gallery-head span{padding:3px 8px;border:1px solid rgba(125,188,255,.16);border-radius:99px;background:rgba(255,255,255,.04);color:#8eabc4;font-size:10px}
.image-annotation-gallery{display:grid;gap:12px;padding:0 20px 22px}
.image-annotation-gallery button{position:relative;width:100%;padding:0;overflow:hidden;border:1px solid rgba(125,188,255,.17);border-radius:13px;background:#020a16;box-shadow:0 12px 28px rgba(0,5,15,.25);cursor:zoom-in}
.image-annotation-gallery img{display:block;width:100%;height:auto;object-fit:contain}
.image-annotation-gallery button>span{position:absolute;right:10px;bottom:10px;padding:5px 9px;border:1px solid rgba(255,255,255,.18);border-radius:99px;background:rgba(1,8,18,.7);color:#e5f2fe;font-size:10px;opacity:0;backdrop-filter:blur(5px);transition:opacity 160ms ease}
.image-annotation-gallery button:hover>span,.image-annotation-gallery button:focus-visible>span{opacity:1}
.image-annotation-gallery button:focus-visible,.image-annotation-modal header button:focus-visible{outline:2px solid #38d6ff;outline-offset:2px}
.image-annotation-modal.is-landscape{align-items:center;padding:20px}
.image-annotation-modal.is-landscape>section{box-sizing:border-box;width:min(68vh,620px);width:min(68dvh,620px);height:min(72vw,360px);height:min(72dvw,360px);max-width:none;max-height:none;flex:0 0 auto;border-radius:18px;transform:rotate(var(--image-annotation-detail-rotation,90deg));transform-origin:center;overscroll-behavior:contain}
@media(min-width:900px){.image-annotation-modal{align-items:center}.image-annotation-modal>section{border-radius:22px}}
@media(max-width:480px){.image-annotation-modal{padding:10px}.image-annotation-modal header,.image-annotation-gallery{padding-inline:16px}.image-annotation-copy,.image-annotation-gallery-head{margin-inline:16px}}
@media(prefers-reduced-motion:reduce){.image-annotation-modal header button,.image-annotation-gallery button>span{transition:none}}
