/* 1.1.1.1 — Cloudflare orange flash, then the IP settles back. Hidden until the
   egg activates (body.egg-on). (loads only on /1.1.1.1) */

#cf-flash {
    position: fixed; inset: 0; z-index: 9998; pointer-events: none;
    background: #f6821f; opacity: 0;
}
body.egg-on #cf-flash { animation: cf-pulse 1.9s ease-out 1; }

@keyframes cf-pulse {
    0%   { opacity: 0; }
    10%  { opacity: 0.55; }
    28%  { opacity: 0.12; }
    44%  { opacity: 0.42; }
    100% { opacity: 0; }
}

/* IP glows Cloudflare orange during the flash, then reverts (no fill-mode). */
body.egg-on h1 { animation: cf-glow 1.9s ease-out 1; }

@keyframes cf-glow {
    0%   { }
    18%  { color: #f6821f; text-shadow: 0 0 26px rgba(246, 130, 31, 0.95); }
    100% { }
}

@media (prefers-reduced-motion: reduce) {
    body.egg-on #cf-flash { animation: none; opacity: 0; }
    body.egg-on h1 { animation: none; }
}
