/* Preview only: compact upright books, in two columns on narrow screens. */
@media (max-width:650px){
 main{padding-inline:4%}
 .intro{padding:14px 0 16px}
 .intro h1,html[lang="ar"] .intro h1{font-size:32px;line-height:1.1}
 .intro .eyebrow{margin-bottom:10px}
 .intro-note{padding-top:12px}
 .iphone-library>.library-label{min-height:78px;padding-block:10px}
 .family-jumps{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-bottom:16px}
 .family-jumps a{min-height:44px;padding:8px 3px;font-size:10px}
 .family-jumps a span{margin-top:3px}
 .family-heading{align-items:center;gap:8px;padding:0 3px 7px}
 .family-heading>div{gap:8px}
 .family-heading h3{font-size:17px}
 .family-heading p{font-size:9px;max-width:130px;margin:0}
 .family-number{width:27px;height:27px;font-size:15px;border-radius:8px}
 .family-shelf{margin-bottom:12px;scroll-margin-top:12px}
 .family-bay,.family-16 .family-bay{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  padding:4px 4px 0;gap:0 5px;overflow:visible;scroll-snap-type:none;
  border-radius:15px 15px 8px 8px;direction:ltr;
 }
 .family-bay .book-bay{min-width:0;max-width:none;scroll-snap-align:none}
 .family-bay .book-stage{height:145px;padding-bottom:5px}
 .family-bay .book-stage::before{top:8px;left:10px;right:10px;height:2px}
 .family-bay .book-stage .closed-book{
  width:96px;height:135px;transform:perspective(800px) rotateY(-13deg) rotateZ(-3deg);
  filter:drop-shadow(6px 7px 4px #1b2a2a50);
 }
 .family-bay .book-stage .closed-book:hover,
 .family-bay .book-stage .closed-book:focus-visible{transform:perspective(800px) rotateY(-7deg) rotateZ(-1deg) translateY(-3px)}
 .family-bay .book-stage .book-cover{
  inset-inline-start:11px;padding:8px 6px 6px;
  grid-template-rows:5px 34px minmax(0,1fr);gap:3px;
  box-shadow:inset 2px 0 3px #0003,3px 1px 0 #f3eee2,5px 2px 0 var(--cover-deep);
 }
 .family-bay .book-stage .book-spine{width:13px;padding:9px 2px;font-size:6px;letter-spacing:.03em}
 .family-bay .book-stage .book-spine b{font-size:11px}
 .family-bay .book-stage .book-overline{font-size:4px;letter-spacing:.05em}
 .family-bay .book-stage .cover-title{font-size:13px;line-height:1.08}
 .family-bay .book-stage .cover-title small{font-size:7px;letter-spacing:.03em;margin-top:3px}
 .family-bay .book-stage .cover-photo{min-height:0}
 .family-bay .book-stage .cover-line,.family-bay .book-stage .cover-footer{display:none}
 .family-bay .book-caption{min-height:30px;padding:9px 2px 5px;gap:0;background:#f8f9fe}
 .family-bay .book-caption::before{height:6px;box-shadow:0 4px 5px -3px #30394a66}
 .family-bay .book-caption strong{font-size:12px;line-height:1.3;max-width:100%;font-weight:600}
 .family-bay .book-caption small{display:none}
 .family-shelf>.shelf-controls{display:none}
}
@media(max-width:350px){
 .intro h1,html[lang="ar"] .intro h1{font-size:32px}
 .family-heading h3{font-size:16px}
 .family-heading p{max-width:106px;font-size:8px}
 .family-bay .book-caption strong{font-size:11px}
}
