/* First-visit intro (4 panels) — additive, self-contained.
   Shown once (localStorage), after the session welcome overlay.
   Accent follows this shop's single blue accent (#0071e3).
   Motion: one smooth glide (site motion rules — no bounce). */
.intro-overlay {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background: rgb(17 17 19 / 0.52);
  padding: calc(16px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom));
}
.intro-overlay[hidden] { display: none !important; }
.intro-card {
  width: 100%; max-width: 400px; max-height: 100%;
  display: flex; flex-direction: column;
  background: var(--surface); color: var(--text);
  border-radius: 22px; overflow: hidden;
  box-shadow: 0 24px 64px rgb(0 0 0 / 0.35);
}
@media (prefers-reduced-motion: no-preference) {
  .intro-card { animation: panelIn 0.45s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
}
.intro-viewport { overflow: hidden; }
.intro-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  touch-action: pan-y;
}
.intro-panel {
  min-width: 100%; padding: 28px 28px 8px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.intro-visual {
  width: 168px; height: 168px; border-radius: 50%;
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
}
.intro-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.intro-visual img.intro-visual-contain { object-fit: contain; padding: 26px; background: var(--surface); }
.intro-visual svg { width: 72px; height: 72px; color: var(--text); }
.intro-title {
  margin: 24px 0 0; font-size: 20px; font-weight: 700; line-height: 1.4; letter-spacing: 0.02em;
}
.intro-text {
  margin: 10px 0 0; font-size: 14px; line-height: 1.7; color: var(--dim);
}
.intro-dots { display: flex; gap: 8px; justify-content: center; padding: 20px 0 4px; }
.intro-dot {
  width: 8px; height: 8px; border-radius: 999px; padding: 0;
  background: var(--border); transition: background 0.3s ease, width 0.3s ease;
}
.intro-dot.is-on { width: 22px; background: #0071e3; }
.intro-actions {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px calc(20px + env(safe-area-inset-bottom));
}
.intro-skip {
  font-size: 14px; color: var(--faint); padding: 12px 8px; white-space: nowrap;
}
.intro-next, .intro-start {
  flex: 1; border-radius: 999px; padding: 14px 20px;
  background: #0071e3; color: #ffffff;
  font-size: 15px; font-weight: 600; letter-spacing: 0.04em;
}
.footer-intro-link {
  font: inherit; color: inherit; padding: 0; text-decoration: none; cursor: pointer;
}
.footer-intro-link:hover { text-decoration: underline; text-underline-offset: 4px; }
