/* Correção de exibição para o estado nativo hidden na galeria de projetos. */
.proj .drum .pcard[hidden] {
  display: none !important;
}

.proj .project-count {
  min-height: 1.5em;
  margin: 10px 0 0;
  color: var(--muted);
  font-family: var(--f-mono);
  font-size: 11px;
  text-align: center;
}

.proj .filter button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Pílula deslizante do filtro: só aparece quando há animação (classe posta pelo app.js). */
.proj .filter.has-thumb .f-thumb {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: var(--fg);
  pointer-events: none;
}

.proj .filter.has-thumb button {
  position: relative;
  z-index: 1;
  transition: color .45s var(--ease);
}

.proj .filter.has-thumb button[aria-pressed="true"] {
  background: none;
  color: var(--bg);
}

.proj .filter.has-thumb button:not([aria-pressed="true"]):hover {
  color: var(--fg);
}

.proj .project-count {
  white-space: pre;
}
