.galleryHead{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.galleryHead h2{font:800 30px Archivo;margin:0}.galleryLayout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:22px;margin-top:24px}.galleryZones{display:flex;flex-direction:column;gap:8px;align-self:start}.galleryZone{text-align:left;padding:12px;display:flex;gap:12px;align-items:center}.galleryZone img{width:54px;height:58px;object-fit:cover;border-radius:7px}.galleryZone.on{border-color:var(--gold);background:#d6ac6618}.galleryPreview{display:grid;grid-template-columns:200px 1fr;gap:20px;align-items:center;margin-bottom:20px}.galleryPreview img{width:200px;height:220px;object-fit:cover;border-radius:12px}.galleryPreview h3{font:800 25px Archivo;margin:0 0 10px}.galleryGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:14px}.galleryPhoto{padding:10px;min-width:0}.galleryPhoto.isCover{border-color:var(--gold)}.galleryPhoto img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px}.galleryPhoto .actions{gap:6px;margin-top:10px}.galleryPhoto .btn{font-size:12px;padding:8px}.galleryPhoto .coverBtn{width:100%;margin-top:8px}.galleryPhoto .small{margin:8px 0}.galleryBar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:18px 0}.galleryBar label{cursor:pointer}.galleryBar input{max-width:100%}.gallerySave{position:sticky;bottom:12px;z-index:20;background:var(--panel2);padding:15px;border:1px solid var(--line);border-radius:14px;box-shadow:0 8px 30px #0008}.gallerySave span{flex:1;min-width:160px}.galleryLibrary{margin:22px 0;padding:16px;border:1px solid var(--line);border-radius:14px}.galleryLibrary .galleryGrid{max-height:430px;overflow:auto}.galleryLightbox{border:1px solid var(--line);border-radius:14px;background:var(--panel);color:var(--bone);max-width:min(1100px,94vw);max-height:94vh;padding:16px}.galleryLightbox::backdrop{background:#000d}.galleryLightbox img{display:block;max-width:100%;max-height:75vh;object-fit:contain;margin:auto}.galleryLightbox .galleryBar{justify-content:space-between}.galleryUpload{max-width:100%;font-size:13px}.galleryZone:focus-visible,.galleryPhoto button:focus-visible{outline:2px solid var(--gold);outline-offset:3px}@media(max-width:760px){.galleryLayout{grid-template-columns:1fr}.galleryZones{flex-direction:row;overflow:auto;padding:4px}.galleryZone{min-width:165px}.galleryPreview{grid-template-columns:110px 1fr;gap:14px}.galleryPreview img{width:110px;height:150px}.galleryPreview h3{font-size:21px}.galleryGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.galleryPhoto .btn{padding:7px}.gallerySave{bottom:4px}}
