/* A compact personal shelf. Catalogue cards elsewhere retain their own size. */
.history-library .history-library-grid {
  grid-template-columns:repeat(auto-fill,minmax(116px,1fr));
  gap:26px 16px;
  align-items:start;
}
.history-library .film-card :is(.poster-wrap,.poster-link) {border-radius:8px}
.history-library .film-card .poster-title {
  left:8px;right:8px;bottom:36px;
  font-size:clamp(17px,14cqw,22px);
}
.history-library .poster-signature {inset:auto 5px 5px;max-width:calc(100% - 10px);border-radius:5px}
.history-library .poster-kind {gap:3px;padding:4px 5px;font-size:8px}
.history-library .poster-kind .icon {width:10px;height:10px}
.history-library .poster-definition {padding:4px 5px;font-size:8px}
.history-library .poster-partial {font-size:8px}
.history-library .card-caption {gap:6px;padding-top:9px}
.history-library .card-caption h3 {font-size:12px;line-height:1.45;margin-bottom:3px}
.history-library .card-caption p {font-size:10px;gap:6px;min-height:15px}
.history-library .card-caption .card-rating {gap:3px}
.history-library .card-caption .card-rating svg {width:10px;height:10px}
.history-library .history-library-date {font-size:9px;line-height:1.45;gap:4px;margin-top:6px}
.history-library .history-library-date>svg {width:11px;height:11px}
@media(max-width:620px) {
  .history-library .history-library-grid {
    grid-template-columns:repeat(auto-fill,minmax(94px,1fr));
    gap:23px 12px;
  }
  .history-library .card-caption h3 {font-size:11px;line-height:1.5}
  .history-library .history-library-date {align-items:flex-start}
  .history-library .history-library-date>svg {margin-top:1px}
}
@media(max-width:380px) {
  .history-library .history-library-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 10px}
  .history-library .poster-kind {padding-inline:4px}
  .history-library .poster-kind .icon {display:none}
  .history-library .poster-definition {padding-inline:4px}
}
