/* Laser Cat is a small, non-blocking site-wide browsing easter egg. */
.laser-cat { position: fixed; right: 18px; bottom: 14px; z-index: 44; width: 74px; height: 74px; pointer-events: none; }
.laser-cat-button { position: absolute; right: 0; bottom: 0; z-index: 2; width: 58px; height: 58px; padding: 0; border: 0; border-radius: 50%; background: rgb(var(--c-card)); box-shadow: 0 8px 22px rgba(0,0,0,.2); cursor: crosshair; font-size: 34px; line-height: 1; pointer-events: auto; transition: transform .18s ease; }
.laser-cat-button:hover, .laser-cat-button:focus-visible { transform: scale(1.1) rotate(-8deg); }
.laser-cat-button:focus-visible, .laser-cat-close:focus-visible { outline: 3px solid rgb(var(--c-sun)); outline-offset: 3px; }
.laser-cat-beam { position: absolute; z-index: 1; left: 20px; top: 28px; width: var(--laser-distance, 200px); height: 5px; border-radius: 99px; background: linear-gradient(90deg, rgba(255,66,100,.25), #ff416c 35%, #ff1744); box-shadow: 0 0 8px #ff416c, 0 0 18px rgba(255,65,108,.8); opacity: 0; pointer-events: none; transform-origin: 0 50%; transform: rotate(var(--laser-angle, -140deg)) scaleX(0); }
.laser-cat-beam.is-firing { animation: laser-cat-fire .42s ease-out forwards; }
.laser-cat-spark { position: fixed; left: 0; top: 0; z-index: 2; color: #ffcf33; font-size: 24px; opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(.3); }
.laser-cat-spark.is-on { animation: laser-cat-spark .42s ease-out forwards; }
.laser-cat-close { position: absolute; top: -3px; right: -5px; z-index: 3; width: 20px; height: 20px; padding: 0; border: 0; border-radius: 50%; background: rgb(var(--c-ink) / .75); color: rgb(var(--c-card)); font: 700 15px/18px system-ui, sans-serif; cursor: pointer; pointer-events: auto; opacity: 0; transition: opacity .2s; }
.laser-cat:hover .laser-cat-close, .laser-cat-close:focus-visible { opacity: 1; }
@keyframes laser-cat-fire { 0% { opacity: 0; transform: rotate(var(--laser-angle, -140deg)) scaleX(0); } 18% { opacity: 1; } 100% { opacity: 0; transform: rotate(var(--laser-angle, -140deg)) scaleX(1); } }
@keyframes laser-cat-spark { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.3); } 35% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(.7); } }
@media (max-width: 640px) { .laser-cat { right: 10px; bottom: 10px; transform: scale(.88); transform-origin: bottom right; } }
@media (prefers-reduced-motion: reduce) { .laser-cat-button { transition: none; } .laser-cat-beam, .laser-cat-spark { display: none; } }
.no-motion .laser-cat-beam, .no-motion .laser-cat-spark { display: none; }
