/* Shared control sizing and book frame. Each model keeps its own cover and paper. */
html body :is(#iphone-return-home,#ipad-return-home,.return-website){
 display:inline-flex!important;align-items:center;justify-content:center;min-height:44px;
 padding:7px 12px!important;border-radius:8px!important;border:1px solid #ffe000!important;
 background:#ffe000!important;color:#17150a!important;text-decoration:none!important;font-weight:750!important;
}
html body :is(#iphone-return-home,#ipad-return-home,.return-website):focus-visible{outline:2px solid #17150a;outline-offset:3px}
html body #reader#reader [data-pt-reading-spine],html body :is(.book-bay,.family-bay) [data-book] .book-spine{
 background:linear-gradient(90deg,#090909,#26220f,#0c0c0c)!important;color:#ffe000!important
}
html body #reader#reader .open-book{border-color:#bca530!important;outline-color:#17150a!important}
html body #reader#reader .book-ribbon{background:linear-gradient(90deg,#8f6f09,#f8d139,#ab8218)!important}
html body #reader#reader .ribbon-wordmark{color:#19160a!important}
html body #reader#reader :is(#reader-support,#price-enquiry) a,html body #reader#reader .contact a{
 flex:1 1 8rem!important;display:inline-flex!important;align-items:center;justify-content:center;text-align:center;min-height:44px;
 max-width:13rem;padding:6px 12px!important;border:1px solid #d1b700!important;border-radius:8px!important;
 background:#ffe000!important;color:#17150a!important;white-space:nowrap;
}
html body #reader#reader #previous:disabled{color:#515151!important;opacity:1!important;background:#e3ded0!important}
html body #reader#reader :is(#repair-illustration-footer,#galaxy-a-illustration-footer){
 box-sizing:border-box;margin:8px auto 6px!important;padding:4px 10px!important;
 color:#584422!important;text-align:center;font-size:clamp(11px,1vw,13px)!important;line-height:1.35;overflow-wrap:anywhere;
}
html body #reader#reader .page-left .art-area{align-self:center;justify-self:stretch;min-width:0}
html body #reader#reader .page-left .part-photo-frame{margin-inline:auto;width:100%;justify-content:center;align-items:center}
html body #reader#reader .page-left .part-photo-frame img{max-inline-size:100%;object-position:center}
html body #reader#reader :is(.watermark,.page-watermark){inset-inline:8%!important;max-inline-size:84%;text-overflow:clip}
html body #reader#reader .galaxy-book-actions{min-width:0;position:relative}
html body #reader#reader #galaxy-model-toggle{
 display:inline-flex;align-items:center;gap:.45rem;min-height:44px;padding:.45rem .65rem;
 border:1px solid #bca530;border-radius:8px;background:#17150a;color:#ffe000;font:inherit;cursor:pointer
}
html body #reader#reader #galaxy-model-options{max-height:min(20rem,50dvh);padding:.3rem .3rem .8rem;scroll-padding:.35rem .35rem .8rem}
html body #reader#reader #galaxy-model-options[hidden]{display:none}
html body #reader#reader .galaxy-in-page-model{
 display:inline-flex;justify-self:center;align-items:center;max-width:100%;margin:.15rem auto;
 color:#46370f;font-size:.72rem;line-height:1.15;overflow-wrap:anywhere;text-align:center
}
html body #reader#reader #iphone-picker-title{max-width:100%;font-size:clamp(.95rem,3.6vw,1.35rem);text-wrap:balance}
@media(max-width:520px){
 html body #reader#reader :is(#reader-support,#price-enquiry) a,html body #reader#reader .contact a{font-size:.8rem!important;padding-inline:6px!important;min-width:0}
}
html body #reader#reader .page-left .pt-standing-model.galaxy-in-page-model{position:relative!important;inset:auto!important;transform:none!important;writing-mode:horizontal-tb;max-height:4rem}
html body #reader#reader .page-left .galaxy-in-page-model :is(img,svg){max-height:3rem;width:auto;max-width:100%;object-fit:contain}
html body #reader#reader .page-left #galaxy-standing-cover-art.galaxy-in-page-model:not([hidden]){
 position:static!important;display:flex!important;justify-content:center;
 transform:none!important;width:auto;max-width:100%;max-height:4rem;margin-inline:auto;
}
html body #reader#reader .page-left #galaxy-standing-cover-art.galaxy-in-page-model img{height:clamp(28px,6vw,54px);width:auto;max-width:100%;object-fit:contain}
html body #reader#reader .page-left .galaxy-a-evidence{max-width:min(100%,23rem);margin-inline:auto}
html body #reader#reader .page-left .galaxy-a-evidence img{max-height:clamp(70px,20vw,184px)}
html body #reader#reader #price-enquiry{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
html body #reader#reader #price-enquiry[hidden]{display:none!important}
html body #reader#reader #price-enquiry a{max-width:none;width:100%;white-space:normal;overflow-wrap:anywhere}
html body #reader#reader #price-enquiry :is(.whatsapp-note,.enquiry-label){grid-column:1/-1}
html body #reader#reader #price-enquiry #call-shop span{white-space:nowrap}
