.world-assets-detail {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* One height for every asset (ART_BOX in AssetPage.tsx). */
.world-assets-art {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 192px;
  overflow: hidden;
}
/* Pixel art scaled up by a whole number, its pixels kept square. */
.world-assets-art-image {
  image-rendering: pixelated;
  flex-shrink: 0;
  cursor: zoom-in;
}
/* A placeholder line in a row's value, inline with its text. */
.people-skeleton {
  display: inline-block;
  vertical-align: middle;
}
.world-credit {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1.6;
  color: #333;
  background: rgba(255, 255, 255, 0.8);
}
.world-credit--open {
  padding-left: 8px;
}
.world-credit a {
  color: inherit;
  text-decoration: none;
}
.world-credit-mark {
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  font-size: 14px;
  line-height: 20px;
  color: inherit;
  background: none;
  cursor: pointer;
}
/* The header, then the world filling the rest of the page: nothing scrolls, the engine draws edge to edge. */
.world-page {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* The stage ends where the shell's bottom chrome begins (a phone's nav): under it, the nav hid the credit and the
     character sat below the middle of what shows. */
  box-sizing: border-box;
  padding-bottom: var(--stratum-app-shell-bottom-chrome, 0px);
}
/* Mobile: the shell's main area is unbounded in native-scroll mode, so bound to the viewport (less a banner above
   the page: the shell's page height). */
@media (max-width: 767px) {
  .world-page {
    height: var(--stratum-app-shell-page-height, calc(var(--vh, 1vh) * 100));
  }
}
.world-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.world-canvas {
  display: block;
  width: 100%;
  height: 100%;
  /* The engine handles touches itself (hold to walk, pinch is a wheel event): no browser panning or zooming. */
  touch-action: none;
  user-select: none;
}
.world-globe {
  position: absolute;
  /* A pixel past the stage's edges (which clip it), centred as before: at a fractional edge (the page at 123.28 device
     pixels) MapLibre's canvas starts on the next whole pixel, and the column left over showed a black line, or, with
     the backdrop kept a pixel in, the ground view through it (an iPhone, 2026-11-17). */
  inset: -1px;
  opacity: 0;
  pointer-events: none;
  /* Space around the globe: MapLibre leaves it transparent, and the ground view's last frame showed through. */
  background: #0b0f19;
}
.world-info {
  position: absolute;
  top: 8px;
  left: 8px;
  margin: 0;
  padding: 6px 8px;
  border-radius: 6px;
  font: 11px/1.4 ui-monospace, monospace;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  pointer-events: none;
  white-space: pre;
}
/* Over the stage, centred in it. */
.world-failed {
  position: absolute;
  inset: 0;
}
.world-globe-error {
  position: absolute;
  inset: auto 16px 48px;
  margin: 0;
}
/* A fixed size, so every scene's frame is the same number of art pixels on any screen. */
.world-scenes-stage {
  position: relative;
  width: 960px;
  height: 640px;
  margin-top: 16px;
}
.world-scenes-canvas {
  display: block;
  width: 960px;
  height: 640px;
}
.world-scenes-globe {
  display: none;
}
* {
  box-sizing: border-box;
}

html,
body,
#root {
  margin: 0;
  padding: 0;
  height: calc(var(--vh, 1vh) * 100);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

.page {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* A search box over a page's sections: room under the box, the sections at their own spacing. */
.search-column {
  display: flex;
  flex-direction: column;
}
.search-column > :first-child {
  margin-bottom: 16px;
}

.page-center {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
