.listing { display: block; }
.listing article { display: grid; gap: 0.75rem; }
.listing.is-featured { border-color: var(--color-accent); border-width: 2px; }
.listing-head { display: flex; gap: 1rem; align-items: flex-start; }
.listing-logo { display: grid; place-items: center; width: 112px; height: 72px; padding: 6px; box-sizing: border-box; border: 1px solid var(--color-line); border-radius: var(--radius); background: #fff; flex: none; overflow: hidden; }
.listing-logo img { max-width: 98px; max-height: 58px; width: auto; height: auto; object-fit: contain; display: block; }
.listing-logo.is-dark { background: #14171f; }
.listing-mono { background: #fff4cc; color: var(--color-ink); font-family: var(--font-display, inherit); font-weight: 700; font-size: 1.6rem; letter-spacing: .02em; }
@media (max-width: 30rem) { .listing-logo { width: 88px; height: 60px; } .listing-logo img { max-width: 74px; max-height: 46px; } }
.listing h3 { margin: 0 0 0.3rem; font-size: 1.35rem; }
.listing-where { margin: 0 0 0.5rem; color: var(--color-muted); }
.listing .summary { margin: 0; color: var(--color-text, inherit); }
.listing-sub { font-family: var(--font-body); font-size: 0.9rem; font-weight: 700; margin: 0; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chips li { font-size: 0.85rem; padding: 0.2rem 0.65rem; border-radius: 999px; background: var(--color-bg); border: 1px solid var(--color-line); }
.tag-checked { background: #e6f4ea; border-color: #b7dfc3; color: #14532d; }
.listing-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0.25rem 0 0; }
.listing-actions .button { min-height: 44px; }
.listing-more summary { cursor: pointer; font-weight: 700; color: var(--color-link, inherit); min-height: 32px; display: flex; align-items: center; }
.listing-more .prose { margin-top: 0.5rem; }
.listing-note { margin: 0 0 1rem; color: var(--color-muted); font-size: 0.95rem; }
.get-listed { margin-top: 2.5rem; padding: 1.75rem; border-radius: var(--radius); background: var(--color-ink); color: #fff; }
.get-listed h2 { color: #fff; margin-top: 0; }
.get-listed p { color: #e8e4da; max-width: 46rem; }
.get-listed .button { color: var(--color-ink); }
@media (min-width: 52rem) { .listing dl { grid-template-columns: auto 1fr; } }
.listing-more summary { list-style: none; }
.listing-more summary::-webkit-details-marker { display: none; }
.listing-more summary::before { content: "+"; display: inline-block; width: 1.2rem; font-weight: 700; }
.listing-more[open] summary::before { content: "\2212"; }
.featured-groups { display: grid; gap: 2rem; }
@media (min-width: 64rem) { .featured-groups { grid-template-columns: 1fr 1fr; align-items: start; } }
.featured-group h3 { margin: 0 0 0.75rem; }
.listing h4 { margin: 0 0 0.3rem; font-size: 1.25rem; }
.listing-dir { margin: 0; }
.featured-empty { list-style: none; color: var(--color-muted); }
@media (min-width: 64rem) {
  .featured-groups { align-items: stretch; }
  .featured-group { display: flex; flex-direction: column; }
  .featured-group .listings { flex: 1; display: flex; flex-direction: column; margin: 0; }
  .featured-group .listing { flex: 1; display: flex; }
  .featured-group .listing article { flex: 1; display: flex; flex-direction: column; gap: 0.75rem; }
  .featured-group .listing-actions { margin-top: auto; padding-top: 0.5rem; }
}
