#website-tour { position: fixed; margin: 0; width: min(410px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 24px; border: 1px solid #78639a; border-radius: 20px; background: #191725; color: #f7f5ff; box-shadow: 0 18px 70px #0009; z-index: 10000; }
#website-tour::backdrop { background: #08071133; backdrop-filter: none; }
#website-tour h2 { font-size: 1.5rem; line-height: 1.25; margin: 8px 0 14px; }
#website-tour p { line-height: 1.6; }
#website-tour .tour-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 20px; }
#website-tour button { min-height: 44px; }
#website-tour :focus-visible { outline: 3px solid #c7a5ff; outline-offset: 4px; }
.website-tour-target { outline: 3px solid #c7a5ff !important; outline-offset: 5px; }
@media (prefers-reduced-motion: reduce) { #website-tour, .website-tour-target { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Tour steps are nonmodal so the highlighted website controls stay usable. */
body.website-tour-host { padding-bottom: var(--website-tour-space, 360px); }
dialog.website-tour-host { padding-bottom: var(--website-tour-space, 360px); }
#website-tour { overscroll-behavior: contain; }
.website-tour-target { scroll-margin-top: 24px; scroll-margin-bottom: var(--website-tour-space, 360px); }
@media (max-width: 699px) {
  #website-tour { padding: 18px; max-height: 48dvh; }
  #website-tour h2 { font-size: 1.25rem; margin: 6px 0 10px; }
  #website-tour p { line-height: 1.45; }
}
