.imported-case .case-image,img.case-image{cursor:zoom-in}.case-gallery{width:min(1280px,96vw);max-height:94vh;box-sizing:border-box;margin:auto;padding:28px;background:#0c261c;color:#edf4ed;border:1px solid #728c78;border-radius:18px;overflow:auto}.case-gallery::backdrop{background:#000d}.gallery-close{position:absolute;right:16px;top:12px;font-size:25px;padding:4px 13px}.gallery-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding-right:42px}.gallery-toolbar label{display:flex;gap:10px;align-items:center}.gallery-toolbar select{background:#17382a;color:white;padding:10px;border:1px solid #65816c;border-radius:8px;max-width:100%}.gallery-toolbar button{padding:10px 14px;border-radius:8px}.case-gallery h2{font-size:clamp(20px,2.4vw,30px);margin:24px 0 16px}.gallery-stage{background:#050e0a;overflow:auto;border-radius:10px;text-align:center}.gallery-stage img{display:block;width:100%;max-height:65vh;object-fit:contain;margin:auto}.gallery-stage.zoomed img{max-height:none;min-width:1000px;width:100%;object-fit:contain}.gallery-source{font-size:12px;line-height:1.7;color:#b3c9bb}.gallery-thumbs{display:flex;overflow-x:auto;gap:10px;padding:10px 2px}.gallery-thumbs button{flex:0 0 100px;height:72px;padding:3px;border:2px solid transparent;border-radius:8px}.gallery-thumbs button.active{border-color:#f1d68b}.gallery-thumbs img{width:100%;height:100%;object-fit:cover;border-radius:4px}@media(max-width:600px){.case-gallery{padding:18px;width:96vw}.gallery-toolbar label{width:100%;flex-wrap:wrap}.gallery-toolbar{gap:8px}.gallery-toolbar button{font-size:13px;padding:8px}.gallery-stage img{max-height:55vh}.gallery-thumbs button{flex-basis:80px;height:60px}}

.gallery-pages{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;padding:16px}.gallery-pages button{min-width:42px;min-height:42px}.gallery-pages button[aria-pressed=true]{outline:2px solid #64efcc}.gallery-pages a{color:#eed78c;padding:10px 16px}
