/* Every selector belongs exclusively to the easter eggs. */
.egg-dialog {
  box-sizing: border-box;
  width: min(440px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 24px;
  overflow: auto;
  border: 1px solid #38515e;
  border-radius: 20px;
  background: #101c25;
  color: #edf7fa;
  color-scheme: dark;
  font: 14px/1.5 system-ui, sans-serif;
  box-shadow: 0 24px 90px #0009;
}
.egg-dialog::backdrop { background: #030910c9; }
.egg-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.egg-kicker { margin: 0 0 4px; color: #86d9c4; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.egg-title { margin: 0; color: #edf7fa; font: 600 22px/1.25 system-ui, sans-serif; }
.egg-help { margin: 16px 0 8px; color: #b6c9d4; font-size: 13px; }
.egg-status { margin: 8px 0 12px; min-height: 42px; color: #ffe0ac; font-variant-numeric: tabular-nums; }
.egg-board { display: block; box-sizing: border-box; width: min(100%, 320px); height: auto; margin: 0 auto; border: 1px solid #38515e; border-radius: 8px; background: #0b141c; }
.egg-actions { display: flex; justify-content: center; gap: 8px; margin: 16px 0 12px; }
.egg-button { appearance: none; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; margin: 0; padding: 8px 14px; border: 1px solid #48616e; border-radius: 10px; background: #1a2e3b; color: #edf7fa; font: 600 14px/1.2 system-ui, sans-serif; letter-spacing: normal; text-transform: none; cursor: pointer; touch-action: manipulation; }
.egg-button:hover { background: #294653; border-color: #86d9c4; }
.egg-button:active { background: #365d64; }
.egg-button:disabled { opacity: .5; cursor: default; }
.egg-button:focus-visible, .egg-board:focus-visible { outline: 3px solid #a5f3da; outline-offset: 3px; }
.egg-close { flex: 0 0 44px; padding: 0; font-size: 24px; }
.egg-pad { display: grid; grid-template-columns: repeat(3, 48px); grid-template-rows: repeat(2, 44px); justify-content: center; gap: 4px; }
.egg-up { grid-column: 2; grid-row: 1; }
.egg-left { grid-column: 1; grid-row: 2; }
.egg-down { grid-column: 2; grid-row: 2; }
.egg-right { grid-column: 3; grid-row: 2; }
.egg-ripple { position: fixed; z-index: 2147483646; width: 12px; height: 12px; margin: -6px 0 0 -6px; border: 1px solid #9aefd9; border-radius: 50%; box-shadow: 0 0 12px #8be9ce66; pointer-events: none; animation: egg-ripple-out 650ms ease-out forwards; }
@keyframes egg-ripple-out { from { transform: scale(.3); opacity: .85; } to { transform: scale(9); opacity: 0; } }
@media (max-width: 380px) { .egg-dialog { padding: 16px; } .egg-title { font-size: 20px; } }
@media (prefers-reduced-motion: reduce) { .egg-ripple { display: none; animation: none; } }
