/* Easter egg styles: professor-x. Moved verbatim out of static/app.css (egg rebuild); linked right after app.css in index.html. */
/* ================================================================
   Marvel pack — Professor X (Earth-838) bottom-left peek. Independent roll —
   stacks on top of other eggs (no shared z-index fight, no shared mutex).
   2026-10-29: Dimitry asked for 2x size + a horizontal entrance — slides in from
   off-screen left into the corner, holds, retreats back out the way he came
   (same axis in/out, matching the IASIP Ongo Gablogian corner sticker's
   peek-and-retreat pattern, just horizontal instead of vertical).
   ?egg=professor-x / xavier / professorx
   ================================================================ */
.cxavier-wrap {
  position: fixed;
  left: 36px;
  bottom: 0;
  z-index: 8150; /* sits above the Ongo Gablogian sticker (z-index 8100) as a second, later layer */
  pointer-events: none;
  background: transparent;
  overflow: hidden;
  width: 560px; /* 200% of prior 280 */
  height: 590px; /* 200% of prior 295 */
}

.cxavier {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 480px; /* 200% of prior 240 */
  height: auto;
  will-change: transform;
  transform-origin: bottom left;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.cxavier-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

@media (prefers-reduced-motion: reduce) {
  .cxavier-wrap { display: none; }
}
