/* M24: preserve the entire image at every viewport. Coordinate-based game scenes
   intentionally fill their established coordinate plane; no source pixels are cropped. */
html img:not(.scene-wrap > img){object-fit:contain!important}
/* Keep the approved composition without cover-cropping heads or feet on wide displays. */
html body.magazine-m23b .mag-hero-art{object-fit:contain!important;object-position:right center;width:min(64%,952px);right:max(0px,calc((100% - 1488px)/2));height:100%;max-height:none}
html body.magazine-m23b .mag-hero{overflow:visible}
@media(max-width:1120px){html body.magazine-m23b .mag-hero-art{position:static;width:100%;height:auto;max-height:none;object-position:center;aspect-ratio:auto}}
@media(min-width:961px) and (max-width:1120px){html body.magazine-m23b:not(.reading-largest) .mag-hero-art{position:absolute;right:0;top:0;width:64%;height:100%;object-fit:contain!important;object-position:right center}}
/* Promo artwork stays inside the card, without negative edge offsets. */
html body.magazine-m23b .mag-play>div{width:56%}
html body.magazine-m23b .mag-play>img{right:0;bottom:0;width:46%;height:auto;max-height:88%;object-fit:contain!important;object-position:center bottom;margin:0}
@media(max-width:1120px){html body.magazine-m23b .mag-play>div{width:58%}html body.magazine-m23b .mag-play>img{width:40%;right:0;bottom:0;height:auto;max-height:94%}}
@media(max-width:760px){html body.magazine-m23b .mag-play>div{width:100%}html body.magazine-m23b .mag-play>img,html body.magazine-m23b.reading-largest .mag-play>img{position:static;align-self:center;width:min(100%,290px);height:auto;max-height:none;margin:18px 0 0;object-position:center bottom}}
/* Card/document images may have a fixed display frame, but the whole source fits inside it. */
html .news-scene img,html .town-hero>img,html .home-joy-card>img,html .episode-new img,html .fortune-hero img,html .puzzle-picture img,html .hidden-scene-card img,html .table-cover,html .new-game-cover{object-position:center!important}
html .home-editorial-image,html .joy-news-picture,html .joy-event-art{min-width:0}
/* The Go menu's hand asset was placed partly outside its thumbnail. */
html .go-cover>img{inset:auto;position:relative;display:block;width:100%;height:100%;max-width:100%;object-fit:contain!important;transform:none}
/* Hidden-object maps and moving sprite frames retain their exact game coordinates.
   App .real-crop frames are intentional detail views, paired with the full original. */
html .game-menu .game-cover.cover-puzzle{background-size:contain!important;background-repeat:no-repeat;background-position:center}
/* A larger reading setting can make the copy taller. Let its section grow instead
   of letting controls overlap the following section. */
@media(min-width:1121px){html body.magazine-m23b .mag-hero{height:auto;min-height:625px}html body.magazine-m23b .mag-hero-inner{height:auto;min-height:625px}html body.magazine-m23b .mag-hero-copy{padding-bottom:48px}}
@media(min-width:961px) and (max-width:1120px){html body.magazine-m23b:not(.reading-largest) .mag-hero{height:auto;min-height:500px}html body.magazine-m23b:not(.reading-largest) .mag-hero-inner{height:auto;min-height:500px}html body.magazine-m23b:not(.reading-largest) .mag-hero-copy{padding-bottom:36px}}
