/* GP-DP-20260822-051 — atomic reveal, perceptible motion, rail convergence.
   Geometry remains owned by world-model-geometry-049.css. */

.world-core > canvas {
  transition: opacity 320ms ease, filter 320ms ease;
}

.world-core.gp-world-booting > canvas,
.world-core.gp-world-boot-slow > canvas {
  opacity: 0 !important;
}

.world-core.gp-world-ready > canvas,
.world-core.gp-world-fallback > canvas {
  opacity: 1;
}

.world-core .world-globe-safety {
  display: none !important;
}

.world-core.gp-world-booting::before,
.world-core.gp-world-boot-slow::before {
  content: "INITIALIZING WORLD MODEL";
  position: absolute;
  left: 50%;
  top: 47%;
  width: 210px;
  height: 54px;
  z-index: 8;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  color: rgba(142, 215, 239, .78);
  border-top: 1px solid rgba(62, 205, 255, .24);
  border-bottom: 1px solid rgba(62, 205, 255, .12);
  background: radial-gradient(ellipse at 50% 50%, rgba(9, 88, 133, .13), transparent 70%);
  font: 600 7px/1 var(--font-display);
  letter-spacing: 2.2px;
  animation: gp-world-boot-pulse 1.2s ease-in-out infinite alternate;
  pointer-events: none;
}

.world-core.gp-world-booting::after,
.world-core.gp-world-boot-slow::after {
  opacity: .42 !important;
}

@keyframes gp-world-boot-pulse {
  from { opacity: .46; filter: brightness(.84); }
  to { opacity: 1; filter: brightness(1.24); }
}

.world-canvas:focus,
.world-canvas:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

/* Anchored context forces become analytical instruments, not loose labels. */
.world:not(.world-expanded) .force {
  min-height: 76px;
  padding: 8px 9px;
  border: 1px solid rgba(47, 151, 194, .12);
  background: linear-gradient(90deg, rgba(3, 27, 43, .48), rgba(2, 14, 25, .08)) !important;
  box-shadow: inset 0 0 24px rgba(0, 118, 180, .025) !important;
}

.world:not(.world-expanded) .force:hover,
.world:not(.world-expanded) .force:focus-visible {
  border-color: rgba(64, 203, 244, .30);
  background: linear-gradient(90deg, rgba(5, 45, 68, .62), rgba(2, 14, 25, .12)) !important;
}

.world:not(.world-expanded) .force-icon {
  width: 46px;
  height: 46px;
  border-color: rgba(65, 202, 246, .48);
  box-shadow: inset 0 0 20px rgba(0, 148, 214, .12), 0 0 18px rgba(0, 166, 230, .10);
}

.world:not(.world-expanded) .force-kicker {
  font-size: 6.2px;
  letter-spacing: 1.25px;
  color: #6fa2b5;
}

.world:not(.world-expanded) .force strong {
  font-size: 13px;
  letter-spacing: .10px;
}

.world:not(.world-expanded) .force small {
  font-size: 8.5px;
  color: #b9cbd2;
}

.world:not(.world-expanded) .force-signal {
  margin-top: 6px;
}

.world:not(.world-expanded) .force-signal em {
  font-size: 7.8px;
  text-shadow: 0 0 8px rgba(44, 231, 148, .20);
}

.world:not(.world-expanded) .left-forces .force::after,
.world:not(.world-expanded) .right-forces .force::after {
  width: 54px;
  opacity: .90;
  background: linear-gradient(90deg, rgba(84, 224, 255, .60), rgba(84, 224, 255, .04));
  box-shadow: 0 0 7px rgba(48, 205, 248, .12);
}

.world:not(.world-expanded) .left-forces .force::after { right: -54px; }
.world:not(.world-expanded) .right-forces .force::after { left: -54px; }

/* Expanded rails gain the same visual density and hierarchy as the North Star. */
.world.world-expanded .world-expanded-left section,
.world.world-expanded .world-expanded-rail section {
  background:
    linear-gradient(180deg, rgba(4, 20, 34, .94), rgba(2, 10, 18, .88)),
    radial-gradient(circle at 50% 0, rgba(35, 170, 222, .06), transparent 62%);
  border-color: rgba(72, 178, 220, .36);
  box-shadow: 0 18px 52px rgba(0, 0, 0, .38), inset 0 0 30px rgba(0, 142, 205, .04);
}

.world.world-expanded .world-expanded-left section > header,
.world.world-expanded .world-expanded-rail section > header {
  height: 44px;
  border-bottom-color: rgba(75, 181, 224, .23);
}

.world.world-expanded .world-expanded-left header strong,
.world.world-expanded .world-expanded-rail header strong {
  font-size: clamp(10.5px, .70vw, 12.5px);
  letter-spacing: .9px;
}

.world.world-expanded .expanded-metric {
  min-height: 71px;
  padding: 11px 14px 8px;
}

.world.world-expanded .expanded-metric span,
.world.world-expanded .world-expanded-left dt,
.world.world-expanded .world-expanded-left dd {
  font-size: clamp(8.2px, .55vw, 10px);
}

.world.world-expanded .expanded-metric b {
  font-size: clamp(10.5px, .68vw, 12px);
  text-shadow: 0 0 10px rgba(57, 232, 148, .20);
}

.world.world-expanded .expanded-metric svg {
  height: 31px;
  stroke-width: 1.25;
}

.world.world-expanded .flow-list > div,
.world.world-expanded .asset-list > div {
  min-height: 39px;
  align-items: center;
}

.world.world-expanded .expanded-live-events button {
  min-height: 43px;
}

.world.world-expanded .expanded-live-events button span,
.world.world-expanded .expanded-gcs p {
  font-size: clamp(9px, .59vw, 10.5px);
}

.world.world-expanded .expanded-heatmap > div span {
  min-height: 64px;
  background: linear-gradient(180deg, rgba(5, 76, 57, .78), rgba(3, 35, 35, .70));
  border-color: rgba(54, 211, 148, .24);
}

.world.world-expanded .expanded-heatmap > div span:nth-child(n+4) {
  background: linear-gradient(180deg, rgba(4, 53, 46, .74), rgba(2, 25, 31, .68));
}

.world.world-expanded .expanded-heatmap b { font-size: clamp(8px, .53vw, 9.5px); }
.world.world-expanded .expanded-heatmap em { font-size: clamp(10px, .67vw, 12px); }

.world.world-expanded .expanded-gcs li {
  min-height: 54px;
  align-items: start;
}

/* Stronger pedestal convergence without changing its coordinate contract. */
.world.world-expanded .gp-world-environment-canvas {
  filter: saturate(1.12) contrast(1.08) brightness(1.09);
}

.world.world-expanded .gp-world-environment-glow-canvas {
  filter: blur(3.8px) saturate(1.22);
  opacity: .68;
}

.world.world-expanded .gp-world-network-glow-canvas {
  filter: blur(2px) saturate(1.16);
  opacity: .58;
}

@media (max-width: 1450px) {
  .world:not(.world-expanded) .force { padding: 7px 6px; }
  .world:not(.world-expanded) .force-icon { width: 42px; height: 42px; }
  .world:not(.world-expanded) .force strong { font-size: 11.8px; }
  .world:not(.world-expanded) .left-forces .force::after,
  .world:not(.world-expanded) .right-forces .force::after { width: 38px; }
  .world:not(.world-expanded) .left-forces .force::after { right: -38px; }
  .world:not(.world-expanded) .right-forces .force::after { left: -38px; }
}

@media (prefers-reduced-motion: reduce) {
  .world-core.gp-world-booting::before,
  .world-core.gp-world-boot-slow::before { animation: none; }
  .world-core > canvas { transition: none; }
}
