/* Continuous sculpted drifts: one silhouette, no separate end pieces. */
.snowstorm :is(.header-shell,.hero-panorama,.latest-card,.listen-panel,.youtube-section,.recommendations,.community,.site-footer,.platform-button,.snow-button){position:relative}
.snowstorm .snow-cap{display:block!important;position:absolute!important;top:-24px!important;left:-7px!important;right:-7px!important;bottom:auto!important;height:42px!important;z-index:4;pointer-events:none;user-select:none;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20600%2050%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22s%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%23fff%22%2F%3E%3Cstop%20offset%3D%22.75%22%20stop-color%3D%22%23f7fcff%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23deeff5%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20fill%3D%22url%28%23s%29%22%20d%3D%22M3%2034%20C8%2024%2022%2027%2035%2022%20C53%2012%2062%2016%2081%2017%20C101%2018%20111%206%20134%208%20C157%2010%20165%2018%20190%2017%20C216%2016%20227%2011%20248%2015%20C272%2019%20285%2020%20307%2013%20C330%205%20341%208%20363%2012%20C385%2016%20399%2013%20417%2017%20C439%2021%20450%208%20473%2011%20C497%2014%20500%2020%20523%2018%20C547%2016%20550%2023%20569%2023%20C585%2023%20596%2029%20597%2034%20C599%2041%20591%2043%20582%2041%20C561%2037%20549%2037%20530%2039%20C506%2041%20488%2037%20469%2038%20C443%2041%20431%2038%20408%2038%20C383%2039%20364%2035%20342%2038%20C321%2042%20297%2036%20279%2038%20C255%2041%20236%2036%20216%2038%20C194%2041%20176%2035%20152%2038%20C129%2041%20111%2036%2092%2038%20C71%2041%2053%2035%2036%2039%20C18%2043%200%2043%203%2034Z%22%2F%3E%3C%2Fsvg%3E") center/100% 100% no-repeat;filter:drop-shadow(0 2px 1px #b0cdd733)}
.snowstorm .snow-cap::before,.snowstorm .snow-cap::after{content:none!important}
.snowstorm .header-shell>.snow-cap{top:-12px!important}
.snowstorm .platform-button>.snow-cap,.snowstorm .snow-button>.snow-cap{top:-16px!important;height:24px!important;left:-4px!important;right:-4px!important}
.snowstorm .listen-panel{overflow:visible}
.snowstorm .hero-panorama>.snow-cap{top:-23px!important;left:0!important;right:0!important;height:30px!important}
/* Keep the entire illustrated tagline unobstructed. */
.snowstorm .hero-panorama::after{content:none!important}
.snowstorm .hero-panorama img{filter:saturate(.85)}
.snowstorm .desktop-button-nav a{box-shadow:inset 0 2px #effaffaa}
.snowstorm .youtube-scenes figure{box-shadow:0 -3px 0 #f0f9fc}
.snowstorm .site-footer{border-top-color:#d5b16c}
@media(max-width:760px){.snowstorm .snow-cap{height:32px!important;top:-18px!important;left:-4px!important;right:-4px!important}.snowstorm .platform-button>.snow-cap,.snowstorm .snow-button>.snow-cap{height:20px!important;top:-14px!important}.snowstorm .hero-panorama>.snow-cap{height:20px!important;top:-17px!important}}
.snowfall{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:20;contain:strict}
.snowfall i{position:absolute;top:-12px;left:var(--x);width:var(--size);height:var(--size);border-radius:50%;background:#fff;opacity:.75;box-shadow:0 0 3px #e6f8ff77;animation:storm-fall var(--duration) linear var(--delay) infinite}
.snowfall i:nth-child(3n){opacity:.4;filter:blur(1px)}
.snowfall i:nth-child(4n){animation-direction:normal;--drift:-70px}
@keyframes storm-fall{0%{transform:translate3d(-40px,-20px,0)}50%{transform:translate3d(var(--drift),55vh,0)}100%{transform:translate3d(20px,105vh,0)}}
.snow-controls{padding-block:8px;text-align:end}
.snow-controls[hidden],body:not(.snow-ready) .snowfall{display:none}
.snow-toggle{border:1px solid #c7dfe9;border-radius:20px;padding:8px 13px;background:#133c33;color:#fff9e9;font:600 11px/1.4 system-ui;cursor:pointer;box-shadow:0 2px 8px #0002}
.snow-toggle:focus-visible{outline:3px solid #e5c680;outline-offset:3px}
.snow-paused .snowfall{display:none}
@media(max-width:760px){.snowfall i:nth-child(n+29){display:none}.snowstorm .desktop-button-nav a{box-shadow:none}.snowstorm .header-shell>.snow-cap{height:19px!important}.snow-cap{height:20px!important}}
@media(prefers-reduced-motion:reduce){.snowfall i{animation:none;display:none}.snow-controls{display:none}}
@media print{.snowfall,.snow-controls{display:none}}
/* Rest the masthead drift directly on the red band's upper border. */
.snowstorm .site-header>.snow-cap{top:calc(14% - 25px)!important;left:0!important;right:0!important;height:42px!important;z-index:3}
.snowstorm .latest-card>.snow-cap,.snowstorm .listen-panel>.snow-cap,.snowstorm .community>.snow-cap{top:-22px!important}
@media(max-width:760px){.snowstorm .site-header>.snow-cap{top:-3px!important;height:32px!important}.snowstorm .latest-card>.snow-cap,.snowstorm .listen-panel>.snow-cap,.snowstorm .community>.snow-cap{top:-16px!important}}
/* Desktop: the train passes in front of snow resting on the red band. */
@media(min-width:761px){
 .snowstorm .site-header>.snow-cap{z-index:0}
 .snowstorm .site-header .masthead-brand{position:relative;z-index:1}
 .snowstorm .site-header .masthead-caption{position:relative;z-index:1}
}

/* Rest the snow on the footer's top border. */
.snowstorm .site-footer > .snow-cap {
 top: -35px !important;
 left: 0 !important;
 right: 0 !important;
}
@media (max-width: 760px) {
 .snowstorm .site-footer > .snow-cap { top: -27px !important; }
}

.snowstorm :is(.youtube-section, .recommendations) > .snow-cap {
 left: 0 !important;
 right: 0 !important;
}

/* Match the hero's snow profile, with a shadow visible on cream. */
.snowstorm .platform-button > .snow-cap {
 top: -17px !important;
 left: -1px !important;
 right: -1px !important;
 filter: drop-shadow(0 2px 1px #34546050);
}
@media (max-width: 760px) {
 .snowstorm .platform-button > .snow-cap { top: -15px !important; }
}
