/* Gallery App View */
.photo-grid {
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  align-content: start;
  min-height: 100%;
}

.photo-item {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: #F2F2F7;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: transform 0.2s;
  opacity: 0;
  animation: galleryFadeIn 0.4s ease forwards;
}

.photo-item:active {
  transform: scale(0.95);
}

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

@keyframes galleryFadeIn {
  to {
    opacity: 1;
  }
}

/* Empty State */
.empty-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
  gap: 16px;
}

.empty-text {
  font-size: 16px;
  font-weight: 500;
  color: #8E8E93;
}

.empty-action {
  padding: 10px 24px;
  background: #007AFF;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 10px;
  cursor: pointer;
}
