/* Reveal the panorama below the jump without moving or scaling the cat.
   Paint the full original at v141's exact scale and offset; only the outer
   card clips it now. Wide cards need no scrim or image fade at all. */
body #menu.menu[data-mode=levels] #chapterCard{
 position:relative;display:block;container-type:inline-size;
 --chapter-card-height:clamp(240px,calc(18vw + 130px),330px);
 --chapter-inner-height:calc(var(--chapter-card-height) - 2px);
 --chapter-caption-room:62px;
 --chapter-art-anchor:.77;
 height:var(--chapter-card-height);
}
body #menu.menu[data-mode=levels] #chapterCard .chapter-visual{position:absolute;inset:0;border:0;opacity:1}
body #menu.menu[data-mode=levels] #chapterCard .chapter-visual::after{content:none}
body #menu.menu[data-mode=levels] #chapterArtwork{
 --chapter-paint-height:max(56.279904cqw,calc(var(--chapter-inner-height) - var(--chapter-caption-room)));
 inset:auto;
 top:calc((var(--chapter-inner-height) - var(--chapter-caption-room) - var(--chapter-paint-height)) * var(--chapter-art-anchor));
 left:50%;transform:translateX(-50%);
 width:calc(var(--chapter-paint-height) * 1.7768331562);height:var(--chapter-paint-height);max-width:none;
 object-fit:fill;opacity:1;filter:saturate(.62);
 /* Small cards reach the source image's bottom. Fade only its last 24px,
    below the cat, into the caption surface instead of darkening the art. */
 -webkit-mask-image:linear-gradient(to bottom,#000 calc(100% - 24px),transparent);
 mask-image:linear-gradient(to bottom,#000 calc(100% - 24px),transparent);
}
body #menu.menu[data-mode=levels] .chapter-copy,
body[dir=rtl] #menu.menu[data-mode=levels] .chapter-copy{position:absolute;background:none}
body #menu.menu[data-mode=levels] :is(#chapterState,#chapterTitle){text-shadow:0 2px 3px #03131c,0 0 8px #03131c}
@container(min-width:930px){
 body #menu.menu[data-mode=levels] #chapterArtwork{-webkit-mask-image:none;mask-image:none}
}
@media(max-width:599px){
 body #menu.menu[data-mode=levels] #chapterCard{--chapter-caption-room:82px;--chapter-art-anchor:.7}
}
