/* +12% versus the existing 74px/14dvh/126px home logo, without changing app icons. */
.chill-home .chill-mascot.overlive-logo-scene{width:clamp(82.88px,15.68dvh,141.12px);height:clamp(82.88px,15.68dvh,141.12px);isolation:isolate;}
.overlive-logo-art{position:absolute;inset:0;display:block;z-index:3;animation:overlive-logo-glitch 6.7s steps(1,end) infinite;will-change:transform;}
.overlive-logo-eyes{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible;}
.overlive-logo-eye-spin{transform-origin:0 0;animation:overlive-logo-spiral 9s linear infinite;}
.overlive-logo-smoke{position:absolute;inset:-18%;pointer-events:none;z-index:1;opacity:.44;border-radius:50%;background:radial-gradient(ellipse at 23% 28%,#ff7c3166,transparent 23%),radial-gradient(ellipse at 74% 24%,#fa452b70,transparent 24%),radial-gradient(ellipse at 85% 63%,#e327285c,transparent 23%),radial-gradient(ellipse at 63% 86%,#ff682851,transparent 26%),radial-gradient(ellipse at 22% 75%,#df262a77,transparent 25%);-webkit-mask-image:radial-gradient(circle,transparent 36%,#000b 53%,#000 65%,transparent 87%);mask-image:radial-gradient(circle,transparent 36%,#000b 53%,#000 65%,transparent 87%);animation:overlive-logo-smoke 7.6s ease-in-out -2s infinite;will-change:transform,opacity;}
.overlive-logo-smoke.crimson{inset:-22%;opacity:.3;transform:rotate(76deg);animation-duration:10.3s;animation-delay:-6.4s;animation-direction:reverse;}
.overlive-logo-matrix{position:absolute;inset:0;z-index:5;overflow:hidden;pointer-events:none;opacity:.32;mask-image:radial-gradient(circle,transparent 42%,#000 65%,transparent 88%);-webkit-mask-image:radial-gradient(circle,transparent 42%,#000 65%,transparent 88%);}
.overlive-logo-matrix>span{position:absolute;top:0;left:8%;color:#91b38f;font:5px/1.7 ui-monospace,monospace;white-space:pre;animation:overlive-logo-matrix 8.7s linear -4s infinite;will-change:transform;}
.overlive-logo-matrix>span+span{left:auto;right:7%;animation-duration:11.3s;animation-delay:-7s;}
.overlive-logo-scene .mascot-orbit{opacity:.35;}
@keyframes overlive-logo-spiral{to{transform:rotate(360deg);}}
@keyframes overlive-logo-glitch{0%,89%,94%,100%{transform:translate3d(0,0,0);}90%{transform:translate3d(.8px,-.3px,0);}91%{transform:translate3d(-1.1px,.3px,0);}92%{transform:translate3d(.4px,0,0);}93%{transform:translate3d(0,-.4px,0);}}
@keyframes overlive-logo-smoke{0%,100%{transform:translate3d(0,3%,0) scale(.93) rotate(-5deg);opacity:.25;}50%{transform:translate3d(0,-4%,0) scale(1.1) rotate(8deg);opacity:.48;}}
@keyframes overlive-logo-matrix{from{transform:translate3d(0,-75%,0);}to{transform:translate3d(0,130%,0);}}
.overlive-logo-scene.logo-effects-paused *,body.rgb-paused .overlive-logo-scene *{animation-play-state:paused!important;}
@media(max-height:680px){.chill-home .chill-mascot.overlive-logo-scene{width:76.16px;height:76.16px;}}
@media(max-height:500px) and (min-width:550px){.chill-home .chill-mascot.overlive-logo-scene{display:none;}}
@media(prefers-reduced-motion:reduce){.overlive-logo-art,.overlive-logo-eye-spin,.overlive-logo-smoke,.overlive-logo-matrix>span{animation:none!important;will-change:auto;}}

/* User PNG: home only, 25% smaller than the current mascot layout. Its fixed
   drawn red circle and integrated wordmark are part of the unchanged raster. */
body[data-page='home'] #home.chill-home.overlive-skull-home{
 --home-mascot-size:clamp(67.2px,calc((100dvh - 360px) * .402),156px);
}
body[data-page='home'] .main>.topbar #homeLink,
body[data-page='home'] .main>.topbar .mobile-presence{
 display:none!important;
}
body[data-page='home'] #home.chill-home .chill-mascot.overlive-logo-scene.overlive-skull-logo{
 background:transparent;isolation:isolate!important;
}
body[data-page='home'] #home.chill-home .overlive-skull-logo .overlive-logo-art{
 mix-blend-mode:normal!important;opacity:1;animation:none!important;
 transform:none!important;filter:none!important;will-change:auto;
 z-index:3;overflow:visible;
}
body[data-page='home'] #home.chill-home .overlive-skull-logo .overlive-logo-art>img.app-icon{
 display:block;width:100%;height:100%;object-fit:contain!important;
 object-position:center;opacity:1!important;mix-blend-mode:normal!important;
 border:0;border-radius:0!important;clip-path:none!important;
 mask:none!important;-webkit-mask:none!important;filter:none!important;
 transform:none!important;animation:none!important;
}
body[data-page='home'] #home.chill-home .overlive-skull-logo :is(.mascot-orbit,.overlive-logo-eyes,.overlive-logo-matrix){
 display:none!important;animation:none!important;
}
body[data-page='home'] #home.chill-home .overlive-skull-logo .overlive-logo-smoke{
 z-index:1;
}
body[data-page='home'] #home.chill-home .overlive-skull-logo .home-logo-dialogue{
 z-index:6;
}
/* Diagonal dialogue: thought upper-left, speech lower-right beside the artwork. */
body[data-page='home'] #home.chill-home .overlive-skull-logo .home-logo-thought{
 top:-36px;bottom:auto;left:auto;right:calc(100% + 4px);
 width:clamp(82px,calc((var(--viewport-home-width) - var(--home-mascot-size))/2 - 16px),127.5px);
 padding:6px 8px;min-height:60px;
}
body[data-page='home'] #home.chill-home .overlive-skull-logo .home-logo-speech{
 top:68%;bottom:auto;left:calc(100% + 4px);right:auto;
 width:clamp(82px,calc((var(--viewport-home-width) - var(--home-mascot-size))/2 - 16px),136px);
 padding:6px 8px;min-height:60px;
}
@media(max-height:680px){
 body[data-page='home'] #home.chill-home .overlive-skull-logo .home-logo-speech{top:40%;}
}
body[data-page='home'] #home.chill-home .overlive-skull-logo .home-logo-bubble-art{
 display:none!important;
}
@media(max-height:500px) and (min-width:550px){
 body[data-page='home'] #home.chill-home.overlive-skull-home{
  --home-mascot-size:clamp(67.2px,21dvh,88.8px);
 }
 body[data-page='home'] #home.chill-home .overlive-skull-logo .home-logo-thought{
  top:-36px;left:auto;right:calc(100% + 4px);
  width:clamp(82px,calc(((var(--viewport-home-width) - 24px)/2 - var(--home-mascot-size))/2 - 12px),120.7px);
 }
 body[data-page='home'] #home.chill-home .overlive-skull-logo .home-logo-speech{
  top:52%;left:calc(100% + 4px);right:auto;
  width:clamp(82px,calc(((var(--viewport-home-width) - 24px)/2 - var(--home-mascot-size))/2 - 12px),122.4px);
 }
}
