/* Viewport corrections kept separate from the base theme for easy maintenance. */
html,body{max-width:100%;overflow-x:hidden}.reader-page{container-type:inline-size}
@media(max-width:380px){
  .topbar{height:64px;padding:0 12px}.brand{font-size:16px}.brand-mark{width:35px;height:35px;border-radius:12px}
  .content{padding:3px 12px 20px}.feature{min-height:185px;border-radius:20px;margin:17px 0}.feature-copy{padding:20px;max-width:78%}.feature-copy h2{font-size:23px}.feature-copy p{font-size:12px}
  .comic-grid{gap:10px}.comic-card{border-radius:15px}.comic-card-copy{padding:9px 10px 11px}.comic-card strong{font-size:13px}.genre{font-size:10px}.bottom-nav{gap:13vw}
  .reader-title{max-width:47vw}.reader .topbar{padding:0 10px}.reader-tools{right:9px;bottom:11px}.reader-panel{right:8px;bottom:64px}
}
@media(min-width:481px) and (max-width:699px){.content{padding-left:24px;padding-right:24px}.comic-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.feature{min-height:245px}}
@media(min-width:700px) and (max-width:899px){.content{padding-left:96px;padding-right:30px}.comic-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1200px){.comic-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.reader-stage{max-width:900px}}
