.mr-tour-lock {
  overflow: hidden !important;
}

.mr-tour-welcome,
.mr-tour-shade {
  position: fixed;
  z-index: 2147483000;
  background: rgba(5, 12, 24, .82);
}

.mr-tour-welcome {
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  backdrop-filter: blur(3px);
}

.mr-tour-welcome[hidden],
.mr-tour-layer[hidden] {
  display: none !important;
}

.mr-tour-welcome__card,
.mr-tour-card {
  width: min(460px, calc(100vw - 32px));
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 20px;
  background: #fff;
  color: #182033;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .38);
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
}

.mr-tour-welcome__icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 17px;
  background: linear-gradient(135deg, #07c377, #05a864);
  color: #fff;
  font-size: 1.55rem;
  box-shadow: 0 10px 25px rgba(7, 195, 119, .3);
}

.mr-tour-welcome h2,
.mr-tour-card h3 {
  margin: 0 0 10px;
  color: #172039;
  font-family: 'Nunito', Arial, sans-serif;
  line-height: 1.2;
}

.mr-tour-welcome h2 { font-size: clamp(1.45rem, 5vw, 2rem); }
.mr-tour-card h3 { font-size: 1.25rem; }
.mr-tour-welcome p,
.mr-tour-card p { margin: 0; color: #5c6679; line-height: 1.6; }

.mr-tour-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

.mr-tour-btn {
  min-height: 44px;
  padding: 10px 17px;
  border: 0;
  border-radius: 999px;
  font: 800 .9rem 'Plus Jakarta Sans', Arial, sans-serif;
  cursor: pointer;
}

.mr-tour-btn--primary { background: #07c377; color: #fff; }
.mr-tour-btn--primary:hover { background: #05a864; }
.mr-tour-btn--ghost { background: #eef2f6; color: #39445a; }
.mr-tour-btn:focus-visible,
.mr-tour-restart:focus-visible {
  outline: 3px solid #3483fa;
  outline-offset: 3px;
}

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

.mr-tour-shade { transition: all .22s ease; }
.mr-tour-focus {
  position: fixed;
  z-index: 2147483001;
  border: 3px solid #07c377;
  border-radius: 14px;
  box-shadow: 0 0 0 4px rgba(255,255,255,.92), 0 0 28px rgba(7,195,119,.75);
  pointer-events: none;
  transition: all .22s ease;
}

.mr-tour-card {
  position: fixed;
  z-index: 2147483002;
  padding: 21px;
  pointer-events: auto;
  transition: top .22s ease, left .22s ease;
}

.mr-tour-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: #087b4f;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mr-tour-close {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #eef2f6;
  color: #445064;
  font-size: 1.2rem;
  cursor: pointer;
}

.mr-tour-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
}

.mr-tour-card__nav { display: flex; gap: 8px; }
.mr-tour-skip {
  border: 0;
  background: transparent;
  color: #697386;
  font-weight: 800;
  cursor: pointer;
}

.mr-tour-restart {
  position: fixed;
  right: 18px;
  bottom: 92px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 15px;
  border: 0;
  border-radius: 999px;
  background: #172039;
  color: #fff;
  box-shadow: 0 8px 25px rgba(0,0,0,.24);
  font: 800 .82rem 'Plus Jakarta Sans', Arial, sans-serif;
  cursor: pointer;
}

@media (max-width: 600px) {
  .mr-tour-welcome__card { padding: 22px; }
  .mr-tour-actions { flex-direction: column-reverse; }
  .mr-tour-actions .mr-tour-btn { width: 100%; }
  .mr-tour-card { width: calc(100vw - 24px); padding: 18px; }
  .mr-tour-card__actions { align-items: flex-end; }
  .mr-tour-card__nav { flex-wrap: wrap; justify-content: flex-end; }
  .mr-tour-restart { right: 12px; bottom: 82px; width: 46px; padding: 0; justify-content: center; }
  .mr-tour-restart span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .mr-tour-shade,
  .mr-tour-focus,
  .mr-tour-card { transition: none; }
}
