/* First-visit walkthrough (js/tour.js): a dimmed page with a lit window on one element and a tip card beside it. */
.tour { position: fixed; inset: 0; z-index: 1000; }
.tour-shield { position: absolute; inset: 0; }   /* swallows clicks on the dimmed page */
.tour-hole {
  position: fixed; border-radius: 14px; pointer-events: none;
  box-shadow: 0 0 0 2px #FFD27A, 0 0 0 6px rgba(255,210,122,.25), 0 0 0 200vmax rgba(5,8,13,.72);
  transition: left .35s cubic-bezier(.2,.7,.2,1), top .35s cubic-bezier(.2,.7,.2,1), width .35s cubic-bezier(.2,.7,.2,1), height .35s cubic-bezier(.2,.7,.2,1);
}
.tour-tip {
  position: fixed; width: min(340px, calc(100vw - 24px)); padding: 18px 18px 14px; border-radius: 18px;
  background: #1E2740; color: #F4F1EA; border: 1px solid #6A7799; box-shadow: 0 18px 50px rgba(0,0,0,.55);
  font: 15px/1.5 "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, sans-serif;
  transition: left .35s cubic-bezier(.2,.7,.2,1), top .35s cubic-bezier(.2,.7,.2,1);
}
.tour-tip:focus { outline: none; }
.tour-tip:focus-visible { outline: 2px solid #F4F1EA; outline-offset: 3px; }
.tour.still .tour-hole, .tour.still .tour-tip { transition: none; }
.tour-count { margin: 0 0 4px; font: 600 12px "Atkinson Hyperlegible Mono", ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; color: #F2A65A; }
.tour-title { margin: 0 0 6px; font: 800 21px/1.15 "Bricolage Grotesque", system-ui, sans-serif; }
.tour-body { margin: 0; color: #DCE0EA; }
.tour-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 14px; }
.tour-nav { display: flex; gap: 8px; margin-left: auto; }
.tour button { font: inherit; font-weight: 700; cursor: pointer; min-height: 44px; border-radius: 12px; }
.tour-skip { border: 0; background: none; color: #A9B1C6; padding: 0 4px; text-decoration: underline; text-underline-offset: 3px; }
.tour-skip:hover { color: #F4F1EA; }
.tour-back { padding: 0 14px; border: 1.5px solid #6A7799; background: transparent; color: #F4F1EA; }
.tour-next { padding: 0 18px; border: 1.5px solid #FFD27A; background: #FFD27A; color: #0A0E14; }
.tour button:focus-visible { outline: 2px solid #F4F1EA; outline-offset: 2px; }
