/* =========================================================
   PLUS FAB — ORIGINAL (UNCHANGED)
   ========================================================= */

/* Base (hidden until visible) */
.fab-plus{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: grid;
  place-items: center;

  text-decoration: none;
  font-size: 32px;
  line-height: 1;
  font-weight: 700;

  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.45);
  z-index: 9999;

  opacity: 0;
  transform: scale(0.92);
  pointer-events: none;

  transition: opacity .5s ease, transform .7s cubic-bezier(0.2,0.8,0.2,1);
}

/* Visible steady state */
.fab-plus.visible{
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* THE FLASH: a bright bloom that fades away */
.fab-plus::before{
  content:"";
  position:absolute;
  inset:-22px;
  border-radius: 999px;
  pointer-events:none;
  opacity: 0;

  background: radial-gradient(
    circle,
    rgba(255,255,255,0.95) 0%,
    rgba(255,255,255,0.55) 22%,
    rgba(134,239,172,0.35) 42%,
    rgba(96,165,250,0.18) 60%,
    rgba(255,255,255,0.00) 72%
  );

  filter: blur(1px);
  mix-blend-mode: screen;
}

/* Play the flash once when it becomes visible */
.fab-plus.visible::before{
  animation: fab-flash 1.15s ease-out both;
}

/* Flash animation: strong burst -> dissipate */
@keyframes fab-flash{
  0%   { opacity: 0; transform: scale(0.70); }
  8%   { opacity: 1; transform: scale(1.05); }
  45%  { opacity: 0.28; transform: scale(1.20); }
  100% { opacity: 0; transform: scale(1.35); }
}


/* =========================================================
   EYE FAB — MATCHED INTRO + FLASH (LEFT SIDE)
   ========================================================= */

/* Base (hidden until visible) */
.fab-eye{
  position: fixed;
  left: 18px;
  bottom: 18px;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: grid;
  place-items: center;

  text-decoration: none;

  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.45);
  z-index: 9999;

  opacity: 0;
  transform: scale(0.92);
  pointer-events: none;

  transition: opacity .5s ease, transform .7s cubic-bezier(0.2,0.8,0.2,1);
}

/* Visible steady state */
.fab-eye.visible{
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* THE FLASH: identical bloom */
.fab-eye::before{
  content:"";
  position:absolute;
  inset:-22px;
  border-radius: 999px;
  pointer-events:none;
  opacity: 0;

  background: radial-gradient(
    circle,
    rgba(255,255,255,0.95) 0%,
    rgba(255,255,255,0.55) 22%,
    rgba(134,239,172,0.35) 42%,
    rgba(96,165,250,0.18) 60%,
    rgba(255,255,255,0.00) 72%
  );

  filter: blur(1px);
  mix-blend-mode: screen;
}

/* Play the flash once when it becomes visible */
.fab-eye.visible::before{
  animation: fab-flash 1.15s ease-out both;
}

/* Eye icon sizing */
.fab-eye svg{
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
}
