/* Live catalogue cards on explore/ pages.
   The cards reuse the main-app styles from /css/cards-base.css
   (.item-card, .book-card, .movie-card, .tvshow-card, ...), including their
   hover lift. Everything below is scoped to .top10-grid so the main app
   is untouched: it only compacts the layout for the narrow guide columns. */
.top10-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 1rem 0 0.5rem 0;
  align-items: stretch;
}
/* Whole card is one link to the live map entry. */
.top10-link {
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: 12px;
  min-width: 0;
}
.top10-link:hover,
.top10-link:focus-visible {
  text-decoration: none;
  color: inherit;
}
.top10-link:focus-visible {
  outline: 2px solid #1fa2ff;
  outline-offset: 3px;
}
.top10-grid .item-card,
.top10-grid .book-card,
.top10-grid .movie-card,
.top10-grid .tvshow-card {
  cursor: pointer;
  margin-bottom: 0;
  height: 100%;
}
/* Compact horizontal cards: slimmer covers, no dead space. The 35px
   bottom padding in the app reserves room for a "more" button that
   doesn't exist on guide pages. */
.top10-grid .book-image-container,
.top10-grid .movie-image-container,
.top10-grid .tvshow-image-container {
  width: 118px;
  min-width: 118px;
  height: 172px;
  align-self: center;
  margin: 10px 0 10px 10px;
}
.top10-grid .book-content,
.top10-grid .movie-content,
.top10-grid .tvshow-content {
  padding: 12px 12px 10px 12px;
  min-width: 0;
}
.top10-grid .book-content h3,
.top10-grid .movie-content h3,
.top10-grid .tvshow-content h3,
.top10-grid .item-content h3 {
  font-size: 1.02em;
  overflow-wrap: anywhere;
}
.top10-grid .book-author,
.top10-grid .movie-creator,
.top10-grid .tvshow-creator {
  font-size: 0.82em;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.top10-grid .description {
  font-size: 0.85em;
}
.top10-grid .book-meta span,
.top10-grid .item-meta span,
.top10-grid .movie-meta span,
.top10-grid .tvshow-meta span {
  font-size: 0.92em;
}
/* Game cards are vertical: cap the banner so they match siblings. */
.top10-grid .item-image-container {
  height: 150px;
}
.top10-grid .item-content {
  padding: 12px;
}
.top10-note {
  font-size: 0.95rem;
  opacity: 0.85;
}
.top10-media {
  font-size: 1.02rem;
  font-weight: 600;
}
.top10-type {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 4px;
}

/* Mobile: single column, smaller thumbs, tighter type. */
@media (max-width: 720px) {
  .top10-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .top10-grid .book-image-container,
  .top10-grid .movie-image-container,
  .top10-grid .tvshow-image-container {
    width: 92px;
    min-width: 92px;
    height: 138px;
    margin: 8px 0 8px 8px;
    border-width: 3px;
  }
  .top10-grid .book-content,
  .top10-grid .movie-content,
  .top10-grid .tvshow-content {
    padding: 10px 10px 8px 10px;
  }
  .top10-grid .book-content h3,
  .top10-grid .movie-content h3,
  .top10-grid .tvshow-content h3,
  .top10-grid .item-content h3 {
    font-size: 0.98em;
  }
  .top10-grid .description {
    font-size: 0.82em;
  }
  .top10-grid .item-image-container {
    height: 165px;
  }
}
