.tour-note { margin: 8px 0 0; color: var(--muted); }
.tour-stage {
  position: relative;
  height: min(72vh, 820px);
  min-height: 420px;
  margin-top: 18px;
  background: #111;
  border-radius: 16px;
  overflow: hidden;
}
.tour-stage .psv-container { width: 100%; height: 100%; }
.psv-container .psv-markers,
.psv-container .psv-markers-svg-container { pointer-events: none; }
.psv-container .psv-marker {
  pointer-events: auto;
  perspective: 220px;
}
.tour-spot {
  box-sizing: content-box;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 9px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: transparent;
  appearance: none;
  outline: none;
  transform: rotateX(56deg);
  transform-origin: center center;
  transition: border-color 0.18s ease;
}
.psv-marker.is-hot .tour-spot {
  border-color: #fff;
}
@media (hover: none) {
  .tour-spot { border-color: rgba(255, 255, 255, 0.72); }
}
.tour-cursor {
  position: absolute;
  z-index: 30;
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  border: 3px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.35s ease;
}
.tour-cursor.is-hidden { opacity: 0; }

@media (hover: hover) and (pointer: fine) {
  .tour-stage .psv-canvas-container,
  .tour-stage .psv-marker { cursor: none; }
}

@media (max-width: 720px) {
  .tour-stage { height: 68vh; min-height: 320px; border-radius: 0; margin-top: 0; }
}
.tour-product-bar {
  display: grid;
  gap: 12px;
  justify-items: center;
  margin-top: 14px;
}
.tour-product-dock {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid rgba(28, 32, 36, 0.08);
  border-radius: 999px;
  background: #f7f4f0;
  box-shadow: 0 8px 20px rgba(20, 24, 28, 0.06);
  cursor: default;
}
.tour-product-dock[hidden] { display: none; }
.tour-product-num {
  position: relative;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: var(--swatch, #6b6560);
  color: #fff;
  font: 700 17px/1 "Pretendard", "Noto Sans KR", sans-serif;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  appearance: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.tour-product-num.is-active {
  transform: scale(1.08);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.35), inset 0 0 0 1px rgba(0, 0, 0, 0.18);
}
.tour-product-num::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 5;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(18, 22, 26, 0.92);
  color: #fff;
  font: 600 12px/1.2 "Pretendard", "Noto Sans KR", sans-serif;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}
.tour-product-num:hover::after,
.tour-product-num:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.tour-product-edit {
  display: grid;
  gap: 8px;
  justify-items: center;
  width: min(520px, 100%);
  padding: 12px 14px;
  border: 1px dashed rgba(28, 32, 36, 0.18);
  border-radius: 14px;
  background: #fff;
}
.tour-product-edit[hidden] { display: none; }
.tour-product-edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.tour-product-edit-note {
  margin: 0;
  color: #6b6560;
  font-size: 14px;
  text-align: center;
}
.tour-pin {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  appearance: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.tour-pin.is-on {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.tour-pin-ring {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}
.tour-pin-core {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
}
.tour-pin.is-on .tour-pin-core {
  animation: tour-pin-blink 1.25s ease-in-out infinite;
}
.tour-pin-line {
  position: absolute;
  top: 24px;
  left: 11px;
  width: 1px;
  height: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.15));
}
.tour-pin-label {
  position: absolute;
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(18, 22, 26, 0.78);
  color: #fff;
  font: 600 13px/1 "Pretendard", "Noto Sans KR", sans-serif;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}
.psv-marker.is-hot .tour-pin-label {
  background: rgba(15, 118, 110, 0.92);
  border-color: rgba(255, 255, 255, 0.7);
}
@keyframes tour-pin-blink {
  0%, 100% { opacity: 0.22; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .tour-pin.is-on .tour-pin-core { animation: none; opacity: 1; }
}
.product-pop {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(12, 16, 20, 0.5);
}
body.has-product-pop .psv-navbar {
  z-index: 1 !important;
}
.product-pop[hidden] { display: none; }
.product-pop-card {
  position: relative;
  width: min(440px, 100%);
  padding: 46px 26px 22px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}
.product-pop-photo {
  display: block;
  width: 100%;
  height: 220px;
  margin: 0 0 16px;
  object-fit: cover;
  border-radius: 12px;
  background: #f3f0ec;
}
.product-pop-photo[hidden] { display: none; }
.product-pop-card h2 { margin: 0 0 14px; font-size: 28px; }
.product-pop-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: #5c564f;
  font: inherit;
  cursor: pointer;
}
.product-pop-card dl { margin: 0; }
.product-pop-card dl div {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 8px;
  padding: 10px 0;
  border-top: 1px solid #ece7e1;
}
.product-pop-card dt { color: #6b6560; }
.product-pop-card dd { margin: 0; }
.product-pop-desc { margin: 14px 0 18px; line-height: 1.65; white-space: pre-wrap; }
.product-pop-card .btn { display: inline-block; }
