/* V64 — website background = the in-game pixel night sky (glints, twinkling dots, shooting stars, pixel clouds).
   Same look as arcvel-pixel-ui.css, ported for index.html. The deep-night gradient lives on .pxSky (fixed, behind all content). */
html,body{background:#070a33!important}
.pxSky{position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden;image-rendering:pixelated;background:radial-gradient(ellipse at 50% -10%,#1b2480 0,transparent 55%),linear-gradient(180deg,#070a33 0%,#0b0f4a 55%,#10135e 100%)}
.pxSky i{position:absolute;display:block}
/* plus-shaped glints */
.pxSky .gl{width:7px;height:7px;background:
  linear-gradient(#fff,#fff) center/100% 1px no-repeat,
  linear-gradient(#fff,#fff) center/1px 100% no-repeat;
  filter:drop-shadow(0 0 3px #7fa8ff);animation:pxTwinkle 3.2s steps(4,end) infinite}
.pxSky .gl.big{width:15px;height:15px;background:
  linear-gradient(#cfe4ff,#cfe4ff) center/100% 3px no-repeat,
  linear-gradient(#cfe4ff,#cfe4ff) center/3px 100% no-repeat,
  linear-gradient(#fff,#fff) center/5px 5px no-repeat}
.pxSky .gl.cy{filter:drop-shadow(0 0 4px #4fe3ff)}
.pxSky .gl.vi{filter:drop-shadow(0 0 4px #a98bff)}
.pxSky .dot{width:3px;height:3px;background:#dfe9ff;animation:pxTwinkle 4.4s steps(3,end) infinite}
/* shooting stars: glowing head + fading tail */
.pxSky .ms{width:120px;height:4px;transform-origin:100% 50%;rotate:-38deg;
  background:linear-gradient(90deg,transparent,rgba(120,150,255,.55) 55%,#cfe0ff 92%,#fff);
  filter:drop-shadow(0 0 5px #7a9bff);animation:pxMeteor 9s linear infinite;opacity:0}
.pxSky .ms::after{content:"";position:absolute;right:-3px;top:-2px;width:8px;height:8px;background:#fff;box-shadow:0 0 8px 3px #8fb0ff}
.pxSky .ms.s{width:70px}
@keyframes pxTwinkle{0%,100%{opacity:.35}50%{opacity:1}}
@keyframes pxMeteor{0%{opacity:0;translate:0 0}4%{opacity:1}22%{opacity:1;translate:-110px 86px}28%,100%{opacity:0;translate:-140px 110px}}
/* pixel clouds hugging the left/right edge */
html::before,html::after{content:"";position:fixed;bottom:0;width:150px;height:235px;z-index:0;pointer-events:none;
  background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 72' shape-rendering='crispEdges'><g fill='%232b2a9a'><rect x='0' y='30' width='30' height='42'/><rect x='6' y='20' width='24' height='12'/><rect x='12' y='12' width='16' height='10'/><rect x='24' y='38' width='14' height='34'/></g><g fill='%233b37c4'><rect x='0' y='42' width='22' height='30'/><rect x='6' y='26' width='16' height='10'/><rect x='14' y='18' width='10' height='8'/></g><g fill='%235a50e0'><rect x='8' y='20' width='14' height='3'/><rect x='14' y='12' width='8' height='3'/><rect x='0' y='30' width='8' height='3'/></g></svg>") left bottom/100% 100% no-repeat;
  image-rendering:pixelated;opacity:.9}
html::before{left:0}
html::after{right:0;scale:-1 1}
@media (max-width:1100px){html::before,html::after{display:none}}

/* phones: keep it light (no glow filters, fewer shooting stars) so scrolling stays smooth */
@media (max-width:700px),(pointer:coarse){
  .pxSky .gl,.pxSky .gl.cy,.pxSky .gl.vi,.pxSky .ms{filter:none}
  .pxSky .ms:nth-of-type(n+4){display:none}
}
@media (prefers-reduced-motion:reduce){.pxSky .gl,.pxSky .dot,.pxSky .ms{animation:none!important}.pxSky .ms{display:none}}
