.topic-list {
  background-color: var(--bg3);
  padding: 0.5rem;
  border-radius: 1rem;
  width: 100%;
  max-width: 40rem;
  border: 0.05rem solid var(--border2);
}

.topic-item {
  padding: 0.35rem 0;
}

main a {
  color: var(--txt1);
  text-decoration: none;
}

ul {
  margin: 0 0 1rem 0;
  padding: 0;
  list-style: none;
}

/* topic row is a real link now */
.topic-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.25rem 0.2rem;
  cursor: pointer;
  text-decoration: underline;
}
.topic-name {
  font-size: 1rem;
}
.channel-list {
  margin: 0.35rem 0 0.25rem 0;
  padding: 0;
}
.channel-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.15rem 0.2rem;
  font-size: 0.85rem;
  border-bottom: 0.05rem solid var(--border1);
}
.channel-link::before {
  content: "➜";
  margin-right: 0.35rem;
  opacity: 0.85;
}
.topic-name,
.channel-name {
  display: inline-block;
}
.topic-name::first-letter,
.channel-name::first-letter {
  text-transform: uppercase;
}
.channel-popularity::before {
  content: "★ ";
}
.directory-meta {
  background-color: var(--backdrop);
  padding: 0.6rem 0.8rem;
  border-radius: 1rem;
  width: 100%;
  max-width: 40rem;
  border: 0.05rem solid var(--border2);
  margin: 0.75rem 0 0.75rem 0;
}
.directory-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
