*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --fuente-cuerpo: Georgia, 'Times New Roman', serif;
  --fuente-ui: system-ui, sans-serif;
  --color-texto: #1a1a1a;
  --color-secundario: #666;
  --color-borde: #e0e0e0;
  --color-fondo: #fafaf8;
}

body {
  font-family: var(--fuente-ui);
  background: var(--color-fondo);
  color: var(--color-texto);
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

header { border-bottom: 1px solid var(--color-borde); padding-bottom: 1rem; margin-bottom: 2rem; }
header h1 { font-family: var(--fuente-cuerpo); font-size: 1.5rem; font-weight: normal; }
header p { font-size: 0.8rem; color: var(--color-secundario); }
nav { margin-top: 0.5rem; font-size: 0.85rem; }
nav a { color: var(--color-secundario); text-decoration: none; margin-right: 1rem; }
nav a:hover { color: var(--color-texto); }

/* Grilla */
.grilla {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
}

@media (max-width: 600px) {
  .grilla {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
}

@media (max-width: 400px) {
  .grilla {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}
.album-card { text-decoration: none; color: inherit; }
.portada {
  width: 100%; aspect-ratio: 1;
  background: #e8e4de;
  margin-bottom: 0.4rem;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.portada img { width: 100%; height: 100%; object-fit: cover; }
.portada-placeholder { font-size: 2rem; color: #aaa; }
.album-titulo { font-size: 0.8rem; font-weight: 500; }
.album-artista { font-size: 0.75rem; color: var(--color-secundario); }
.album-fecha { font-size: 0.7rem; color: #aaa; }

/* Filtros */
.filtros { margin-bottom: 1.5rem; }
.filtros input { width: 100%; padding: 0.4rem; border: 1px solid var(--color-borde); margin-bottom: 0.75rem; font-size: 0.85rem; background: white; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag {
  font-size: 0.75rem; padding: 3px 10px;
  border: 1px solid var(--color-borde);
  background: none; cursor: pointer; color: var(--color-secundario);
}
.tag.activo, .tag:hover { background: var(--color-texto); color: white; border-color: var(--color-texto); }

/* Calendario */
.mes-grupo { margin-bottom: 2rem; }
.mes-titulo { font-family: var(--fuente-cuerpo); font-weight: normal; font-size: 1.1rem; margin-bottom: 0.5rem; }
.mes-lista { list-style: none; border-top: 1px solid var(--color-borde); }
.mes-lista li { display: flex; align-items: baseline; gap: 0.75rem; padding: 0.5rem 0; border-bottom: 1px solid var(--color-borde); font-size: 0.875rem; }
.cal-dia { font-size: 0.75rem; color: var(--color-secundario); min-width: 1.5rem; }
.cal-artista { color: var(--color-secundario); }
.mes-lista a { text-decoration: none; color: inherit; }
.mes-lista a:hover { text-decoration: underline; }

/* Reseña */
.resena { max-width: 680px; }
.resena-header { display: flex; gap: 1.5rem; margin-bottom: 2rem; }
.portada-grande { width: 120px; height: 120px; object-fit: cover; flex-shrink: 0; }
.entrada-fecha { font-size: 0.75rem; color: var(--color-secundario); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.25rem; }
.entrada-titulo { font-family: var(--fuente-cuerpo); font-size: 1.5rem; font-weight: normal; line-height: 1.2; }
.entrada-artista { color: var(--color-secundario); font-size: 0.9rem; margin-top: 0.25rem; }
.entrada-sello { font-size: 0.8rem; color: #aaa; }
.valoracion { font-size: 1rem; margin-top: 0.5rem; }
.resena-cuerpo { font-family: var(--fuente-cuerpo); font-size: 1rem; line-height: 1.8; border-top: 1px solid var(--color-borde); padding-top: 1.5rem; }
.resena-cuerpo p { margin-bottom: 1rem; }
.resena-tags { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.resena-tags a { text-decoration: none; }