/* ======================================
   TUTORIAL - the guided tour
   ====================================== */

/* The Maester's Guide had its own block here - the modal book, its chapter
   nav, its footer and the phone stacking. Removed with the book itself on
   2026-09-06. */

/* --- Guided tour (spotlight + tooltip) --- */
#tour-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000; /* above modals (500) and the sidebar */
}

#tour-spotlight {
  position: fixed;
  border: 2px solid var(--accent-gold);
  border-radius: 6px;
  box-shadow: 0 0 0 9999px rgba(13, 11, 14, 0.78);
  pointer-events: none;
  transition: top 0.25s ease, left 0.25s ease, width 0.25s ease, height 0.25s ease;
}

#tour-tip {
  position: fixed;
  background: var(--bg-panel);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  width: 320px;
  max-width: calc(100vw - 20px);
  /* Never taller than the screen: the text scrolls, the buttons stay put. */
  max-height: calc(100vh - 20px);
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6);
  transition: top 0.25s ease, left 0.25s ease;
}
.tour-tip-step {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
.tour-tip-title {
  font-family: var(--font-display);
  color: var(--accent-gold);
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}
.tour-tip-body {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 0.7rem;
  min-height: 0;
  overflow-y: auto;
}
.tour-tip-btns { display: flex; gap: 0.4rem; align-items: center; }
.tour-tip-btns .btn { font-size: 0.72rem; padding: 0.3rem 0.7rem; }

/* --- First-login welcome --- */
.onboard-text {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0 0 1rem;
}
.onboard-btns { display: flex; flex-direction: column; gap: 0.45rem; }

/* --- The ? button in the sidebar brand row: it replays the tour --- */
#help-btn { font-weight: 700; }

/* The five-column focus tables that the Guide built out of activities.json went
   with the book on 2026-09-06. Nothing draws a .guide-table now. */
