/* Painted foreground windows: original animated crop stays behind the jambs and sill. */
html body[data-character-edges] [data-raster-window][data-raster-window][data-raster-window]{width:min(100%,760px)!important;max-width:100%!important;min-width:0!important;justify-self:center!important;align-self:center!important;margin-inline:auto!important}
html body[data-character-edges] [data-raster-window] .character-window-media{padding:0!important;aspect-ratio:calc(var(--portrait-window-ratio) * 1.10)!important}
html body[data-character-edges] [data-raster-window] .character-window-media>:is(img,video){position:absolute!important;inset:var(--raster-y) auto auto var(--raster-x)!important;width:var(--raster-w)!important;height:var(--raster-h)!important;max-height:none!important;object-fit:cover!important;object-position:center top!important;clip-path:inset(0 round 5% 5% 0 0)!important}
html body[data-character-edges] [data-raster-window] .character-window-ornament{background-image:var(--raster-art)!important}
html body[data-character-edges] .finish-character-flipped .character-window-media>:is(img,video),
html body.creature[data-character-edges] .priority-cutout .character-window-media>:is(img,video),
html body.world-cup-soccer[data-character-edges] .priority-cutout .character-window-media>:is(img,video),
html body[data-character-edges] .named-character-frame:has(#nellie-melony-cartoon) .character-window-media>:is(img,video),
html body.big-bang-bar .bbb-pair-motion:has(#clean-big-bang-bar-0) .character-window-media>img{transform:scaleX(-1)!important}
/* Fit complete features within both the available column and browser height. */
html body .feature-motion.feature-motion:has(.feature-motion-frame){width:min(100%,calc((100svh - 190px) * var(--feature-media-ratio,1.5)))!important;max-width:100%!important;min-width:0!important;margin-inline:auto!important;transform:none!important;justify-self:center!important}
html body .feature-motion.feature-motion .feature-motion-frame{width:100%!important;min-width:0!important;max-width:100%!important;aspect-ratio:var(--feature-media-ratio,1.5)!important}
html body .feature-motion.feature-motion .feature-motion-frame>a{width:100%!important;height:100%!important}
html body .feature-motion.feature-motion .feature-motion-frame img{display:block!important;position:static!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:none!important;object-fit:contain!important;margin:0!important}
html body .feature-motion.feature-motion .feature-motion-frame>video{inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important}
html body.big-bang-bar[data-character-edges] [data-raster-window] .character-window-media>video#clean-big-bang-bar-0{transform:scaleX(-1)!important}

/* This source has blank bands above the hat and beneath the turkey. */
html body[data-character-edges] [data-raster-window]:has(#nellie-farmer-turkey-motion){--portrait-window-ratio:.76!important}
html body[data-character-edges] [data-raster-window] .character-window-media:has(#nellie-farmer-turkey-motion)>:is(img,video){object-position:center 46%!important}
