:root {
  --bg: #000;
  --fg: #fff;
  --muted: rgba(255,255,255,.7);
  --hair: rgba(255,255,255,.12);
  --card: rgba(230,235,255,.05);
  --prime-accent: #6ecbff;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Segoe UI", system-ui, sans-serif;
}

/* ───────────────────────────── */
/* FIXED TOP NAV                 */
/* ───────────────────────────── */

.topnav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;

  display: flex;
  justify-content: center;
  gap: 10px;

  padding: 12px 16px;
  background: #000;
  border-bottom: 1px solid var(--hair);
}

.pill {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--hair);
  background: rgba(255,255,255,.06);
  color: var(--prime-accent); /* light blue */
  text-decoration: none;
  font-size: 14px;
}

.pill:hover {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,155,155,.50);
  color: #ff3b3b;
}

/* ───────────────────────────── */
/* PAGE WRAPPER                  */
/* ───────────────────────────── */

.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 110px 18px 64px;
}

/* ───────────────────────────── */
/* HEADER                        */
/* ───────────────────────────── */

header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--hair);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.20));
}

.title {
  margin: 0;
  font-size: 22px;
  letter-spacing: 1px;
}

.subtitle {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.travelerBox {
  text-align: right;
}

.travelerLabel {
  margin: 0 0 6px;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--muted);
}

.travelerCount {
  margin: 0;
  font-size: 28px;
  font-weight: bold;
}

/* ───────────────────────────── */
/* BOOT PANEL                    */
/* ───────────────────────────── */

.boot {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--hair);
  border-radius: 16px;
  background: var(--card);
}

.screen {
  font-family: Consolas, monospace;
  font-size: 14px;
  line-height: 1.55;
  white-space: pre-wrap;
}

/* ───────────────────────────── */
/* SECTIONS                      */
/* ───────────────────────────── */

section {
  margin-top: 18px;
  border: 1px solid var(--hair);
  border-radius: 16px;
  background: rgba(255,255,255,.02);
  scroll-margin-top: 120px;
}

summary {
  padding: 14px;
  cursor: pointer;
  font-weight: 600;
  color: var(--prime-accent);
  list-style: none;
}

/* Remove default marker (Chrome/Safari) */
summary::-webkit-details-marker {
  display: none;
}

/* Custom arrow to match Prime */
summary::before {
  content: "▸";
  display: inline-block;
  margin-right: 0.5em;
  color: var(--prime-accent);
  transition: transform 150ms ease;
}

/* Rotate arrow when open */
details[open] summary::before {
  transform: rotate(90deg);
}

/* Subtle hover feedback */
summary:hover {
  opacity: 0.85;
}

footer {
  margin-top: 24px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* TAS footer link: looks like text until hover */
.tas-link {
  color: inherit;
  text-decoration: none;
  pointer-events: none;   /* not clickable until armed */
}

/* Hovering the wrapper "arms" the link */
.tas-wrap:hover .tas-link {
  color: #ff3b3b;         /* red */
  text-decoration: underline;
  pointer-events: auto;   /* now clickable */
  cursor: pointer;
}
/* Imaginarius Prime footer link (mirrors TAS behavior) */
.ip-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.ip-link:hover {
  color: #7fbfb5; /* light blue / Prime tone */
  border-bottom: 1px solid #7fbfb5;
}
/* Next Dream link above header box */
.next-dream {
  text-align: right;
  margin: 6px 0 8px;
}

.next-dream-link {
  text-decoration: none;
  letter-spacing: 0.08em;
  font-size: 20px;
  font-family: "Segoe Script", "Bradley Hand", "Lucida Handwriting", system-ui, sans-serif;
  color: rgba(120, 170, 220, 0.95); /* neon-ish blue */
  text-transform: uppercase;
}

.next-dream-link:hover {
  color: rgba(160, 210, 255, 1);
}

.dream-nav-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 6px 0 8px;
}

.dream-nav-link {
  text-decoration: none;
  letter-spacing: 0.08em;
  font-size: 20px;
  font-family: "Segoe Script", "Bradley Hand", "Lucida Handwriting",
               system-ui, sans-serif;
  text-transform: uppercase;
  opacity: 0.9;
  color: rgba(120, 170, 220, 0.95);
}

.dream-nav-link:hover {
  opacity: 1;
  color: rgba(160, 210, 255, 1);
}
.prime-link {
  color: #D1E7D1;
  text-decoration: underline;
}

.prime-link:hover {
  color: #66ff00;
  text-decoration: underline;
}
.boot.collapsed {
  padding: 10px 14px;
}

.boot.collapsed .screen {
  display: none;
}

.whisper {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.08em;
}





















