* {
  margin: 0;
  padding: 0;
}

body {
  overflow: hidden;
}

header {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 999;
}

.HomeMainContainer {
  padding-top: 68px;
  height: calc(100dvh - 68px);
  overflow-y: auto;
}

.mobile-home-title {
  margin: 8px 14px 6px;
  color: #1f2937;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

#mobile-index-tour {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  isolation: isolate;
  pointer-events: auto;
  opacity: 0;
  transition: opacity 0.2s ease;
}
#mobile-index-tour.active {
  opacity: 1;
}
#mobile-index-tour .tour-mask {
  position: absolute;
  inset: 0;
  z-index: 2147483645;
  background: rgba(15, 23, 42, 0.45);
  pointer-events: auto;
}
#mobile-index-tour .tour-tip-layer {
  position: absolute;
  inset: 0;
  z-index: 2147483647;
  pointer-events: none;
}
#mobile-index-tour .tour-tip {
  position: fixed;
  z-index: 2147483647 !important;
  width: 270px;
  max-width: calc(100vw - 20px);
  background: #ffffff;
  color: #0f172a;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.28);
  padding: 12px;
  pointer-events: auto;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  cursor: grab;
}
#mobile-index-tour .tour-tip .tour-tip-dragbar {
  width: 42px;
  height: 4px;
  border-radius: 99px;
  background: #cbd5e1;
  margin: 0 auto 8px;
  cursor: move;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}
#mobile-index-tour .tour-tip p,
#mobile-index-tour .tour-tip span,
#mobile-index-tour .tour-tip div {
  -webkit-user-select: none;
  user-select: none;
}
#mobile-index-tour .tour-tip.tour-tip-dragging .tour-tip-dragbar {
  cursor: grabbing;
}
#mobile-index-tour .tour-tip.tour-tip-dragging {
  cursor: grabbing;
}
#mobile-index-tour .tour-tip .tour-tip-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}
#mobile-index-tour .tour-tip .tour-actions {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
}
#mobile-index-tour .tour-tip .tour-close-btn {
  border: none;
  background: #e2e8f0;
  color: #334155;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
}
#mobile-index-tour .tour-tip .tour-next-btn {
  border: none;
  background: #0f172a;
  color: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
}
#mobile-index-tour .tour-tip .tour-next-btn.is-disabled,
#mobile-index-tour .tour-tip .tour-next-btn:disabled {
  background: #cbd5e1;
  color: #94a3b8;
  cursor: not-allowed;
  opacity: 1;
}

.mobile-tour-focus {
  position: relative;
  z-index: 2147483646 !important;
  border-radius: 10px;
  outline: 3px solid rgba(239, 68, 68, 0.95);
  outline-offset: 4px;
  box-shadow: 0 0 0 10px rgba(239, 68, 68, 0.22);
  animation: mobileTourPulse 1.1s ease-in-out infinite;
}
#mobile-chat-guide-proxy {
  position: fixed;
  right: 14px;
  bottom: 88px;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  pointer-events: none;
  background: transparent;
  z-index: 2147483640;
}

.mobile-tour-click-effect {
  position: relative;
  overflow: hidden;
  transform: scale(0.98);
  transition: transform 0.18s ease;
}
.mobile-tour-click-effect::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.35);
  transform: translate(-50%, -50%);
  animation: mobileTourClickRipple 0.55s ease-out forwards;
  pointer-events: none;
}

@keyframes mobileTourPulse {
  0% {
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0.22);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(239, 68, 68, 0.1);
  }
  100% {
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0.22);
  }
}

@keyframes mobileTourClickRipple {
  0% {
    opacity: 0.7;
    width: 10px;
    height: 10px;
  }
  100% {
    opacity: 0;
    width: 180px;
    height: 180px;
  }
}
