
.ag-gallery { margin-top: var(--space-9); }
.ag-gallery__label {
  display: flex; align-items: center; gap: var(--space-4);
  font-family: var(--skin-font-display); font-weight: 700; font-size: var(--text-md);
  color: var(--skin-ink-primary, #2C2C2C); margin: 0 0 var(--space-5);
}
.ag-gallery__label::after { content: ''; flex: 1; height: 1px; background: var(--skin-divider); }
.ag-gallery__grid {
  display: grid; gap: var(--space-5);
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
}
.ag-gallery__item {
  position: relative; aspect-ratio: 1; overflow: hidden; cursor: zoom-in;
  border-radius: var(--radius-sm, 8px); border: 1px solid var(--skin-border-soft);
  background: var(--skin-surface-sunken); padding: 0;
}
.ag-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.ag-gallery__item:hover img { transform: scale(1.05); }
.ag-gallery__item::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--skin-accent) 24%, transparent);
}
.ag-lightbox {
  position: fixed; inset: 0; z-index: 10000; display: none;
  align-items: center; justify-content: center; padding: var(--space-7);
  background: rgba(12, 10, 8, 0.88); backdrop-filter: blur(4px);
  touch-action: none; user-select: none;
}
.ag-lightbox[data-open="true"] { display: flex; }
.ag-lightbox__inner { max-width: 920px; max-height: 92vh; display: flex; flex-direction: column; align-items: center; }
.ag-lightbox__img { max-width: 100%; max-height: 74vh; object-fit: contain; border-radius: var(--radius-sm, 8px); box-shadow: 0 24px 60px rgba(0,0,0,0.5); -webkit-user-drag: none; user-select: none; }
.ag-lightbox__placard {
  margin-top: var(--space-6); max-width: 40rem; text-align: center; color: rgba(255,255,255,0.82);
  font-size: var(--text-sm); line-height: 1.6;
}
.ag-lightbox__placard .ag-a { color: #fff; font-weight: 600; }

.ag-lightbox__pd { display: block; margin-top: var(--space-2); font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.55); }

.ag-lightbox__note { display: block; margin-top: var(--space-2); font-size: var(--text-sm); line-height: 1.5; color: rgba(255,255,255,0.78); }
.ag-lightbox__close {
  position: absolute; top: var(--space-6); right: var(--space-6); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3);
  background: rgba(0,0,0,0.3); color: #fff; font-size: var(--text-lg); cursor: pointer;
}
.ag-lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.28); background: rgba(0,0,0,0.32);
  color: #fff; font-size: 2rem; line-height: 1; cursor: pointer;
  display: none; align-items: center; justify-content: center;
  transition: background var(--motion-fast, 160ms) ease;
}
.ag-lightbox[data-open="true"] .ag-lightbox__nav { display: flex; }
.ag-lightbox__nav:hover { background: rgba(0,0,0,0.6); }
.ag-lightbox__nav--prev { left: var(--space-5); }
.ag-lightbox__nav--next { right: var(--space-5); }
.ag-lightbox__counter { margin-top: var(--space-4); font-size: var(--text-xs); letter-spacing: 0.18em; color: rgba(255,255,255,0.5); }
@media (max-width: 560px) {
  .ag-lightbox__nav { width: 44px; height: 44px; font-size: 1.6rem; }
  .ag-lightbox__nav--prev { left: 4px; }
  .ag-lightbox__nav--next { right: 4px; }
}
