.plates {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: clamp(1.4rem, 2.6vw, 2.6rem);
  padding-top: 2.2rem;
}

/* ---- filtering: hide the plates that do not match the chosen tab ---- */
#f-tokyo:checked ~ .plates .plate:not([data-cat="tokyo"]),
#f-prague:checked ~ .plates .plate:not([data-cat="prague"]),
#f-maritime:checked ~ .plates .plate:not([data-cat="maritime"]) {
  display: none;
}

.plate {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  animation: plate-in 0.5s var(--spring) both;
}

@keyframes plate-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.plate:nth-child(2) { animation-delay: 0.04s; }
.plate:nth-child(3) { animation-delay: 0.08s; }
.plate:nth-child(4) { animation-delay: 0.12s; }
.plate:nth-child(5) { animation-delay: 0.16s; }
.plate:nth-child(6) { animation-delay: 0.2s; }
.plate:nth-child(7) { animation-delay: 0.24s; }
.plate:nth-child(8) { animation-delay: 0.28s; }
.plate:nth-child(9) { animation-delay: 0.32s; }

.plate-cap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
  border-top: var(--hair) solid var(--rule);
  padding-top: 0.5rem;
}

.plate-cap .no { color: var(--ink-pink); font-weight: 700; }

.plate-cap .name {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: 0.95rem;
  line-height: 1.15;
}

.plate-cap .place { color: var(--ink-soft); font-size: 0.66rem; }

.plate-note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
  max-width: 34ch;
}

.plate-note b { color: var(--ink); font-weight: 700; }

.empty-note {
  display: none;
  padding: 3rem 0;
  color: var(--ink-soft);
}
