/* Laser FX (static/laserfx.js, Wagih 17/11): the click burst, cards bursting in, the page's laser boot sweep, the sound
   switch. Colours: laser red, fire orange, gold. Shared by the site and every panel page. */
.lfx-burst{position:fixed;z-index:9999;width:0;height:0;pointer-events:none}
.lfx-burst::before{content:"";position:absolute;left:-6px;top:-6px;width:12px;height:12px;border-radius:50%;
  border:2px solid #ff3b2f;box-shadow:0 0 12px #ff3b2f,0 0 24px rgba(255,138,0,.7);animation:lfx-ring .55s ease-out forwards}
.lfx-burst.big::before{border-color:#ffd23f;box-shadow:0 0 16px #ff8a00,0 0 36px rgba(255,42,42,.8)}
.lfx-burst i{position:absolute;left:0;top:-1px;width:var(--l,26px);height:2px;transform-origin:0 50%;transform:rotate(var(--a)) scaleX(0);
  background:linear-gradient(90deg,#fff,#ffd23f 25%,#ff3b2f 60%,transparent);border-radius:2px;filter:drop-shadow(0 0 4px #ff3b2f);
  animation:lfx-ray .5s cubic-bezier(.2,.9,.3,1) forwards}
@keyframes lfx-ring{to{transform:scale(7);opacity:0;border-width:.5px}}
@keyframes lfx-ray{0%{transform:rotate(var(--a)) translateX(4px) scaleX(0);opacity:1}55%{opacity:1}100%{transform:rotate(var(--a)) translateX(22px) scaleX(1);opacity:0}}

/* cards and sections burst in */
.lfx-pop{opacity:0;transform:translateY(18px) scale(.965);filter:blur(3px) brightness(1.6)}
.lfx-pop.lfx-in{animation:lfx-in .75s cubic-bezier(.2,.9,.25,1) var(--lfx-d,0ms) both}
@keyframes lfx-in{0%{opacity:0;transform:translateY(18px) scale(.965);filter:blur(3px) brightness(1.8)}
  45%{opacity:1;filter:blur(0) brightness(1.35);box-shadow:0 0 0 1px rgba(255,59,47,.55),0 0 34px rgba(255,59,47,.35)}
  100%{opacity:1;transform:none;filter:none}}

/* the page boots with a laser sweep across the screen */
.lfx-boot::after{content:"";position:fixed;inset:0;z-index:9998;pointer-events:none;
  background:linear-gradient(180deg,transparent 0,transparent calc(var(--y,0%) - 2px),rgba(255,59,47,.0) 0,
    rgba(255,59,47,.9) var(--y,0%),rgba(255,210,63,.6) calc(var(--y,0%) + 1px),transparent calc(var(--y,0%) + 3px)),
    radial-gradient(ellipse at 50% 0,rgba(255,59,47,.18),transparent 60%);
  animation:lfx-sweep 1.1s cubic-bezier(.6,.05,.3,1) forwards}
@property --y{syntax:"<percentage>";inherits:false;initial-value:0%}
@keyframes lfx-sweep{0%{--y:0%;opacity:1}85%{--y:100%;opacity:1}100%{--y:100%;opacity:0}}

/* the sound switch */
.lfx-mute{position:fixed;left:14px;bottom:14px;z-index:9990;width:40px;height:40px;border-radius:50%;padding:0;font-size:18px;line-height:1;
  display:grid;place-items:center;cursor:pointer;color:#fff;background:rgba(18,8,10,.82);border:1px solid rgba(255,59,47,.6);
  box-shadow:0 0 0 3px rgba(255,59,47,.12),0 0 18px rgba(255,59,47,.35);backdrop-filter:blur(6px);transition:transform .2s,box-shadow .2s}
.lfx-mute:hover{transform:scale(1.08);box-shadow:0 0 0 4px rgba(255,59,47,.2),0 0 26px rgba(255,138,0,.55)}
.lfx-mute.off{border-color:rgba(255,255,255,.25);box-shadow:none;opacity:.7}
@media print{.lfx-mute,.lfx-burst{display:none}}
@media (prefers-reduced-motion: reduce){.lfx-pop{opacity:1;transform:none;filter:none}.lfx-pop.lfx-in{animation:none}.lfx-boot::after{display:none}}

/* the dashboard's laser gauges */
.lfx-gauges .g-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:860px){.lfx-gauges .g-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.lfx-live{display:inline-block;width:10px;height:10px;border-radius:50%;background:#ff3b2f;box-shadow:0 0 0 0 rgba(255,59,47,.7);
  animation:lfx-live 1.6s infinite;vertical-align:middle;margin-inline-end:6px}
@keyframes lfx-live{0%{box-shadow:0 0 0 0 rgba(255,59,47,.7)}70%{box-shadow:0 0 0 10px rgba(255,59,47,0)}100%{box-shadow:0 0 0 0 rgba(255,59,47,0)}}
