/* 18494 · Desktop catalog proportions for ongoing, finished and genre views.
   The original reader, home shelves, editor and mobile breakpoints are untouched. */
@media (min-width: 1041px) {
  /* The standalone views do not have a home banner; do not reserve banner spacing. */
  body:is([data-plus-view="serial"], [data-plus-view="complete"], [data-plus-view="genre"])
    .plus-platform { padding-top: 17px; }
  body:is([data-plus-view="serial"], [data-plus-view="complete"]) .plus-series-directory,
  body[data-plus-view="genre"] .plus-discover {
    padding-top: 0;
  }

  /* Match the compact cover scale of home shelves without cropping 2:3 covers.
     Fixed maximum column width prevents a single book from filling a whole row. */
  body:is([data-plus-view="serial"], [data-plus-view="complete"]) .plus-series-grid,
  body[data-plus-view="genre"] .plus-discover > .plus-library-grid {
    grid-template-columns: repeat(auto-fill, minmax(0, 184px));
    gap: 27px 20px;
    justify-content: start;
    margin-top: 21px;
  }

  /* A compact multi-line group, rather than pills stretched across the full
     width of the catalog page and a few orphan buttons at the far left. */
  body[data-plus-view="genre"] .plus-category-row {
    max-width: 965px;
    margin-top: 18px;
    gap: 8px;
    justify-content: flex-start;
    align-content: start;
  }
  body[data-plus-view="genre"] .plus-category-row button {
    min-height: 35px;
    padding: 7px 12px;
  }
}
