.smc,.smc *{box-sizing:border-box}
.smc{position:fixed;inset:0;z-index:119;pointer-events:none;overflow:hidden;direction:ltr;contain:strict}
.smc img{display:block;width:auto;max-width:none;height:100%;margin:0;border:0;border-radius:0;box-shadow:none;background:none;user-select:none}
.smc-peek{position:absolute;right:0;bottom:0;height:150px;padding:0;margin:0;border:0;background:none!important;box-shadow:none!important;cursor:pointer;pointer-events:auto;min-width:0;min-height:0;transform:translateX(105%);transition:transform .7s cubic-bezier(.3,1.4,.5,1);transform-origin:100% 100%}
.smc.is-in .smc-peek{transform:translateX(26%)}
.smc.is-in .smc-peek:hover,.smc.is-in .smc-peek:focus-visible,.smc.is-open .smc-peek{transform:none}
.smc.is-busy .smc-peek{transform:translateX(105%)}
.smc-peek img{animation:smcNod 5s ease-in-out infinite;transform-origin:100% 100%}
.smc-night .smc-peek{overflow:hidden;width:125px}
.smc-night .smc-peek img{height:270px;margin-left:8px;rotate:-9deg}
@keyframes smcNod{0%,86%,100%{transform:none}92%{transform:rotate(-4deg)}}
.smc-box{position:absolute;right:14px;bottom:160px;width:min(250px,calc(100vw - 100px));padding:12px 14px;border-radius:14px;background:#fffdfa;color:#0d1b2a;border:1px solid #d2b477;box-shadow:0 14px 36px rgba(6,17,29,.28);pointer-events:auto;font-size:14px;line-height:1.6;display:none}
.smc-box[dir=rtl]{direction:rtl;text-align:right}
.smc-night .smc-box{background:#18334a;color:#f7f2e8}
.smc.is-open .smc-box{display:block}
.smc-box b{display:block;font-size:14px;margin:0 0 8px;padding-inline-end:22px}
.smc-box a{display:block;padding:8px 12px;margin:0 0 6px;border-radius:10px;background:#b58a44;color:#fff!important;text-align:center;text-decoration:none;font-weight:700}
.smc-box button{border:0;background:none!important;box-shadow:none;color:inherit;font:inherit;font-size:12px;padding:6px 2px;cursor:pointer;opacity:.8;min-height:0}
.smc-box .smc-x{position:absolute;top:4px;inset-inline-end:8px;font-size:18px;padding:4px 8px}
.smc-sc{position:absolute;transition:opacity .5s}
.smc-sc.is-out{opacity:0}
@keyframes smcBlock{from{opacity:0;transform:translateY(-34px) scale(.7)}to{opacity:1;transform:none}}
.smc-build{right:8px;width:max-content;bottom:0;display:flex;align-items:flex-end;--h:230px}
.smc-build>svg{height:calc(var(--h)*1.12);width:auto;margin-right:calc(var(--h)*-.08);overflow:visible}
.smc-build>svg:not(.smc-house){height:calc(var(--h)*.72);margin-right:0}
.smc-build>svg>*{opacity:0;transform-box:fill-box;transform-origin:50% 100%;animation:smcBlock .42s both cubic-bezier(.3,1.5,.5,1);animation-delay:calc(2.3s + var(--i)*.6s)}
.smc-house .smc-w{animation:smcLight .6s 8.4s forwards}
@keyframes smcLight{to{fill:#ffd98a}}
.smc-crew{position:relative;flex:none;height:var(--h);width:calc(var(--h)*.94)}
.smc-crew>.smc-sc{inset:auto 0 0 auto;height:100%;transition:none}
.smc-walk{animation:smcWalkIn 2.3s linear both}
.smc-walk img{animation:smcStep .26s ease-in-out infinite alternate;transform-origin:50% 100%}
@keyframes smcWalkIn{0%{transform:translateX(var(--from,120%))}96%{transform:none;opacity:1}100%{opacity:0}}
.smc-ham{opacity:0;animation:smcShow .01s 2.22s forwards}
@keyframes smcShow{to{opacity:1}}
.smc-ham img+img{position:relative}
.smc-ham .smc-arm{position:absolute;inset:0 auto auto 0;transform-origin:36.8% 43.7%;animation:smcHit .6s 2.3s ease-in infinite}
@keyframes smcHit{0%,100%{transform:rotate(10deg)}45%{transform:rotate(12deg)}68%,76%{transform:rotate(-58deg)}}
@keyframes smcStep{from{transform:rotate(-2.5deg)}to{transform:rotate(2deg) translateY(-5px)}}
.smc-key{right:0;bottom:0;height:220px;animation:smcKey 6.4s linear both}
.smc-key img{scale:-1 1;animation:smcStep .3s ease-in-out infinite alternate;transform-origin:50% 100%}
@keyframes smcKey{0%{transform:translateX(105%)}26%,72%{transform:translateX(-20px)}100%{transform:translateX(108%)}}
.smc-throne{left:50%;top:50%;width:min(340px,76vw);aspect-ratio:33/44;translate:-50% -50%;animation:smcRise .9s both cubic-bezier(.3,1.3,.5,1);filter:drop-shadow(0 22px 34px rgba(6,17,29,.35))}
.smc-throne svg{position:absolute;inset:0;width:100%;height:100%}
.smc-throne .smc-sit{position:absolute;left:50%;top:9%;height:70%;translate:-50% 0;transform-origin:50% 100%;animation:smcBreath 1.6s ease-in-out infinite alternate}
@keyframes smcBreath{to{transform:scale(1.015,1.025)}}
@keyframes smcRise{from{opacity:0;transform:translateY(60px) scale(.8)}}
.smc-fly{top:22%;right:0;height:280px;animation:smcFly 3.6s linear both}
.smc-fly img{animation:smcA .36s steps(1) infinite}
.smc-fly .smc-f2{position:absolute;inset:0;animation-name:smcB}
@keyframes smcA{0%{opacity:1;transform:translateY(0)}50%{opacity:0}}
@keyframes smcB{0%{opacity:0}50%{opacity:1;transform:translateY(-10px)}}
@keyframes smcFly{0%{transform:translate(100%,50px)}35%{transform:translate(-30vw,-20px)}65%{transform:translate(-65vw,30px)}100%{transform:translate(calc(-100vw - 5%),-60px)}}
.smc-stage{position:absolute;inset:0}
.smc-l{scale:-1 1}
.smc-l .smc-house text{scale:-1 1;transform-box:fill-box;transform-origin:center}
.smc-l .smc-build,.smc-l .smc-key{right:84px}
.smc-c .smc-build{right:50%;translate:50% 0;--from:60vw}
.smc-c .smc-key{right:50%;translate:50% 0;animation-name:smcKeyUp}
@keyframes smcKeyUp{0%{transform:translateY(105%)}20%,78%{transform:none}100%{transform:translateY(108%)}}
.smc-c .smc-fly{animation-name:smcFlyC}
@keyframes smcFlyC{0%{transform:translate(100%,45vh)}45%,55%{transform:translate(calc(-50vw + 50%),10vh) scale(1.35)}100%{transform:translate(calc(-100vw - 5%),-40vh)}}
@media(max-width:640px){.smc-peek{height:104px}.smc-night .smc-peek{width:88px}.smc-night .smc-peek img{height:188px}.smc-box{bottom:112px}.smc-build{--h:140px}.smc-key{height:160px}.smc-fly{height:180px}}
@media(min-width:1800px){.smc-peek{height:210px}.smc-night .smc-peek{width:175px}.smc-night .smc-peek img{height:378px}.smc-box{bottom:222px}.smc-build{--h:320px}.smc-key{height:310px}.smc-throne{width:470px}.smc-fly{height:400px}}
@media print{.smc{display:none}}
@media(prefers-reduced-motion:reduce){.smc *{animation:none!important;transition:none!important}}
