/* v336 — first-watch tour moves through the real store surfaces. */
body[data-watch-surface-tour-release="336"] .feature-panel-shell:has(#watch-surface-tour:not(.hidden)) {
  isolation: isolate;
}

body[data-watch-surface-tour-release="336"] #watch-surface-tour {
  position: absolute;
  z-index: 80;
  right: 12px;
  bottom: 12px;
  left: 12px;
  box-sizing: border-box;
  padding: 10px;
  border: 1px solid #d7dee8;
  border-radius: 16px;
  background: rgb(255 255 255 / 98%);
  box-shadow: 0 12px 30px rgb(25 31 40 / 24%);
}

body[data-watch-surface-tour-release="336"] #watch-surface-tour.hidden {
  display: none;
}

body[data-watch-surface-tour-release="336"][data-tutorial-continuity-release="344"]
  #watch-surface-tour.is-preparing {
  visibility: hidden;
}

body[data-watch-surface-tour-release="336"] .watch-surface-tour-dialogue {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 6px;
  align-items: end;
}

body[data-watch-surface-tour-release="336"] .watch-surface-tour-ant {
  display: grid;
  width: 68px;
  height: 78px;
  place-items: end center;
  overflow: visible;
}

body[data-watch-surface-tour-release="336"] .watch-surface-tour-ant-img {
  display: block;
  width: 64px;
  height: 78px;
  overflow: visible;
}

body[data-watch-surface-tour-release="336"] .watch-surface-tour-ant-img :is(img, svg) {
  width: 100%;
  height: 100%;
  object-fit: contain;
  overflow: visible;
}

body[data-watch-surface-tour-release="336"] .watch-surface-tour-speech {
  position: relative;
  display: grid;
  box-sizing: border-box;
  min-height: 62px;
  margin: 0 0 5px;
  padding: 9px 10px;
  align-content: center;
  overflow: visible;
  border: 2px solid #191f28;
  border-radius: 15px;
  color: #191f28;
  background: #fff;
  font-family: "Pretendard", system-ui, sans-serif;
  font-size: clamp(14px, calc(10vw - 18px), 16px);
  font-weight: 700;
  line-height: 22px;
  text-align: center;
  text-wrap: balance;
  word-break: keep-all;
}

body[data-watch-surface-tour-release="336"] .watch-surface-tour-speech::before {
  position: absolute;
  bottom: 10px;
  left: -8px;
  width: 13px;
  height: 13px;
  border-bottom: 2px solid #191f28;
  border-left: 2px solid #191f28;
  background: #fff;
  content: "";
  transform: rotate(45deg);
}

body[data-watch-surface-tour-release="336"] .watch-surface-tour-speech > .speech-line {
  display: -webkit-box;
  width: 100%;
  margin-inline: auto;
  overflow: hidden;
  text-align: center;
  text-wrap: balance;
  word-break: keep-all;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body[data-watch-surface-tour-release="336"] .watch-surface-tour-actions {
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr);
  gap: 10px;
  align-items: center;
  margin-top: 7px;
  padding-left: 74px;
}

body[data-watch-surface-tour-release="336"] #watch-surface-tour-progress {
  color: #6b7684;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

body[data-watch-surface-tour-release="336"] #watch-surface-tour-next {
  min-height: 46px;
  border: 1px solid #1769e5;
  border-radius: 12px;
  color: #fff;
  background: #3182f6;
  box-shadow: 0 2px 0 #1769e5;
  outline: 4px solid #ffc42d;
  outline-offset: 2px;
  font-size: 16px;
  font-weight: 800;
}

body[data-watch-surface-tour-release="336"] #watch-surface-tour-next:disabled {
  border-color: #b0b8c1;
  color: #6b7684;
  background: #e5e8eb;
  box-shadow: none;
  outline: none;
}

body[data-watch-surface-tour-release="336"] .watch-surface-tour-focus {
  position: relative;
  z-index: 3;
  outline: 4px solid #ffc42d;
  outline-offset: 3px;
}
