/* =============================================================
   shared/fx/fx.css — signature arcade-hardware effects
   -------------------------------------------------------------
   WHAT: the FX that make every surface feel like the same cabinet.
   PROVIDES:
     - .scan      drifting CRT scanlines (overlay a surface)
     - .powerline one-shot CRT power-on flash
   REQUIRES: --cream (from /shared/brand.css).
   THE OTHER TWO SIGNATURE FX live elsewhere by nature:
     - dusk gradient — token-driven (brand.css palette), applied per surface
     - teal shimmer  — currently inside the wish console (index.html)
   USE: drop <div class="scan"></div> for scanlines;
        <div class="powerline"></div> for the power-on flash.
   ============================================================= */
  .scan{position:absolute; inset:0; pointer-events:none; z-index:3;
    background:repeating-linear-gradient(0deg, rgba(0,0,0,.16) 0 1px, transparent 1px 3px);
    mix-blend-mode:multiply; opacity:.5; animation:scanmove 8s linear infinite}
  @keyframes scanmove{from{background-position-y:0}to{background-position-y:6px}}
  .powerline{position:absolute; inset:0; background:var(--cream); z-index:9; pointer-events:none; animation:poweron 1.1s ease-out forwards}
  @keyframes poweron{0%{opacity:1}8%{opacity:.1}12%{opacity:.7}20%{opacity:0}100%{opacity:0}}
