/* =============================================================================
   THE GUIDED TOUR — four-step spotlight. Inactive UI sinks into 85% shadow;
   the active component is framed in a thin brass border with a serif tooltip.
   ============================================================================= */

/* the spotlight frame — its enormous box-shadow IS the page shade.
   Pointer-transparent: the console stays fully usable during the tour,
   so the shade is lighter than a blocking overlay would be. */
.tour-spotlight {
  position: fixed;
  z-index: 900;
  border: 1px solid rgba(201, 168, 92, 0.85);
  border-radius: 16px;
  box-shadow:
    0 0 0 9999px rgba(3, 3, 4, 0.68),
    0 0 32px rgba(201, 168, 92, 0.22),
    inset 0 0 22px rgba(201, 168, 92, 0.05);
  pointer-events: none;
  transition: top 420ms var(--ease-out), left 420ms var(--ease-out),
              width 420ms var(--ease-out), height 420ms var(--ease-out);
}

/* the tooltip card */
.tour-card {
  position: fixed;
  z-index: 901;
  width: min(400px, calc(100vw - 40px));
  background: linear-gradient(180deg, #0d1014, #08090b);
  border: 1px solid rgba(201, 168, 92, 0.40);
  border-radius: 14px;
  padding: 24px 26px 20px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 24px 60px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(201, 168, 92, 0.06);
  transition: top 420ms var(--ease-out), left 420ms var(--ease-out), opacity 300ms;
}
.tour-step-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tour-step-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 168, 92, 0.4), transparent);
}
.tour-title {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #f4ead0;
  margin: 0 0 10px;
}
.tour-text {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 20px;
  letter-spacing: 0.01em;
}
.tour-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tour-skip {
  background: none;
  border: none;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 8px 0;
  margin-right: auto;
  transition: color 180ms;
}
.tour-skip:hover { color: var(--text-secondary); }
.tour-back, .tour-next {
  border-radius: 999px;
  padding: 9px 20px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 180ms var(--ease-out);
}
.tour-back {
  background: transparent;
  border: 1px solid #242b32;
  color: var(--text-secondary);
}
.tour-back:hover { border-color: rgba(201, 168, 92, 0.5); color: var(--brass-bright); }
.tour-back[hidden] { display: none; }
.tour-next {
  background: linear-gradient(180deg, var(--brass-bright), var(--brass));
  border: none;
  color: var(--ink-on-brass);
  box-shadow: 0 0 14px var(--brass-glow-faint);
}
.tour-next:hover { box-shadow: 0 0 22px var(--brass-glow-soft); transform: translateY(-1px); }
.tour-progress-dots {
  display: flex;
  gap: 7px;
  margin-right: 14px;
}
.tour-progress-dots span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #2a323a;
  transition: background 300ms, box-shadow 300ms;
}
.tour-progress-dots span.on {
  background: var(--brass);
  box-shadow: 0 0 6px var(--brass-glow);
}
