/* R17: same identity, compositions chosen for each world. */
.screen-home .duomo-static picture{display:block;min-height:0;height:100%;overflow:hidden}
.screen-home .duomo-static picture img{height:100%;width:100%;object-fit:contain}
@media(max-width:820px){
.screen-home .duomo-static picture img{object-fit:cover;object-position:50% 30%}
.screen-home .screen-home-panel{grid-template-rows:minmax(0,1fr) clamp(168px,36dvh,340px)}
}
@media(min-width:375px) and (min-height:750px){
.screen-home .premium-intro h1{font-size:22px}
.screen-home .store-card h2,.screen-home .store-card>small,.screen-home .store-cta{font-size:16px}
.screen-home .index-main strong{font-size:16px}
.screen-home .world-icon{width:22px;height:22px}
.screen-home .collection-name{font-size:16px}
.screen-home .collection-status{font-size:15px}
}
/* Reading body: fill available space; no forced blank introduction screens. */
.r16-reader[data-world="editorial"] .r16-page{border-top:4px solid #233B53;background:#FAFCF7}
.r16-reader[data-world="kids"] .r16-page{border-top:4px solid #233B53;background:#FAFCF7}
.r16-reader[data-world="projects"] .r16-page{border-top:4px solid #233B53;background:#FAFCF7}
.r16-reader[data-world="music"] .r16-page{border-top:4px solid #233B53;background:#FAFCF7}
.r16-page .r17-music-hero,.r16-page .r17-music-full{display:grid;grid-template-columns:44% minmax(0,1fr);gap:14px;align-items:start}
.r17-music-hero img,.r17-music-full img{width:100%;height:auto;max-height:none!important;object-fit:contain;align-self:start;border-radius:10px}
.r17-music-hero p,.r17-music-full p{font:16px/1.45 Arial,sans-serif;margin:0 0 12px;overflow-wrap:anywhere}
.r17-music-hero small,.r17-music-full small{font:14px/1.3 Arial,sans-serif;display:block;margin-bottom:10px;color:#233B53}
.r17-music-full h2{font:22px/1.2 Georgia,serif;margin:14px 0}
.r17-music-full a{display:flex;align-items:center;min-height:44px;font:16px/1.4 Arial,sans-serif;color:#233B53}
.r16-reader[data-world="editorial"] .r16-card{grid-template-columns:105px minmax(0,1fr)}
.r16-reader[data-world="kids"] .r16-card{grid-template-columns:90px minmax(0,1fr);border-left:3px solid #A9DAF3;padding-left:10px}
.r16-reader[data-world="kids"] .r16-card img{height:auto;align-self:start;max-height:none;max-width:100%;width:100%}
.r16-reader[data-world="projects"] .r16-feature{border-left:4px solid #A9DAF3;padding:8px 14px;background:#FAFCF7;border-radius:8px}
.r16-reader[data-world="editorial"] .r16-card img{align-self:start;height:auto}
@media(max-width:600px){
.r16-reader[data-world="editorial"] .r16-card{grid-template-columns:65px minmax(0,1fr)}
.r16-reader[data-world="kids"] .r16-card{grid-template-columns:75px minmax(0,1fr);padding-left:6px;gap:10px}
}
@media(min-width:821px){
.r17-music-full{grid-template-columns:38% minmax(0,1fr)!important;gap:32px!important}
.r17-music-full p{font-size:18px}
.r17-music-full h2{font-size:30px}
.r16-reader[data-world="kids"] .r16-card{grid-template-columns:120px minmax(0,1fr)}
}
/* Short / zoom reflow continues to show the original complete document. */

.r16-card>div:first-child{min-width:0;overflow-wrap:anywhere}

.r17-collection-detail h2{font:20px/1.2 Georgia,serif;margin:0 0 8px}
.r17-collection-detail p,.r17-collection-detail small{font:16px/1.4 Arial,sans-serif;margin:0 0 8px}
.r17-with-art{display:grid;grid-template-columns:75px minmax(0,1fr);gap:12px}
.r17-with-art img{width:100%;height:auto;max-height:none;align-self:start}

.r16-page .r17-editorial-shelf{display:flex;gap:16px;justify-content:space-around;align-items:flex-start}
.r17-editorial-shelf img{height:72px;width:auto;max-height:72px;object-fit:contain;margin:0!important}
@media(min-width:821px){.r17-editorial-shelf img{height:130px;max-height:130px}}

.r16-page .r17-social-card{border:0!important;padding:0!important;background:transparent}
.r17-social-card h2{font:20px/1.2 Georgia,serif;margin:0 0 8px}
.r17-social-card p{font:16px/1.35 Arial,sans-serif;margin:0 0 8px}
.r17-social-card img{width:64px;height:64px;max-height:64px;margin:0 auto 8px!important}
