/* The Professor — first-run tour (redesign). A dimmed page, an orange ring and pulse on the element being
   explained, and a square card with a progress bar per step. The welcome and closing steps (no target) open
   with an arena strip and the Professor. Tokens only, so light and dark both follow. */
.tour-root { position: fixed; inset: 0; z-index: 100000; font-family: var(--ds-font); }
.tour-root.no-target { background: rgba(5, 8, 15, .7); }
.tour-spot {
  position: fixed; pointer-events: none; border-radius: 0;
  box-shadow: 0 0 0 2.5px var(--ds-lg-el), 0 0 0 100vmax rgba(5, 8, 15, .7);
  transition: left var(--ds-t-layer) ease, top var(--ds-t-layer) ease, width var(--ds-t-layer) ease, height var(--ds-t-layer) ease;
}
.tour-spot::after { content: ""; position: absolute; inset: 0; animation: tour-pulse 1.8s ease-out infinite; }
@keyframes tour-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 107, 0, .6); } 100% { box-shadow: 0 0 0 16px rgba(255, 107, 0, 0); } }
.tour-pop {
  position: fixed; box-sizing: border-box; max-height: calc(100dvh - 24px); overflow-y: auto;
  background: var(--ds-card); color: var(--ds-ink); border: 0; border-radius: 0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5); display: flex; flex-direction: column;
}
.tour-pop:focus { outline: none; }
.tour-hero {
  position: relative; flex: none; block-size: 132px; display: flex; align-items: flex-end; padding: 0 20px;
  background: linear-gradient(180deg, rgba(8, 11, 19, .15), rgba(8, 11, 19, .72)), url("/assets/arena-hero.jpg") 50% 40% / cover no-repeat, #0C111C;
}
.tour-hero-logo { inline-size: 88px; block-size: 88px; object-fit: contain; margin-block-end: -30px; }
.tour-pop.is-hero .tour-body { padding-block-start: 40px; }
.tour-body { display: flex; flex-direction: column; gap: 12px; padding: 20px; }
.tour-count { margin: 0; font: 700 var(--ds-fs-12) var(--ds-font); letter-spacing: .06em; color: var(--ds-ink2); }
.tour-bars { display: flex; gap: 4px; }
.tour-bar { flex: 1; block-size: 4px; background: var(--ds-line); }
.tour-bar.on { background: var(--ds-lg-el); }
.tour-title { margin: 0; font: 900 21px/1.2 var(--ds-font); letter-spacing: -.02em; text-wrap: balance; overflow-wrap: anywhere; }
.tour-pop.is-hero .tour-title { font-size: 26px; }
.tour-text { margin: 0; font: 500 var(--ds-fs-15)/1.6 var(--ds-font); color: var(--ds-ink); overflow-wrap: anywhere; }
.tour-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-block-start: 4px; }
.tour-spacer { flex: 1; }
.tour-btn { min-block-size: var(--ds-h-btn); padding: 0 16px; border: 1.5px solid var(--ds-line); border-radius: 0; background: transparent; color: var(--ds-ink); font: 800 var(--ds-fs-14) var(--ds-font); cursor: pointer; }
.tour-btn:hover { background: var(--ds-soft); }
.tour-btn.primary { background: var(--ds-ink); border-color: var(--ds-ink); color: var(--ds-card); }
.tour-btn.primary:hover { opacity: .9; }
.tour-btn.ghost { border-color: transparent; color: var(--ds-ink2); }
.tour-pop :focus-visible { outline: 2px solid var(--ds-ink); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .tour-spot { transition: none; } .tour-spot::after { animation: none; } }
