/* Shared shell; archived article markup and scripts remain intact inside the console. */
body.legacy-world.arcade-ready {
  padding: 0 !important;
  height: 100dvh !important;
  min-height: 0 !important;
  overflow: hidden !important;
}
.legacy-world > .world-header {
  position: relative !important;
  inset: auto !important;
  z-index: 35 !important;
  background: #030c16 !important;
}
.legacy-world .world-header .world-navigation {
  display: block;
}
.legacy-world .world-header ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.legacy-world .world-header a {
  opacity: 1 !important;
  transform: none !important;
  letter-spacing: normal;
  text-transform: none;
}
.legacy-world .world-brand small {
  letter-spacing: 0.16em !important;
}
.legacy-world .record-source {
  position: relative;
  contain: layout;
  min-height: 100%;
  isolation: isolate;
  color: #f7f2e9;
}
.legacy-world .record-source > .nav,
.legacy-world .record-source > nav:not(.chapter-nav),
.legacy-world .record-source > header,
.legacy-world .record-source > .preloader {
  display: none !important;
}
.legacy-world .record-source :where(h1, h2, h3, p, li, article, section) {
  opacity: 1 !important;
}
.legacy-world .record-source .sidebar {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: auto !important;
  height: auto !important;
}
.legacy-world .record-source .canvas-area {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  min-height: 60vh;
}
.legacy-world .record-source .chapter-nav {
  position: sticky !important;
  top: auto !important;
  bottom: 0 !important;
  z-index: 3 !important;
}
.legacy-world .record-source canvas {
  max-width: 100%;
}
.legacy-world .record-source :where(.container, .content, .main-content) {
  max-width: 100%;
}
@media (max-width: 760px) {
  .legacy-world .world-header .world-navigation {
    display: none;
  }
}

/* Archived generic section rules must never size or pad the shared room. */
.legacy-world .world-room {
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
.legacy-world .story-console {
  min-height: 0 !important;
}
.legacy-world .world-header,
.legacy-world .world-room {
  cursor: auto;
}
.legacy-world .world-header a,
.legacy-world .world-room a,
.legacy-world .world-room button {
  cursor: pointer;
}
