
.painted-cat,.painted-kings{display:block;width:100%;background-repeat:no-repeat;background-position:0 50%;background-size:400% 100%;image-rendering:auto;animation:painted-walk-cycle .9s steps(4,end) infinite}
.painted-cat{background-image:url('cat-painted.webp');aspect-ratio:var(--cat-frame-ratio,1.4)}
.painted-kings{background-image:url('kings-painted.webp');aspect-ratio:var(--kings-frame-ratio,1.6);animation-duration:1.25s}
@keyframes painted-walk-cycle{to{background-position:133.333333% 50%}}
.cat-walk{width:8%;min-width:40px;bottom:3%}.painted-limo{display:block;width:100%;height:auto;image-rendering:auto}
.scene[data-event=epiphany] .kings-route{width:26%;bottom:4%}.scene[data-event=oscars] .limo-route{width:38%;bottom:2%;filter:drop-shadow(0 3px 2px #17132666)}
.scene[data-event=meteors][data-light=night] .meteor-trails{inset:0 0 45%;display:block}.meteor-trails canvas{display:block;width:100%;height:100%}
@media(max-width:600px){.scene[data-event=epiphany] .kings-route{width:32%}.scene[data-event=oscars] .limo-route{width:45%}.cat-walk{width:10%}}

:root{--kings-frame-ratio:0.75;--cat-frame-ratio:0.75}

/* Remove the faint semi-transparent matte from the illustrated sprite. */
.painted-kings{filter:url(#clean-king-alpha)}

/* Every actor canvas is cropped to its foot/wheel baseline, not to the source-image border. */
.painted-cat,.painted-kings,.painted-limo{display:block;width:100%;height:auto;aspect-ratio:auto;background:none;animation:none;filter:none}
.scene .cat-walk,.scene[data-event=epiphany] .kings-route,.scene[data-event=oscars] .limo-route{bottom:1.2%;min-width:0}
.scene[data-event=epiphany] .kings-route{width:26%}
.scene[data-event=oscars] .limo-route{width:38%}
.scene .cat-walk{width:8%}
@media(max-width:600px){.scene[data-event=epiphany] .kings-route{width:26%}.scene[data-event=oscars] .limo-route{width:38%}.scene .cat-walk{width:8%}}

.mayfourth-message{display:none;position:absolute;left:24%;top:42%;max-width:30%;padding:.55em .7em;color:#f4e8c8;background:#30283bd9;border:1px solid #bca5d4;font:clamp(7px,1.2vw,15px)/1.4 monospace;text-align:center;z-index:2;pointer-events:none}.scene[data-event=mayfourth] .mayfourth-message{display:block}
.scene[data-light=night] .painted-kings,.scene[data-light=night] .painted-cat,.scene[data-light=night] .painted-limo{filter:brightness(.62) saturate(.72)}
