html.welcome-open{overflow:hidden}
.knodd-welcome{position:fixed;inset:0;width:100%;max-width:none;height:100%;height:100dvh;max-height:none;margin:0;padding:24px;border:0;color:var(--ink,#293C38);background:#F4F0E6;overflow:auto;text-align:center;overscroll-behavior:contain}
.knodd-welcome:not([open]){display:none}
.knodd-welcome::backdrop{background:#F4F0E6}
.welcome-inner{position:relative;min-height:100%;width:min(100%,800px);margin:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;isolation:isolate;padding:12px 0}
.welcome-inner::before{content:"";position:absolute;z-index:-1;width:min(70vw,530px);aspect-ratio:1;border-radius:50%;background:radial-gradient(ellipse,#B2C8BA70 0%,#B2C8BA24 52%,transparent 72%);top:8%;left:50%;transform:translateX(-50%);pointer-events:none}
.welcome-skip{position:fixed;right:max(22px,env(safe-area-inset-right));top:max(18px,env(safe-area-inset-top));z-index:2;background:none;border:0;padding:12px;color:#506154;font:inherit;font-size:14px;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.splash-wordmark{width:150px;height:auto;margin:0 0 8px}
.splash-hello{font-size:13px;line-height:1.4;letter-spacing:.08em;color:#80644B;margin:0 0 8px}
.welcome-character{position:relative;width:min(39vh,380px,76vw);width:min(39dvh,380px,76vw);aspect-ratio:1;flex:none;margin:0 auto 14px;filter:drop-shadow(0 12px 18px #80644B13)}
.welcome-character img,.welcome-character canvas,.welcome-character video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.welcome-character canvas[hidden],.welcome-character video[hidden]{display:none}
.welcome-animated .welcome-character img{visibility:hidden}
.welcome-character::after{content:"";position:absolute;inset:auto 21% 1%;height:3%;background:#80644B16;border-radius:50%;filter:blur(8px);z-index:-1}
.splash-tagline{font-family:Nunito,sans-serif;font-size:clamp(21px,3.5vw,29px);font-weight:700;line-height:1.22;letter-spacing:-.025em;margin:0 0 10px;max-width:400px}
.splash-invitation{font-size:15px;margin:0 0 22px;color:#506154;max-width:340px;line-height:1.5}
.welcome-enter{min-width:188px;min-height:52px;justify-content:center;gap:20px;cursor:pointer}
.welcome-enter span{display:inline-block;transition:transform .25s ease}
.welcome-enter:hover span{transform:translateX(4px)}
.welcome-replay{margin-top:12px;background:none;border:0;padding:10px 14px;color:#80644B;font:inherit;font-size:13px;cursor:pointer;text-underline-offset:4px}
.welcome-replay:hover{text-decoration:underline}
.welcome-replay:disabled{opacity:.55;cursor:default}
.welcome-replay[hidden],.welcome-reopen[hidden]{display:none}
.welcome-reopen{display:block;background:none;border:0;padding:10px 0;color:#80644B;font:inherit;font-size:13px;cursor:pointer;text-decoration:underline;text-underline-offset:4px}
.welcome-status{font-size:12px;margin:2px 0 0;min-height:18px;color:#80644B}
.knodd-welcome.welcome-leaving{animation:none;opacity:0;transition:opacity .18s ease-out}
.knodd-welcome :focus-visible,.welcome-reopen:focus-visible{outline:3px solid #80644B;outline-offset:5px;border-radius:6px}
@media(prefers-reduced-motion:no-preference){
 .knodd-welcome[open]{animation:welcome-room-in .5s ease-out both}
 .knodd-welcome[open] .welcome-character{animation:welcome-friend-in .9s .1s ease-out both}
 @keyframes welcome-room-in{from{opacity:0}to{opacity:1}}
 @keyframes welcome-friend-in{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
}
@media(max-height:650px){.welcome-inner{padding:34px 0 12px}.welcome-character{width:min(35dvh,250px,65vw);margin-bottom:8px}.splash-wordmark{width:125px}.splash-invitation{margin-bottom:12px}.welcome-replay{margin-top:4px}.splash-hello{margin-bottom:4px}}
@media(max-width:420px){.knodd-welcome{padding:16px}.welcome-inner{padding-top:46px}.welcome-character{width:min(39dvh,290px,78vw)}.splash-tagline{max-width:280px}.splash-invitation{max-width:270px}}
