.ecb-tour-layer {
  position: fixed;
  inset: 0;
  z-index: 2147480000;
  pointer-events: none;
}

.ecb-tour-shade {
  position: fixed;
  display: block;
  background: rgb(35 31 29 / 72%);
  pointer-events: auto;
  transition: opacity 150ms ease;
}

.ecb-tour-coach {
  position: fixed;
  z-index: 2147480001;
  width: min(336px, calc(100vw - 32px));
  box-sizing: border-box;
  padding: 18px;
  border: 1px solid rgb(99 73 55 / 18%);
  border-radius: 16px;
  background: #fffaf4;
  color: #282321;
  box-shadow: 0 18px 48px rgb(31 23 17 / 30%);
  pointer-events: auto;
}

.ecb-tour-coach__step {
  display: block;
  margin-bottom: 6px;
  color: #a84d1c;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .08em;
}

.ecb-tour-coach h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.ecb-tour-coach p {
  margin: 7px 0 14px;
  color: #5f554f;
  font-size: 14px;
  line-height: 1.55;
}

.ecb-tour-coach__actions { display: flex; justify-content: flex-end; gap: 8px; }

.ecb-tour-coach button,
.ecb-tour-restart {
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  padding: 8px 11px;
  background: #a84d1c;
  color: #fffaf4;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.ecb-tour-coach button[data-tour-skip] {
  min-height: 44px;
  background: transparent;
  color: #6d625b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ecb-tour-restart {
  white-space: nowrap;
}

.ecb-tour-restart--floating {
  position: fixed;
  top: 14px;
  right: 16px;
  z-index: 50;
  box-shadow: 0 8px 22px rgb(56 38 28 / 18%);
}

.ecb-tour-complete {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 2147480002;
  width: min(330px, calc(100vw - 32px));
  box-sizing: border-box;
  padding: 16px;
  border: 1px solid rgb(99 73 55 / 18%);
  border-radius: 14px;
  background: #fffaf4;
  color: #282321;
  box-shadow: 0 16px 42px rgb(31 23 17 / 28%);
}

.ecb-tour-complete p { margin: 0 0 12px; line-height: 1.5; }
.ecb-tour-complete button { float: right; }

@media (max-width: 560px) {
  .ecb-tour-coach { padding: 15px; border-radius: 13px; }
  .ecb-tour-restart--floating { top: 10px; right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .ecb-tour-shade { transition: none; }
}
