/* Public /authors — minimal, theme-token only */
.authors-dir {
  max-width: 960px;
  margin: 0 auto;
  padding: 2.5rem 1.15rem 3.5rem;
}

.authors-dir-head {
  text-align: center;
  margin-bottom: 2rem;
}

.authors-dir-title {
  font-size: clamp(1.45rem, 3.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 .55rem;
  color: var(--text, #e6e9f0);
}

.authors-dir-lead {
  margin: 0 auto .75rem;
  max-width: 36rem;
  font-size: .95rem;
  line-height: 1.65;
  color: var(--text-muted, #8b93a7);
}

.authors-dir-count {
  margin: 0;
  font-size: .8rem;
  color: var(--text-faint, #5c6478);
}
.authors-dir-count strong {
  color: var(--text, #e6e9f0);
  font-weight: 650;
}

.authors-dir-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  border: 1px dashed var(--border-soft, var(--border, #232838));
  border-radius: 14px;
  color: var(--text-muted, #8b93a7);
  font-size: .95rem;
}

.authors-dir-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .85rem;
}
@media (min-width: 640px) {
  .authors-dir-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 960px) {
  .authors-dir-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.authors-dir-card {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 1.05rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--border-soft, var(--border, #232838));
  background: var(--surface, #12161f);
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease, transform .15s ease;
}
.authors-dir-card:hover {
  border-color: color-mix(in srgb, var(--accent, #e3b341) 40%, var(--border, #232838));
  transform: translateY(-2px);
}

.authors-dir-card-top {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.authors-dir-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-soft, var(--border, #232838));
  background: var(--bg, #0b0e14);
  flex-shrink: 0;
}
.authors-dir-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 650;
  color: var(--accent, #e3b341);
  background: color-mix(in srgb, var(--accent, #e3b341) 12%, var(--surface, #12161f));
}

.authors-dir-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.authors-dir-name {
  font-size: .98rem;
  font-weight: 650;
  color: var(--text, #e6e9f0);
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.authors-dir-handle {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .78rem;
  color: var(--text-muted, #8b93a7);
}

.authors-dir-bio {
  margin: 0;
  font-size: .82rem;
  line-height: 1.55;
  color: var(--text-muted, #8b93a7);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.authors-dir-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .45rem;
  margin-top: auto;
  padding-top: .15rem;
  font-size: .72rem;
  color: var(--text-faint, #5c6478);
}
.authors-dir-stats strong {
  color: var(--text, #e6e9f0);
  font-weight: 600;
  font-family: "JetBrains Mono", ui-monospace, monospace;
}
.authors-dir-dot {
  opacity: .5;
}
