  .egg {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8vh 6vw;
    text-align: center;
  }
  .egg-top {
    justify-content: flex-start;
    padding-top: 14vh;
  }
  .egg-text {
    max-width: 62ch;
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--gray);
    margin: 0 auto 4vh;
  }
  .egg-art {
    max-width: 100%;
    overflow-x: auto;
    margin: 0 auto;
    text-align: left;
  }
  .egg-art pre {
    font-family: 'tewi', ui-monospace, Menlo, Consolas, monospace;
    font-size: 0.62rem;
    line-height: 1.25;
    color: rgba(236, 236, 241, 0.75);
    margin: 0;
  }
  .egg-fit {
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    padding: 4vh 4vw;
  }
  .egg-fit .egg-text {
    font-size: 0.8rem;
    max-width: 72ch;
    margin: 0 auto 2.5vh;
  }
  .egg-fit .egg-art { overflow: hidden; }
  .egg-fit .egg-art pre {
    font-size: min(1.02vh, 2vw);
  }
  .egg-full {
    max-width: 92vmin;
    max-height: 86vh;
    width: auto;
    height: auto;
    border: none;
  }
  .egg-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    pointer-events: none;
  }
  .egg-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
  }
  .egg-caption {
    position: relative;
    z-index: 1;
    font-family: 'ChronoType', 'Anthropic Sans', sans-serif;
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    color: var(--white);
  }
  .typewriter {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--red);
    animation: typing 2.2s steps(11) forwards, caretBlink 1.1s steps(2, start) infinite;
  }
  @keyframes typing {
    from { width: 0; }
    to { width: 100%; }
  }
  @keyframes caretBlink {
    to { border-right-color: transparent; }
  }
  @media (prefers-reduced-motion: reduce) {
    .typewriter { animation: none; border-right: none; }
  }
  @media (max-width: 480px) {
    .egg-art pre { font-size: 0.5rem; }
  }
  @media (max-width: 768px) {
    .egg-bg.egg-contain-mobile {
      background-size: 100% auto;
      background-repeat: repeat-y;
      background-color: #000;
    }
  }
