.title-gallery{margin:0 clamp(18px,6vw,86px) 30px;padding:24px 28px;border:1px solid #ffffff1a;border-radius:16px;background:linear-gradient(135deg,#1c1c22,#0f0f13);position:relative;color:#ededf1}
.gallery-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.gallery-heading h2{font-size:1.28rem;margin:0}.gallery-heading h2 span{color:#92929c;font-size:.85rem;font-weight:400}
.gallery-action{border:1px solid #ffffff30;border-radius:8px;background:#ffffff09;padding:8px 12px;color:#ddd;font:inherit;font-size:.8rem;cursor:pointer}.gallery-action:disabled{opacity:.45;cursor:default}
.gallery-status{font-size:.85rem;color:#b8b8c0;margin:0 0 14px;line-height:1.5}.gallery-strip{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:12px;scrollbar-color:#545460 transparent}.gallery-strip:empty{display:none}
.gallery-thumb{display:block;flex:0 0 clamp(210px,25vw,310px);aspect-ratio:16/9;border:0;padding:0;overflow:hidden;border-radius:10px;background:#24242b;cursor:zoom-in;scroll-snap-align:start}.gallery-thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .18s}.gallery-thumb:hover img{transform:scale(1.04)}
.gallery-credit{color:#85858f;font-size:.72rem;margin:10px 0 0}.gallery-credit a{color:#b8b8c0}.title-gallery [hidden]{display:none!important}
.gallery-dialog{border:1px solid #ffffff20;border-radius:16px;padding:56px 60px 22px;background:#111116;color:white;width:min(1100px,94vw);max-width:96vw;max-height:94dvh;box-sizing:border-box;overflow:auto}.gallery-dialog::backdrop{background:#000e}.gallery-dialog figure{margin:0}.gallery-dialog figure img{display:block;max-width:100%;width:auto;max-height:72dvh;object-fit:contain;margin:0 auto}.gallery-dialog figcaption{text-align:center;color:#c7c7d0;font-size:.85rem;margin-top:14px;line-height:1.5}.gallery-dialog button{position:absolute;color:white;background:#25252ecc;border:1px solid #ffffff25;border-radius:50%;width:40px;height:40px;font-size:28px;line-height:1;cursor:pointer}.gallery-dialog .gallery-close{right:12px;top:10px}.gallery-prev{left:10px;top:48%}.gallery-next{right:10px;top:48%}.gallery-dialog button:disabled{opacity:.3;cursor:default}.gallery-thumb:focus-visible,.gallery-action:focus-visible,.gallery-dialog button:focus-visible{outline:3px solid #ef4355;outline-offset:3px}
@media(max-width:820px){.title-gallery{margin:0 18px 22px;padding:20px}.gallery-dialog{padding:54px 10px 18px}.gallery-dialog figure img{max-height:65dvh}.gallery-dialog .gallery-prev,.gallery-dialog .gallery-next{top:auto;bottom:10px;width:34px;height:34px}.gallery-dialog figcaption{padding:0 36px;min-height:34px}.gallery-heading{align-items:flex-start}.gallery-heading h2{white-space:nowrap}}
@media(prefers-reduced-motion:reduce){.gallery-thumb img{transition:none}}

.gallery-credit img{display:inline-block;width:70px;height:auto;vertical-align:middle;margin-left:4px}.gallery-credit p{margin:8px 0 0;line-height:1.5}
