/* FX777 - shared graphics layer (games QA upgrades, 2026-11-25).
   CSS3 layer: smooth page entrance, soft sheet blur, button lift.
   Visual only - no game logic, no layout changes. */
@media (prefers-reduced-motion: no-preference){
  body{animation:fx777in .38s ease-out}
  @keyframes fx777in{from{opacity:0}to{opacity:1}}
}
[class*="sheet" i],[class*="overlay" i],[class*="modal" i]{backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
@media (hover:hover) and (prefers-reduced-motion: no-preference){
  button{box-shadow:0 2px 10px rgba(0,0,0,.25)}
  button:hover{box-shadow:0 5px 18px rgba(0,0,0,.35)}
}
.fx777-spark{position:fixed;width:9px;height:9px;border-radius:50%;pointer-events:none;z-index:9998;background:radial-gradient(circle,#fff6c9 0%,#ffd74d 55%,rgba(255,215,77,0) 100%);animation:fx777spark .55s ease-out forwards}
@keyframes fx777spark{to{transform:translate(var(--dx),var(--dy)) scale(.25);opacity:0}}
canvas.fx777-webgl{position:fixed!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;z-index:-1!important;pointer-events:none;border:none!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
html[data-fx777="space"],html[data-fx777="space"] body{background:transparent!important}
html[data-fx777="space"].fx777-nowebgl{background:radial-gradient(1200px 800px at 70% 20%,#1b2350 0%,#0d1026 55%,#05070f 100%)!important}
