/* Пасхалка «А-та-та!» — старый монитор в палитре клиники (кобальт #1B3C9E, чернила #0E1A2B) */
.pult-egg {
  position: fixed; inset: 0; z-index: 2147483000;
  display: grid; place-items: center; padding: 16px;
  background: rgba(14, 26, 43, .55);
  opacity: 0; transition: opacity 200ms ease-out;
  font-family: 'Golos Text', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
.pult-egg.is-open { opacity: 1; }

.pult-egg__monitor {
  position: relative; width: min(340px, 100%);
  padding: 14px 14px 26px;
  background: linear-gradient(180deg, #1A2740 0%, #0E1A2B 100%);
  border-radius: 20px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset, 0 18px 50px rgba(0, 0, 0, .45);
  transform: scale(.72) translateY(24px);
  transition: transform 340ms cubic-bezier(.2, 1.45, .4, 1);
}
.pult-egg.is-open .pult-egg__monitor { transform: none; }
.pult-egg__led {
  position: absolute; left: 50%; bottom: 10px; width: 6px; height: 6px; margin-left: -3px;
  border-radius: 50%; background: #5B7FE8; box-shadow: 0 0 6px #5B7FE8;
}

.pult-egg__screen {
  position: relative; overflow: hidden; border-radius: 12px;
  background: radial-gradient(120% 90% at 50% 35%, #2A4FBF 0%, #1B3C9E 38%, #0E1A2B 100%);
  box-shadow: 0 0 0 2px #060C16, 0 0 24px rgba(27, 60, 158, .35) inset;
  color: #F2F5FB;
}
.pult-egg__stage { position: relative; height: 262px; overflow: hidden; }
.pult-egg__head {
  position: absolute; left: 50%; bottom: -46px; width: 232px; margin-left: -116px;
  aspect-ratio: 320 / 442;
  transform-origin: 50% 92%;
  will-change: transform;
}
.pult-egg__top, .pult-egg__jaw {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  user-select: none; -webkit-user-drag: none; pointer-events: none;
}
.pult-egg__jaw { transform-origin: 88% 63%; will-change: transform; }

/* развёртка: статичные сканлайны + бегущая полоса (только transform) */
.pult-egg__scan {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  background:
    repeating-linear-gradient(180deg, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 2px, rgba(6, 12, 22, .22) 3px),
    radial-gradient(130% 100% at 50% 40%, rgba(0, 0, 0, 0) 60%, rgba(6, 12, 22, .55) 100%);
}
.pult-egg__scan::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 70px;
  background: linear-gradient(180deg, rgba(160, 190, 255, 0), rgba(160, 190, 255, .07), rgba(160, 190, 255, 0));
  transform: translateY(-80px);
  animation: pult-egg-sweep 3.2s linear infinite;
}
@keyframes pult-egg-sweep { to { transform: translateY(460px); } }

.pult-egg__caption { position: relative; padding: 12px 16px 14px; background: rgba(6, 12, 22, .55); }
.pult-egg__title {
  margin: 0 0 4px; font: 700 18px/1.25 'Geologica', 'Golos Text', system-ui, sans-serif; letter-spacing: .01em;
}
.pult-egg__reason { margin: 0 0 10px; font-size: 14px; line-height: 1.35; color: #C3CDE3; }
.pult-egg__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.pult-egg__mute { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #C3CDE3; cursor: pointer; min-height: 36px; }
.pult-egg__mute input { width: 16px; height: 16px; accent-color: #5B7FE8; margin: 0; }
.pult-egg__ok {
  min-height: 36px; padding: 0 18px; border: 0; border-radius: 8px;
  background: #F2F5FB; color: #0E1A2B; font: 600 15px/1 'Golos Text', system-ui, sans-serif; cursor: pointer;
}
.pult-egg__ok:hover { background: #FFFFFF; }
.pult-egg__ok:focus-visible, .pult-egg__mute input:focus-visible { outline: 2px solid #8FA8F0; outline-offset: 2px; }

.pult-egg.is-still .pult-egg__monitor, .pult-egg.is-still { transition: none; }
.pult-egg.is-still .pult-egg__scan::after { animation: none; display: none; }
.pult-egg.is-still .pult-egg__head, .pult-egg.is-still .pult-egg__jaw { will-change: auto; }
@media (prefers-reduced-motion: reduce) {
  .pult-egg, .pult-egg__monitor { transition: none; }
  .pult-egg__monitor { transform: none; }
  .pult-egg__scan::after { animation: none; display: none; }
}
