/* Galeria dos convidados: grade quadrada e visualizador com foto ou vídeo */

.album-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  width: 100%;
}
.album-card { aspect-ratio: 1; border-radius: 8px; }

.album-selo-video {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 1;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(30, 0, 12, .7);
}
.album-selo-video svg { width: 12px; fill: var(--ouro-claro); }

.album-status { min-height: 1em; font-size: 13.5px; color: var(--rosa-100); text-align: center; }
#album-fim { height: 1px; width: 100%; }

.album-midia {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.album-midia video.foto-grande { background: #000; }
.album-aviso { max-width: 30ch; text-align: center; font-size: 14.5px; line-height: 1.5; color: var(--rosa-100); }

.foto-view { opacity: 1; padding-bottom: calc(76px + var(--sa-bottom)); }

.album-rodape {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: calc(16px + var(--sa-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.album-autor { font-size: 13.5px; color: var(--ouro-claro); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.album-baixar {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(200, 168, 107, .55);
  background: rgba(200, 168, 107, .12);
  color: var(--ouro-claro);
  font-size: 13.5px;
  text-decoration: none;
}
.album-baixar svg { width: 16px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }

@media (min-width: 900px) {
  .album-grid { grid-template-columns: repeat(5, 1fr); gap: 8px; }
}
