/* The step-by-step guide: a spotlight on one thing, a card that explains it. */
.tour-spot { position: absolute; z-index: 9000; border-radius: 10px; box-shadow: 0 0 0 9999px rgb(10 10 10 / 0.55), 0 0 0 2px #6366f1; pointer-events: none; transition: top 0.25s, left 0.25s, width 0.25s, height 0.25s; }
.tour-card { position: absolute; z-index: 9001; width: min(360px, calc(100vw - 24px)); background: #fff; color: #0a0a0a; border: 1px solid #e8e8ec; border-radius: 12px; padding: 18px 20px 16px; box-shadow: 0 16px 48px rgb(0 0 0 / 0.22); font: 400 14px/1.5 "DM Sans", system-ui, sans-serif; transition: top 0.25s, left 0.25s; }
.tour-card[hidden], .tour-spot[hidden] { display: none; }
.tour-card::before { content: ""; position: absolute; width: 14px; height: 14px; background: #fff; border: 1px solid #e8e8ec; transform: rotate(45deg); left: calc(var(--arrow-x, 50%) - 7px); }
.tour-card[data-arrow="up"]::before { top: -8px; border-right: 0; border-bottom: 0; }
.tour-card[data-arrow="down"]::before { bottom: -8px; border-left: 0; border-top: 0; }
.tour-card[data-arrow="left"]::before { left: -8px; top: 24px; border-right: 0; border-top: 0; }
.tour-card[data-arrow="none"]::before { display: none; }
.tour-card__count { margin: 0 0 6px; padding: 0; font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: #6366f1; }
.tour-card .tour-card__title { margin: 0 0 6px; padding: 0; background: none; border: 0; font: 700 18px/1.25 "General Sans", "DM Sans", sans-serif; letter-spacing: -0.02em; text-transform: none; color: #0a0a0a; }
.tour-card__text { margin: 0; padding: 0; color: #4b4b4b; }
.tour-card__buttons { display: flex; gap: 8px; margin-top: 16px; }
.tour-card__buttons button { height: 34px; padding: 0 14px; border-radius: 6px; border: 1px solid #e8e8ec; background: #fff; color: #0a0a0a; font: 500 13px/1 "DM Sans", system-ui, sans-serif; cursor: pointer; text-transform: none; letter-spacing: 0; }
.tour-card__buttons button:hover { border-color: #9c9c9c; background: #fff; }
.tour-card__buttons button[data-tour="close"] { margin-right: auto; border-color: transparent; color: #6b6b6b; padding: 0 6px; }
.tour-card__buttons button.is-main { background: #6366f1; border-color: #6366f1; color: #fff; }
.tour-card__buttons button.is-main:hover { background: #4f46e5; border-color: #4f46e5; }
.tour-card__buttons button[hidden] { display: none; }
.tour-start { height: 32px; padding: 0 12px; border-radius: 6px; border: 1px solid #e8e8ec; background: #fff; color: #0a0a0a; font: 500 13px/1 "DM Sans", system-ui, sans-serif; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.tour-start::before { content: "?"; width: 16px; height: 16px; border-radius: 50%; background: #6366f1; color: #fff; font-size: 11px; display: grid; place-items: center; }
.tour-start:hover { border-color: #6366f1; color: #4f46e5; }
.tour-start[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .tour-spot, .tour-card { transition: none; } }
