.ig-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.ig-thumb { display: block; border-radius: 8px; overflow: hidden; background: #e9ecef; }
.ig-thumb img { display: block; width: 100%; height: 130px; object-fit: cover; transition: transform 0.2s; }
.ig-thumb:hover img, .ig-thumb:focus img { transform: scale(1.04); }
.ig-dialog { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
.ig-dialog::backdrop { background: rgba(10, 18, 24, 0.92); }
.ig-dialog img { display: block; max-width: 96vw; max-height: 80vh; margin: 0 auto; border-radius: 8px; }
.ig-caption { color: #ddd; font-size: 14px; text-align: center; margin: 10px 0 0 0; }
.ig-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.ig-btn { background: rgba(255,255,255,0.14); color: #fff; border: 0; border-radius: 6px; font-size: 22px; line-height: 1; padding: 8px 16px; cursor: pointer; }
.ig-btn:hover, .ig-btn:focus { background: #f7941d; }
@media (max-width: 480px) {
    .ig-grid { grid-template-columns: 1fr 1fr; }
    .ig-thumb img { height: 110px; }
}
