.plugin-tour { min-width: 0; }
.plugin-tour [hidden] { display: none !important; }
.tour-heading { margin-bottom: 18px; }
.tour-heading h2 { color: var(--white); font-family: var(--font-display); font-size: clamp(25px, 3vw, 34px); letter-spacing: 1px; }
.tour-heading p { margin-top: 6px; color: var(--faint); font-size: 12px; line-height: 1.7; }
.tour-stage { position: relative; isolation: isolate; }
.tour-image { display: block; width: 100%; height: auto; }
.tour-shade { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.tour-hotspot {
  position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h);
  transform: translate(-50%, -50%); display: grid; place-items: center;
  border: 0; padding: 0; border-radius: 50%; background: transparent; color: var(--neon); cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.tour-hotspot::before {
  content: ''; position: absolute; inset: -8%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse, transparent 40%, rgba(77,255,170,.13) 63%, transparent 74%);
  opacity: .7; transition: opacity .2s ease;
}
.tour-hotspot::after { content: ''; position: absolute; width: 44px; height: 44px; }
.tour-hotspot span {
  position: relative; display: grid; place-items: center; width: 23px; height: 23px;
  border: 1px solid var(--neon); border-radius: 50%; background: #0a1915;
  box-shadow: 0 0 0 4px rgba(77,255,170,.12), 0 0 18px rgba(77,255,170,.35);
  transition: background .2s ease, box-shadow .2s ease;
}
.tour-hotspot span::after { content: ''; margin-left: 2px; border-left: 6px solid currentColor; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.tour-hotspot:hover::before, .tour-hotspot[aria-pressed="true"]::before { opacity: 1; }
.tour-hotspot:hover span, .tour-hotspot[aria-pressed="true"] span { background: var(--neon); color: var(--black); box-shadow: 0 0 0 5px rgba(77,255,170,.2), 0 0 24px rgba(77,255,170,.5); }
.tour-hotspot:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.tour-hotspot:focus-visible span { outline: 2px solid var(--white); outline-offset: 4px; }
body.tour-dialog-open { overflow: hidden; }
.tour-dialog {
  position: fixed; inset: auto; margin: 0; padding: 0;
  width: min(600px, calc(100vw - 32px)); max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain;
  border: 1px solid rgba(168,159,212,.6); border-radius: 8px;
  background: var(--coal); color: var(--dim);
  box-shadow: 0 24px 90px rgba(0,0,0,.75), 0 0 36px rgba(77,255,170,.08);
}
.tour-dialog::backdrop { background: rgba(5,4,11,.65); backdrop-filter: blur(3px); }
.tour-dialog-heading { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; background: var(--coal); border-bottom: 1px solid rgba(168,159,212,.25); }
.tour-dialog-content { padding: 20px; }
.tour-info { margin-top: 20px; }
.tour-eyebrow { color: var(--neon); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; }
.tour-dialog h3 { margin-top: 6px; font-family: var(--font-display); font-size: 30px; color: var(--white); letter-spacing: 1px; line-height: 1.1; }
.tour-description, .tour-tip { font-size: 13px; line-height: 1.8; color: var(--dim); }
.tour-tip { margin-top: 12px; color: var(--purple); }
.tour-player { border: 1px solid rgba(168,159,212,.28); background: var(--near); }
.tour-player h4 { padding: 10px 14px; border-bottom: 1px solid rgba(168,159,212,.2); font-size: 12px; color: var(--white); line-height: 1.5; }
.tour-close { flex: none; border: 0; background: transparent; color: var(--purple); font: inherit; font-size: 12px; min-height: 44px; padding: 8px; cursor: pointer; }
.tour-close:hover { color: var(--neon); }
.tour-close:focus-visible { outline: 2px solid var(--neon); outline-offset: 2px; }
.tour-media video, .tour-media iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
.tour-media video { aspect-ratio: 4 / 3; height: auto; }
.tour-video-message { padding: 24px; color: var(--faint); font-size: 13px; line-height: 1.8; }
@media (max-width: 620px) {
  .product-hero .product-visual { padding: 16px 12px; }
  .tour-hotspot span { width: 20px; height: 20px; }
  .tour-dialog-heading { padding: 12px 16px; }
  .tour-dialog-content { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .tour-hotspot::before, .tour-hotspot span { transition: none; }
}
