.lhn-guide-root {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  pointer-events: none;
  display: none;
}

.lhn-guide-root.is-active {
  display: block;
}

.lhn-guide-dim {
  position: absolute;
  inset: 0;
  pointer-events: auto;
  background: transparent;
}

.lhn-guide-spot {
  position: absolute;
  border-radius: 12px;
  box-shadow: 0 0 0 3px #e11d48, 0 0 0 9999px rgba(4, 9, 20, 0.62);
  pointer-events: none;
  transition: top 0.28s ease, left 0.28s ease, width 0.28s ease, height 0.28s ease;
}

.lhn-guide-card {
  position: absolute;
  width: min(280px, calc(100vw - 24px));
  background: #ffffff;
  color: #0f172a;
  border-radius: 14px;
  padding: 14px 16px 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  pointer-events: auto;
  z-index: 2;
  font-family: Figtree, "Segoe UI", sans-serif;
  transition: top 0.22s ease, left 0.22s ease;
}

.lhn-guide-card::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  background: #ffffff;
  transform: rotate(45deg);
}

.lhn-guide-card[data-place="bottom"]::after {
  top: -6px;
  left: var(--arrow-x, 50%);
  margin-left: -7px;
}

.lhn-guide-card[data-place="top"]::after {
  bottom: -6px;
  left: var(--arrow-x, 50%);
  margin-left: -7px;
}

.lhn-guide-card[data-place="right"]::after {
  left: -6px;
  top: var(--arrow-y, 28px);
}

.lhn-guide-card[data-place="left"]::after {
  right: -6px;
  top: var(--arrow-y, 28px);
}

.lhn-guide-step {
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.lhn-guide-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: #e11d48;
  margin: 0 0 6px;
  line-height: 1.25;
}

.lhn-guide-text {
  font-size: 0.84rem;
  color: #334155;
  line-height: 1.4;
  margin: 0 0 12px;
}

.lhn-guide-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.lhn-guide-skip {
  border: 0;
  background: none;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.lhn-guide-skip:hover {
  color: #64748b;
}

.lhn-guide-next {
  margin-left: auto;
  border: 0;
  background: #e11d48;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  border-radius: 8px;
  padding: 7px 14px;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(225, 29, 72, 0.35);
}

.lhn-guide-next:hover {
  background: #be123c;
}

body.lhn-guide-lock {
  overflow: hidden;
}

@media (max-width: 640px) {
  .lhn-guide-card {
    width: min(260px, calc(100vw - 20px));
  }
}
