/* ── Reset ──────────────────────────────────────────────────────────────────
   Full-screen interactive pages (editors, games). Loaded instead of main.css
   so the site's article layout styles never bleed in.
   ────────────────────────────────────────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  overflow: hidden;
  background: #0a0a14;
}

body {
  display: flex;
  flex-direction: column;
  font-family: "Courier New", monospace;
  font-size: 12px;
  color: #aaaacc;
}

/* ── Top nav ────────────────────────────────────────────────────────────────
   Shared across editor and game full-screen pages.
   ────────────────────────────────────────────────────────────────────────── */

.fs-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
  height: 40px;
  background: #0a0a14;
  border-bottom: 1px solid #1e1e35;
  flex-shrink: 0;
}

.fs-nav a {
  color: #666688;
  text-decoration: none;
  transition: color 0.15s;
}

.fs-nav a:hover {
  color: #aaaacc;
}

.fs-nav__back {
  color: #444466;
  font-size: 11px;
}

.fs-nav__sep {
  color: #1e1e35;
  user-select: none;
}

.fs-nav__title {
  color: #7777aa;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.fs-nav__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ── Content area ───────────────────────────────────────────────────────────
   Fills the remaining height below the nav.
   ────────────────────────────────────────────────────────────────────────── */

.fs-body {
  flex: 1;
  overflow: hidden;
  min-height: 0;
}
