/* What every world inherits: the arrival fade and sane defaults for the three shared links.
   Each world restyles .world-exit, .world-lang and .world-colophon in its own world.css. */

/* The screen is already the world's colour (html's background, set in the markup). The page fades up from it.
   A world can replace this: html.is-arriving body { animation: none } and do its own. */
@keyframes world-arrive { from { opacity: 0; } }
html.is-arriving body { animation: world-arrive 720ms cubic-bezier(0.23, 1, 0.32, 1) 60ms both; }
@media (prefers-reduced-motion: reduce) {
  html.is-arriving body { animation-duration: 240ms; animation-delay: 0ms; }
}

.world-exit {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: inherit;
  text-decoration: none;
  /* a finger-sized target without growing the words */
  min-height: 44px;
}
.world-exit svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.world-lang { color: inherit; text-decoration: none; }
.world-colophon { font-size: 14px; }
.world-colophon a { color: inherit; }
.world-colophon nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.world-colophon p { margin: 0 0 6px; }
