/* A home-only journey through the existing Base artwork. No foreground,
   personal image, camera or shared live media is selected by this sheet. */
#overliveBaseWallpaper.base-expedition-scene{
  --expedition-duration:13s;
}
#overliveBaseWallpaper.base-expedition-scene>:is(img,video){
  transform-origin:50% 50%;
}
#overliveBaseWallpaper.base-expedition-scene[data-expedition-phase='intro']>:is(img,video){
  animation:overlive-expedition-descent var(--expedition-duration) cubic-bezier(.36,0,.22,1) 1 both;
}
#overliveBaseWallpaper.base-expedition-scene[data-expedition-phase='ambient']>:is(img,video){
  animation:overlive-expedition-breathe 32s ease-in-out infinite;
}
#overliveBaseWallpaper.base-expedition-scene>.base-expedition-weather{
  position:absolute;
  inset:0;
  overflow:hidden;
  pointer-events:none;
  contain:strict;
}
#overliveBaseWallpaper.base-expedition-scene>.base-expedition-weather[hidden]{display:none!important;}
#overliveBaseWallpaper.base-expedition-scene>.base-expedition-weather>span{
  position:absolute;
  display:block;
  pointer-events:none;
}
#overliveBaseWallpaper.base-expedition-scene .expedition-snow-far,
#overliveBaseWallpaper.base-expedition-scene .expedition-snow-near{
  inset:-1152px -32px 0;
  background-repeat:repeat;
  background-size:192px 192px;
}
#overliveBaseWallpaper.base-expedition-scene .expedition-snow-far{
  z-index:2;
  opacity:.24;
  background-image:
    radial-gradient(circle at 8% 14%,#ecedf2 0 .65px,transparent 1.15px),
    radial-gradient(circle at 71% 5%,#e1e4eb 0 .8px,transparent 1.25px),
    radial-gradient(circle at 32% 35%,#f0f1f5 0 .6px,transparent 1.1px),
    radial-gradient(circle at 91% 49%,#dbe0e8 0 .75px,transparent 1.2px),
    radial-gradient(circle at 12% 72%,#eff2f6 0 .7px,transparent 1.2px),
    radial-gradient(circle at 55% 83%,#e9ecf2 0 .6px,transparent 1.15px),
    radial-gradient(circle at 79% 94%,#dfe4ed 0 .8px,transparent 1.25px),
    radial-gradient(circle at 45% 58%,#f3f4f7 0 .7px,transparent 1.2px);
}
#overliveBaseWallpaper.base-expedition-scene .expedition-snow-near{
  z-index:3;
  opacity:.32;
  background-image:
    radial-gradient(circle at 21% 18%,#f3f4f7 0 1.2px,transparent 1.95px),
    radial-gradient(circle at 83% 38%,#e7eaf0 0 1.3px,transparent 2px),
    radial-gradient(circle at 47% 57%,#f5f6f9 0 1.5px,transparent 2.3px),
    radial-gradient(circle at 7% 85%,#e7eaf0 0 1.15px,transparent 1.9px),
    radial-gradient(circle at 93% 96%,#edf0f5 0 1.35px,transparent 2.1px),
    radial-gradient(circle at 64% 76%,#eff1f6 0 1.2px,transparent 2px);
}
#overliveBaseWallpaper.base-expedition-scene .expedition-avalanche{
  z-index:1;
  inset:-18% -12% -22%;
  opacity:0;
  background:
    radial-gradient(ellipse 54% 31% at 17% 87%,rgb(230 235 241 / .66),transparent 74%),
    radial-gradient(ellipse 56% 27% at 80% 96%,rgb(219 226 236 / .58),transparent 73%),
    radial-gradient(ellipse 60% 29% at 49% 111%,rgb(238 242 247 / .60),transparent 78%);
}
#overliveBaseWallpaper.base-expedition-scene[data-expedition-phase='intro'] .expedition-snow-far{
  animation:overlive-expedition-snow-far-intro var(--expedition-duration) linear 1 both;
}
#overliveBaseWallpaper.base-expedition-scene[data-expedition-phase='intro'] .expedition-snow-near{
  animation:overlive-expedition-snow-near-intro var(--expedition-duration) linear 1 both;
}
#overliveBaseWallpaper.base-expedition-scene[data-expedition-phase='intro'] .expedition-avalanche{
  animation:overlive-expedition-avalanche var(--expedition-duration) ease-in-out 1 both;
}
#overliveBaseWallpaper.base-expedition-scene[data-expedition-phase='ambient'] .expedition-snow-far{
  animation:overlive-expedition-snow-loop 26s linear infinite;
}
#overliveBaseWallpaper.base-expedition-scene[data-expedition-phase='ambient'] .expedition-snow-near{
  animation:overlive-expedition-snow-loop 13s linear infinite;
}
#overliveBaseWallpaper.base-expedition-scene[data-expedition-phase='ambient'] .expedition-avalanche{
  animation:none;
  opacity:0;
}
/* The independent phase survives a pause; only play-state changes, so neither
   the camera journey nor the snow animation is recreated on a hidden tab. */
#overliveBaseWallpaper.base-expedition-scene[data-expedition-state='paused']>:is(img,video),
#overliveBaseWallpaper.base-expedition-scene[data-expedition-state='paused'] .base-expedition-weather>span{
  animation-play-state:paused!important;
}
/* The built-in two textures are replaced only while this home scene owns them.
   Other pages keep the original Base snow and their existing behavior. */
body[data-page='home'] #overliveBaseWallpaper.base-expedition-scene>.base-wallpaper-snow{display:none!important;}
body:not([data-page='home']) #overliveBaseWallpaper.base-expedition-scene>:is(img,video){transform:none!important;}
body:not([data-page='home']) #overliveBaseWallpaper.base-expedition-scene>.base-expedition-weather{visibility:hidden!important;}
#overliveBaseWallpaper.base-expedition-scene[data-expedition-state='static']>:is(img,video){
  animation:none!important;
  transform:none!important;
}
#overliveBaseWallpaper.base-expedition-scene[data-expedition-state='static']>.base-expedition-weather{display:none!important;}

@keyframes overlive-expedition-descent{
  0%{transform:translate3d(0,0,0) scale(1);}
  18%{transform:translate3d(-.5%,0,0) scale(1.08);}
  40%{transform:translate3d(.8%,-1.5%,0) scale(1.18);}
  58%{transform:translate3d(-1%,-3.5%,0) scale(1.26);}
  72%{transform:translate3d(.4%,-8%,0) scale(1.3);}
  86%{transform:translate3d(-.5%,-3%,0) scale(1.17);}
  100%{transform:translate3d(0,0,0) scale(1);}
}
@keyframes overlive-expedition-breathe{
  0%,100%{transform:translate3d(0,0,0) scale(1);}
  30%{transform:translate3d(-.5%,.4%,0) scale(1.025);}
  64%{transform:translate3d(.7%,-.6%,0) scale(1.035);}
  83%{transform:translate3d(-.3%,.2%,0) scale(1.018);}
}
@keyframes overlive-expedition-snow-far-intro{
  0%{transform:translate3d(0,0,0);opacity:.24;}
  22%{transform:translate3d(-4px,31.5px,0);opacity:.34;}
  43%{transform:translate3d(4px,112.5px,0);opacity:.52;}
  58%{transform:translate3d(-8px,236.25px,0);opacity:.65;}
  77%{transform:translate3d(5px,438.75px,0);opacity:.48;}
  100%{transform:translate3d(0,576px,0);opacity:.24;}
}
@keyframes overlive-expedition-snow-near-intro{
  0%{transform:translate3d(0,0,0);opacity:.32;}
  22%{transform:translate3d(-8px,50px,0);opacity:.4;}
  43%{transform:translate3d(9px,181.25px,0);opacity:.62;}
  58%{transform:translate3d(-14px,412.5px,0);opacity:.76;}
  77%{transform:translate3d(10px,762.5px,0);opacity:.57;}
  100%{transform:translate3d(0,960px,0);opacity:.32;}
}
/* A bounded translucent bank rises through the scene's lower depth and fades;
   the whole viewport never becomes an opaque white frame. */
@keyframes overlive-expedition-avalanche{
  0%,29%{transform:translate3d(-6%,45%,0) scale(.96);opacity:0;}
  40%{transform:translate3d(-4%,15%,0) scale(1.04);opacity:.08;}
  56%{transform:translate3d(2%,-1%,0) scale(1.1);opacity:.36;}
  72%{transform:translate3d(4%,-12%,0) scale(1.15);opacity:.46;}
  88%{transform:translate3d(5%,-34%,0) scale(1.21);opacity:.07;}
  100%{transform:translate3d(5%,-45%,0) scale(1.25);opacity:0;}
}
/* Both repeat textures move exactly one tile, keeping the ambient loop seamless. */
@keyframes overlive-expedition-snow-loop{
  from{transform:translate3d(0,0,0);}
  to{transform:translate3d(0,192px,0);}
}
@media(prefers-reduced-motion:reduce){
  #overliveBaseWallpaper.base-expedition-scene>:is(img,video){animation:none!important;transform:none!important;}
  #overliveBaseWallpaper.base-expedition-scene>.base-expedition-weather{display:none!important;}
}
