/* Give the books more room, preserving their printed proportions and artwork. */
#catalogBooks,.populated-shelf .cards{grid-template-columns:repeat(5,minmax(0,1fr));column-gap:24px;row-gap:44px}
#catalogBooks>.card,.populated-shelf .card{min-width:0}
#catalogBooks .cover-stage,.populated-shelf .cover-stage{height:auto;aspect-ratio:2/3;max-height:440px;padding:12px 8px}
#catalogBooks .cover-stage img,.populated-shelf .cover-stage img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}
.hero-monthly-shelf{max-width:1480px;padding-left:3%;padding-right:3%}
.featured-cover-fan{min-width:820px;padding-top:62px;padding-bottom:86px}
.featured-cover{width:142%}
/* Let each printed cover determine its frame, without cream letterboxing. */
#collection .featured-cover{aspect-ratio:auto;background:transparent}
.featured-cover img{height:auto}
.edition-opening{max-width:1280px;gap:48px;align-items:center}
.edition-art{padding:32px 18px 22px;min-width:0}
.edition-art .story-edition-cover-link{width:min(100%,440px)}
.edition-art img{width:100%;max-width:440px;height:auto;object-fit:contain}
.story-cover{padding:24px 16px}
.story-cover .story-edition-cover-link{max-width:400px}
.story-cover .catalog-edition-cover{display:block;width:100%;height:auto;max-width:100%;object-fit:contain}
.recommendation-card img{width:136px;height:218px;max-width:42%;object-fit:contain}
.author-collection-card img{width:132px;height:212px;max-width:42%;object-fit:contain}
#roulette .roulette-result{grid-template-columns:160px minmax(0,1fr);max-width:660px;width:100%;gap:24px}
@media(max-width:1199px){
  #catalogBooks,.populated-shelf .cards{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:920px){
  #catalogBooks,.populated-shelf .cards{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px}
  .featured-scroll-hint{display:block;font-size:13px;line-height:1.6;color:var(--ink);margin:0 0 8px}
  .edition-opening{gap:28px}
}
@media(max-width:650px){
  .edition-art{padding:22px 8px 18px}
  .edition-art .story-edition-cover-link{width:min(100%,340px)}
  .edition-art img{max-width:340px}
  .story-cover .story-edition-cover-link{max-width:340px}
  .story-cover{padding:20px 8px}
  .recommendation-card img,.author-collection-card img{width:112px;height:180px}
  #roulette .roulette-result{grid-template-columns:140px minmax(0,1fr);gap:20px}
}
@media(max-width:559px){
  #catalogBooks,.populated-shelf .cards{grid-template-columns:minmax(0,1fr)}
  #catalogBooks .cover-stage,.populated-shelf .cover-stage{height:440px;aspect-ratio:auto;padding:16px 8px}
}
@media(max-width:400px){
  #roulette .roulette-result{grid-template-columns:minmax(0,1fr);text-align:center}
  #roulette .roulette-result-cover{width:170px;max-width:100%;margin:auto}
  #roulette .roulette-result h3{font-size:27px}
}
