/* =================================================================
   kagerou.glass — express.css
   The galactic express. The good ending. Nothing but the dark, the
   synapses, and one happy line at a time in the middle of the light.
   ================================================================= */

/* Override the dispensary's jirai tile — here it is clean, just the void. */
body {
  background-image: none;
  background:
    radial-gradient(120% 90% at 50% 50%, rgba(118, 230, 224, 0.05), transparent 55%),
    radial-gradient(90% 70% at 50% 110%, rgba(255, 95, 166, 0.07), transparent 60%),
    var(--void);
  min-height: 100vh;
  overflow: hidden;
}

#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.express {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8vh 7vw;
  pointer-events: none;
}

#phrase {
  max-width: 30ch;
  text-align: center;
  font-family: var(--f-frag);
  font-weight: 300;
  font-size: clamp(1.1rem, 2.6vw, 1.9rem);
  line-height: 1.85;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  text-shadow: 0 0 24px rgba(118, 230, 224, 0.35), 0 0 40px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 2s ease, transform 2s ease;
}
#phrase.show { opacity: 0.95; transform: translateY(0); }

/* a single, near-invisible way back — for whoever needs to return */
.express-back {
  position: fixed;
  left: 50%;
  bottom: 4%;
  transform: translateX(-50%);
  z-index: 11;
  font-family: var(--f-digital);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--ink);
  text-decoration: none;
  opacity: 0.06;
  transition: opacity 0.6s ease, color 0.6s ease;
}
.express-back:hover, .express-back:focus { opacity: 0.7; color: var(--cyan); }

@media (prefers-reduced-motion: reduce) {
  #phrase { transition: opacity 0.8s ease; transform: none; }
  #phrase.show { transform: none; }
}
