.pin-verified-gallery-wrap {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.pin-verified-gallery-lbl {
  font-size: 13px;
  font-weight: 600;
  color: #c29d6c;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pin-verified-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
}

.pin-photo-slot {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.65);
  background: #0f172a;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.pin-photo-slot:hover {
  transform: translateY(-1px);
  border-color: #34d399;
}

.pin-photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pin-photo-slot-empty {
  aspect-ratio: 16 / 9;
  visibility: hidden;
  pointer-events: none;
}

.pin-photo-add-btn {
  background: #d1d5db;
  border: 1px solid #9ca3af;
  color: #6b7280;
}

.pin-photo-add-btn:hover {
  background: #e5e7eb;
  border-color: #10b981;
  color: #047857;
}

.pin-plus-glyph {
  position: relative;
  width: 28px;
  height: 28px;
  display: inline-block;
}

.pin-plus-glyph::before,
.pin-plus-glyph::after {
  content: '';
  position: absolute;
  background: #737373;
  border: 1px solid #404040;
  box-sizing: border-box;
}

.pin-plus-glyph::before {
  top: 10px;
  left: 0;
  width: 28px;
  height: 8px;
}

.pin-plus-glyph::after {
  top: 0;
  left: 10px;
  width: 8px;
  height: 28px;
}

.pin-photo-stack-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.pin-photo-stack-badge {
  position: absolute;
  bottom: 3px;
  right: 4px;
  background: rgba(2, 6, 23, 0.85);
  color: #fde047;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
}

.agm-slide-modal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr);
  width: min(1160px, 96vw);
  height: min(760px, 90vh);
  background: #09111f;
  border: 1px solid rgba(52, 211, 153, 0.45);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.78);
}

@media (max-width: 860px) {
  .agm-slide-modal-grid {
    grid-template-columns: 1fr;
    height: 92vh;
  }
}

.agm-forensic-card {
  background: rgba(15, 23, 42, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 10px;
  padding: 9px 11px;
}

.agm-forensic-title {
  font-size: 11.5px;
  font-weight: 700;
  color: #34d399;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}
