/* One filled contour includes head, chest and both arms. No shoulder disks.
   CSS path interpolation bends the complete foreleg while keeping its chest root fixed. */
[data-cat-silhouette]{animation:none}
.scene-container #cat-paw,#intro-cat-paw{transform-box:view-box;transform-origin:65px 12px;animation:none!important;transform:none}
@supports(d:path("M0 0L1 1")){
  [data-cat-silhouette]{animation:cat-whole-wave 1.4s ease-in-out infinite}
  .scene-container #cat-paw,#intro-cat-paw{animation:cat-pad-wave 1.4s ease-in-out infinite!important}
}
.scene-container #cat-tail,#intro-cat-tail{transform-box:view-box;transform-origin:0px 0px}
#intro-cat-motion{transform-box:fill-box;transform-origin:center bottom;animation:cat-breathe 4s ease-in-out infinite}
#intro-cat-tail{animation:tail-sway 3.4s ease-in-out infinite alternate}
.welcome-cat{width:174px;height:214px;left:7px;bottom:0;overflow:visible}
.doorway{overflow:hidden}.wood-door{z-index:2}.door-pulling-paw{display:none}
@keyframes cat-whole-wave{0%,100%{d:path("M-59.0 -42.0C-59.25645065307617 -47.89835739135742 -58.26333236694336 -53.33634948730469 -56.18930435180664 -58.1959114074707C-58.728878021240234 -73.88823699951172 -57.53784942626953 -88.6175308227539 -54.0 -101.0C-53.0 -105.0 -49.0 -106.0 -46.0 -103.0L-22.03763198852539 -82.12955474853516C-19.768896102905273 -82.52886962890625 -17.420618057250977 -82.82069396972656 -15.0 -83.0C-1.4711189270019531 -85.8990478515625 11.123932838439941 -85.06277465820312 22.785154342651367 -81.39358520507812L48.0 -104.0C51.0 -107.0 55.0 -106.0 57.0 -102.0C64.0 -88.0 66.0 -70.0 61.0 -49.0L60.65672302246094 -49.23702621459961C61.54368209838867 -44.44934844970703 61.665382385253906 -39.32305908203125 61.0 -34.0C59.68380355834961 -14.915139198303223 49.705726623535156 -0.5943100452423096 34 7C28 14 54 21 58-7C58-14 58-19 62-24C68-33 79-33 85-25C93-15 86-1 81 10C74 25 64 37 51 42C54 54 58 75 54 90C52 100 47 105 43 107C52 116 34 119 24 116C9 117-10 117-24 116C-38 119-55 115-47 104C-55 96-56 79-51 63C-59 62-62 54-58 43C-56 29-49 19-42 13C-35 7-28 9-34.117527 5.183533C-49.748516-3.379775-59-19.027842-59-42Z")}50%{d:path("M-59.0 -42.0C-59.25645065307617 -47.89835739135742 -58.26333236694336 -53.33634948730469 -56.18930435180664 -58.1959114074707C-58.728878021240234 -73.88823699951172 -57.53784942626953 -88.6175308227539 -54.0 -101.0C-53.0 -105.0 -49.0 -106.0 -46.0 -103.0L-22.03763198852539 -82.12955474853516C-19.768896102905273 -82.52886962890625 -17.420618057250977 -82.82069396972656 -15.0 -83.0C-1.4711189270019531 -85.8990478515625 11.123932838439941 -85.06277465820312 22.785154342651367 -81.39358520507812L48.0 -104.0C51.0 -107.0 55.0 -106.0 57.0 -102.0C64.0 -88.0 66.0 -70.0 61.0 -49.0L60.65672302246094 -49.23702621459961C61.54368209838867 -44.44934844970703 61.665382385253906 -39.32305908203125 61.0 -34.0C59.68380355834961 -14.915139198303223 49.705726623535156 -0.5943100452423096 34 7C28 14 57 26 65.98-8.22C68.72-14.67 70.67-19.27 76.3-22.31C85.34-28.25 95.47-23.95 97.87-14.24C101.32-1.91 89.41 8.24 80.51 16.41C75 28 64 37 51 42C54 54 58 75 54 90C52 100 47 105 43 107C52 116 34 119 24 116C9 117-10 117-24 116C-38 119-55 115-47 104C-55 96-56 79-51 63C-59 62-62 54-58 43C-56 29-49 19-42 13C-35 7-28 9-34.117527 5.183533C-49.748516-3.379775-59-19.027842-59-42Z")}}
@keyframes cat-pad-wave{0%,100%{transform:rotate(0deg)}50%{transform:rotate(23deg)}}
.motion-off [data-cat-silhouette],.motion-off #cat-paw,.motion-off #intro-cat-paw{animation:none!important;transform:none!important}
@media(prefers-reduced-motion:reduce){[data-cat-silhouette],#cat-paw,#intro-cat-motion,#intro-cat-paw,#intro-cat-tail{animation:none!important;transform:none!important}}

/* Intro-only repair: complete cat is a foreground sibling, never inside the door clip.
   Door still opens behind it; homepage art, cat geometry and motion stay unchanged. */
#welcome-screen .door-vignette{isolation:isolate;overflow:visible}
#welcome-screen .door-wall{z-index:1}
#welcome-screen .doorstep{z-index:2}
#welcome-screen .welcome-cat{position:absolute;left:69px;top:41px;bottom:auto;width:174px;height:214px;z-index:3;overflow:visible;pointer-events:none}
#welcome-screen .welcome-content>p{max-width:calc(100vw - 44px);margin-inline:auto;line-height:1.9}

/* Wider, taller entrance. Center the torso (SVG x=0), not the right-heavy tail box. */
#welcome-screen .door-vignette{width:min(340px,calc(100vw - 32px));height:320px;overflow:visible}
#welcome-screen .door-wall{left:22px;top:10px;width:calc(100% - 44px);height:285px;padding:10px;border-radius:150px 150px 5px 5px}
#welcome-screen .doorway{top:0;width:100%;height:265px;border-radius:140px 140px 0 0;overflow:hidden}
#welcome-screen .door-light,#welcome-screen .wood-door{border-radius:140px 140px 0 0}
#welcome-screen .door-panel{border-radius:125px 125px 0 0}
#welcome-screen .welcome-cat{left:calc(50% - 69.624px);top:76px;bottom:auto;width:174px;height:214px;z-index:3;overflow:visible}
#welcome-screen .doorstep{left:12px;right:12px;top:285px;bottom:auto;height:10px}

/* Quick greeting: one second of opening/waving, then the existing 200ms fade. */
#welcome-screen .wood-door{transition-duration:.65s}
#welcome-screen.is-opening .welcome-progress span{animation-duration:1s}
@supports(d:path("M0 0L1 1")){
  #welcome-screen [data-cat-silhouette]{animation-duration:1s}
  #welcome-screen #intro-cat-paw{animation-duration:1s!important}
}
#welcome-screen .skip-intro{z-index:10}
@media(max-height:650px){#welcome-screen .welcome-kicker{max-width:210px;margin-inline:auto}}
