/* Visual corrections from exact-head browser inspection.
   This file is intentionally additive so the anomaly branch remains easy to audit. */

/* Keep the opening uncanny without destroying the title's legibility. */
.intro-awaiting h1 {
  position: relative;
  min-height: 1.68em;
  font-size: 0 !important;
  line-height: 0;
  color: transparent;
  text-shadow: none;
}

.intro-awaiting h1::after {
  content: "UNRESOLVED\A SIGNAL";
  display: block;
  white-space: pre-line;
  color: var(--text);
  font: 900 clamp(48px, 9vw, 138px)/.82 var(--sans);
  letter-spacing: -.07em;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(117,231,255,.14);
}

/* Let NEXUSMON command the desktop chamber instead of reading as a small HUD icon. */
@media (min-width: 1181px) {
  .anomaly-rail {
    width: 170px;
  }

  .anomaly-stage {
    left: 170px;
    grid-template-columns: minmax(290px,.9fr) minmax(410px,1.35fr) minmax(250px,.68fr);
    gap: clamp(18px,2.5vw,42px);
  }

  .anomaly-entity {
    min-height: min(70vh,680px);
  }

  .anomaly-entity .pixel-entity {
    transform: scale(clamp(1.55,1.8vw,1.85));
  }

  .anomaly-panel {
    clip-path: polygon(0 0,calc(100% - 18px) 0,100% 18px,100% 100%,18px 100%,0 calc(100% - 18px));
    background:
      radial-gradient(circle at 80% 10%,color-mix(in srgb,var(--active-accent) 6%,transparent),transparent 34%),
      linear-gradient(145deg,rgba(7,12,19,.82),rgba(3,6,11,.58));
  }
}

/* The original 18vw mobile title was clipped into nonsense on a 390px viewport. */
@media (max-width: 520px) {
  .intro-awaiting {
    bottom: 58px;
  }

  .intro-awaiting h1 {
    min-height: 1.78em;
  }

  .intro-awaiting h1::after {
    font-size: clamp(42px,14vw,56px);
    line-height: .86;
    letter-spacing: -.055em;
  }

  .intro-awaiting > p:not(.intro-kicker) {
    max-width: 34ch;
  }

  .anomaly-copy h1 {
    font-size: clamp(36px,10.5vw,44px);
  }

  .anomaly-entity .pixel-entity {
    transform: scale(.94);
  }
}
