#inventory .watch-cover{display:block;width:100%;padding:0;margin:0;background:none;border:0;cursor:zoom-in}#inventory .watch-cover img{display:block;width:100%}.watch-dialog{box-sizing:border-box;width:min(1100px,96vw);max-height:94vh;padding:20px;background:#f8f7f3;color:#202820;border:1px solid #ccc;overflow:auto}.watch-dialog::backdrop{background:#000b}.gallery-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:28px}.gallery-close{display:block;margin:0 0 14px auto}.gallery-stage{overflow:auto;background:#eee;max-height:65vh}.gallery-image{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in}.gallery-image img{display:block;width:100%;height:min(55vh,540px);object-fit:contain}.zoomed .gallery-image{width:200%;cursor:zoom-out}.zoomed .gallery-image img{height:auto;max-height:none}.gallery-nav{display:flex;justify-content:space-between;align-items:center;margin:12px 0}.gallery-thumbs{display:flex;gap:8px;overflow:auto}.gallery-thumbs button{padding:2px;background:transparent;border:2px solid transparent;flex:none}.gallery-thumbs button[aria-pressed=true]{border-color:#202820}.gallery-thumbs img{display:block;width:68px;height:68px;object-fit:cover}.gallery-details p{white-space:pre-wrap;overflow-wrap:anywhere}.watch-dialog button:disabled{opacity:.4}@media(max-width:700px){.gallery-layout{grid-template-columns:1fr;gap:12px}.watch-dialog{padding:12px}.gallery-image img{height:42vh}}

.gallery-stage{overflow:hidden;max-height:none}.gallery-image{overflow:hidden;touch-action:pan-y}.gallery-image img{transform-origin:50% 50%;pointer-events:none}.zoomed .gallery-image,.hover-zoom .gallery-image{width:100%;cursor:crosshair}.zoomed .gallery-image img,.hover-zoom .gallery-image img{height:min(55vh,540px);max-height:none;transform:scale(2.5)}.zoomed .gallery-image{touch-action:none}@media(max-width:700px){.zoomed .gallery-image img,.hover-zoom .gallery-image img{height:42vh}}
