.suite-widget[data-widget="gallery"]{display:flex;flex-direction:column;gap:12px;min-width:0}
.suite-widget[data-widget="gallery"] .hud-heading{margin-bottom:3px}.suite-widget[data-widget="gallery"] .hud-heading>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:72%}
.gallery-stage{position:relative;aspect-ratio:4/3;min-height:170px;overflow:hidden;border:1px solid #73cfe833;background:#031018;isolation:isolate}
.gallery-picture{display:block;border:0;padding:0;width:100%;height:100%;position:absolute;inset:0;background:transparent;cursor:zoom-in}
.gallery-picture img{display:block;width:100%;height:100%;object-fit:cover}.gallery-stage[data-fit="contain"] img{object-fit:contain}
.gallery-picture:focus-visible{outline:2px solid #b8ffff;outline-offset:-5px}.gallery-stage:focus-visible{outline:2px solid #81f3ec;outline-offset:3px}
.gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);width:34px;height:42px;background:#041923bb;color:#d0f8fd;border:1px solid #a3edff5c;border-radius:6px;font:26px/1 sans-serif;z-index:2;cursor:pointer;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.gallery-arrow:hover{background:#0a3948e6}.gallery-prev{left:9px}.gallery-next{right:9px}.gallery-position{position:absolute;right:10px;bottom:10px;padding:5px 8px;color:#d7faff;background:#031821ba;border:1px solid #8ddce74a;font:9px var(--mono);border-radius:5px;pointer-events:none}
.gallery-caption{font-size:12px;line-height:1.6;margin:0;min-height:19px;overflow-wrap:anywhere;color:#abd4df}
.gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}.gallery-controls .textbutton{font-size:8px;padding:5px 0}.gallery-controls button:disabled{opacity:.4;cursor:default}
.gallery-manager{max-width:680px}.gallery-toolbar{display:flex;gap:15px;align-items:center;justify-content:space-between;margin-top:22px}.gallery-toolbar span{font:10px var(--mono);color:#80b7c6}.gallery-toolbar .primary{font-size:12px}
.gallery-list{display:grid;gap:10px;margin:18px 0 25px}.gallery-item{display:grid;grid-template-columns:92px minmax(0,1fr);gap:13px;padding:10px;background:#061c2666;border:1px solid #69bed330}.gallery-item>img{width:92px;height:91px;object-fit:cover}.gallery-item label{display:block;margin:0;font-size:9px;color:#80acbc}.gallery-item input{margin-top:6px;padding:8px 10px;font-size:11px;width:100%;min-width:0}.gallery-item-actions{display:flex;gap:14px;align-items:center;margin-top:9px;flex-wrap:wrap}.gallery-item-actions button{font-size:9px;padding:0}.gallery-item-actions button:disabled{opacity:.3;cursor:default}
.gallery-list-empty{padding:30px 15px;text-align:center;border:1px dashed #68d0df44;color:#6094a5}.gallery-list-empty>span{display:block;font-size:30px;margin-bottom:14px}.gallery-list-empty strong{font-size:13px;font-weight:500;color:#abd5de}.gallery-list-empty p{font-size:11px}
.gallery-undo{display:flex;gap:18px;justify-content:space-between;align-items:center;font-size:11px;background:#287b8122;border:1px solid #80d6dc4c;padding:10px 14px}.gallery-undo button{font-size:11px}.gallery-placement{display:flex;gap:10px;flex-wrap:wrap}.gallery-placement button{font-size:11px;flex:1;min-width:170px}
.gallery-lightbox .modal-box{width:min(96vw,1200px);max-width:1200px;max-height:96vh;padding:20px;display:flex;flex-direction:column}.gallery-lightbox .modal-head{margin-bottom:14px}.gallery-lightbox .modal-head h2{font-size:18px}.gallery-view-stage{position:relative;min-height:0;flex:1;display:flex;align-items:center;justify-content:center;background:#02090d}
.gallery-view-stage img{display:block;max-width:100%;width:100%;height:min(72vh,800px);object-fit:contain}.gallery-view-footer{display:flex;gap:20px;align-items:center;justify-content:space-between;font-size:12px;color:#9dc6d3}.gallery-view-footer p{overflow-wrap:anywhere}.gallery-view-footer>span{white-space:nowrap;font:10px var(--mono)}
html[data-jarvis-template="holographic"] .gallery-stage{border-radius:13px;box-shadow:inset 0 0 0 1px #8ce4ef1a}html[data-jarvis-template="holographic"] .gallery-item,html[data-jarvis-template="holographic"] .gallery-item>img,html[data-jarvis-template="holographic"] .gallery-list-empty{border-radius:12px}
@media(min-width:1001px){html[data-jarvis-template="holographic"] #app[data-view="all"] .side-slot .gallery-stage{aspect-ratio:16/9;min-height:125px}html[data-jarvis-template="holographic"] #app[data-view="all"] .side-slot .suite-widget[data-widget="gallery"]{gap:8px}html[data-jarvis-template="holographic"] #app[data-view="all"] .side-slot .gallery-caption{font-size:10px}}
@media(max-width:760px){.gallery-manager{padding:20px}.gallery-item{grid-template-columns:62px minmax(0,1fr);gap:9px;padding:8px}.gallery-item>img{width:62px;height:80px}.gallery-item-actions{gap:10px}.gallery-item-actions button{font-size:8px}.gallery-toolbar{gap:10px}.gallery-toolbar .primary{font-size:10px;padding:12px}.gallery-toolbar span{font-size:8px}.gallery-placement{flex-direction:column}.gallery-placement button{min-width:0}.gallery-lightbox .modal-box{padding:13px}.gallery-lightbox .modal-head h2{font-size:15px}.gallery-view-stage img{height:68vh}.gallery-view-footer{font-size:11px}.gallery-stage{min-height:180px}}
@media(prefers-reduced-motion:no-preference){.gallery-stage img{animation:gallery-reveal .35s ease-out}@keyframes gallery-reveal{from{opacity:.4}to{opacity:1}}}
