.rcw-canvas{position:fixed;inset:0;width:100%;height:100%;pointer-events:none!important;z-index:900;display:block;margin:0!important;padding:0!important;border:0!important}.rcw-preview-canvas{position:absolute;z-index:2}.rcw-toggle {
    position: fixed;
    right: 29px;
    bottom: 80px;
    z-index: 901;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #8196af66;
    border-radius: 6px;
    background: #182638;
    color: #e9f4ff;
    cursor: pointer;
    font-size: 17px;
    line-height: 1;
    box-shadow: 0 2px 9px #0003;
}.rcw-toggle[aria-pressed=false]{opacity:.55}.rcw-toggle:focus-visible{outline:2px solid #9ddfff;outline-offset:2px}@media(prefers-reduced-motion:reduce){.rcw-canvas{display:none}}

/* Hat sits on the falling T and falls together with it. */
.brand__name.rcw-hat-active{overflow:visible}
.rcw-logo-hat{display:none;position:absolute;pointer-events:none;left:-.18em;bottom:.78em;width:1.42em;height:1.02em;background:url("santa-hat.svg") center/contain no-repeat;transform:rotate(-10deg);transform-origin:46% 86%;z-index:1}
.rcw-hat-active .rcw-logo-hat{display:block}
@media(prefers-reduced-motion:reduce){.rcw-logo-hat{transform:rotate(-10deg)}}

/* Only decorative spans animate; the logo itself stays in place. */
.rcw-hat-active .rcw-logo-hat{transform-origin:45% 85%;animation:rcw-hat-wiggle 3.8s ease-in-out infinite}
@keyframes rcw-hat-wiggle{0%,100%{transform:translateX(-.03em) translateY(0) rotate(-11deg)}25%{transform:translateX(.08em) translateY(-.02em) rotate(6deg)}50%{transform:translateX(.01em) translateY(0) rotate(-4deg)}75%{transform:translateX(-.09em) translateY(.01em) rotate(-15deg)}}
.rcw-rus-active .rcw-rus>span{animation:rcw-rus-lamp 4.8s infinite;--rcw-lamp:#ff5656}
.rcw-rus-active .rcw-rus>span:nth-child(2){--rcw-lamp:#65ef91;animation-delay:-.45s}
.rcw-rus-active .rcw-rus>span:nth-child(3){--rcw-lamp:#ffd366;animation-delay:-.9s}
@keyframes rcw-rus-lamp{0%,12%,26%,38%,100%{color:inherit;text-shadow:none}16%,31%,45%,86%{color:var(--rcw-lamp);text-shadow:0 0 5px var(--rcw-lamp),0 0 12px var(--rcw-lamp)}92%{color:inherit;text-shadow:none}}
@media(prefers-reduced-motion:reduce){.rcw-hat-active .rcw-logo-hat,.rcw-rus-active .rcw-rus>span{animation:none}}

/* The final T rotates around its lower right corner without reflowing the logo. */
.rcw-logo-fall{display:inline-block;transform-origin:85% 88%;transform:rotate(0deg)}
.rcw-fall-active{overflow:visible}
.rcw-fall-active .rcw-logo-fall{animation:rcw-letter-fall 9s infinite both}
@keyframes rcw-letter-fall{
 0%,45%,100%{transform:rotate(0deg);animation-timing-function:ease-in-out}
 49%{transform:rotate(-12deg);animation-timing-function:cubic-bezier(.55,.05,.85,.45)}
 57%{transform:rotate(90deg);animation-timing-function:ease-out}
 60%{transform:rotate(81deg)}
 63%,78%{transform:rotate(90deg);animation-timing-function:ease-in-out}
 89%{transform:rotate(-9deg);animation-timing-function:ease-out}
 94%{transform:rotate(3deg)}
 97%{transform:rotate(0deg)}
}
@media(prefers-reduced-motion:reduce){.rcw-fall-active .rcw-logo-fall{animation:none;transform:none}}

/* Keep the top utility strip and main header in one sticky stack. */
.rcw-sticky-utility .utility {position:sticky;top:0;z-index:31;}
.rcw-sticky-utility .site-header:not(.is-unstuck) {top:var(--rcw-utility-height,0px);}

/* Keep the animated hat above the sticky utility strip without changing layout. */
.rcw-sticky-utility .site-header:has(.brand__name.rcw-hat-active){z-index:32;}

/* Gnome runs in a non-interactive overlay. Letter lift is controlled by JS. */
.rcw-fall-active.rcw-helper-active .rcw-logo-fall{animation:none!important}
.rcw-helper-layer{position:fixed;inset:0;pointer-events:none!important;z-index:902;overflow:hidden}
.rcw-helper-layer.rcw-helper-preview{position:absolute;z-index:3}
 .rcw-gnome{position:absolute;width:42px;height:48px;visibility:hidden;transform:translate(-50%,-100%);pointer-events:none;filter:drop-shadow(0 2px 2px #0005)}
.rcw-gnome svg{display:block;width:100%;height:100%;overflow:visible;pointer-events:none}
@media(prefers-reduced-motion:reduce){.rcw-helper-layer{display:none}}

/* Speech appears only after the letter has been restored. */
.rcw-gnome-speech{position:absolute;left:50%;bottom:calc(100% + 8px);transform:translateX(-50%);white-space:nowrap;background:#fff;color:#243448;border:1px solid #b9c9d9;border-radius:6px;padding:5px 9px;font:inherit;box-shadow:0 2px 8px #0003;pointer-events:none;z-index:2}
.rcw-gnome-speech[hidden]{display:none!important}
.rcw-gnome-speech::after{content:"";position:absolute;top:100%;left:50%;transform:translateX(-50%);border:5px solid transparent;border-top-color:#fff}
@media(max-width:760px){.rcw-helper-layer:not(.rcw-helper-preview){display:none!important}}

.rcw-gnome-speech{white-space:normal;width:max-content;max-width:240px;text-align:center;box-sizing:border-box}
.rcw-gnome-speech::after{left:var(--rcw-tail,50%)}
.rcw-gnome-speech.rcw-speech-below{bottom:auto;top:calc(100% + 8px)}
.rcw-gnome-speech.rcw-speech-below::after{top:auto;bottom:100%;border-top-color:transparent;border-bottom-color:#fff}

/* Speech beside the gnome, at face height. */
.rcw-gnome-speech{top:50%;bottom:auto;transform:translateY(-50%)}
.rcw-gnome-speech::after{top:50%;bottom:auto;left:auto;right:100%;transform:translateY(-50%);border:5px solid transparent;border-right-color:#fff}
.rcw-gnome-speech.rcw-speech-left::after{right:auto;left:100%;border-right-color:transparent;border-left-color:#fff}

/* Without the desktop helper, keep the hat still during the falling-letter cycle. */
.rcw-hat-active.rcw-fall-active:not(.rcw-helper-active) .rcw-logo-hat{animation:rcw-hat-fall-rest 9s infinite both}
@keyframes rcw-hat-fall-rest{0%,45%{transform:rotate(-10deg)}20%{transform:rotate(6deg)}35%{transform:rotate(-15deg)}49%,89%{transform:rotate(-10deg)}100%{transform:rotate(-10deg)}}
@media(prefers-reduced-motion:reduce){.rcw-hat-active.rcw-fall-active:not(.rcw-helper-active) .rcw-logo-hat{animation:none}}
