.pl-swipe-onboarding {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(8, 12, 20, 0.16);
  pointer-events: none;
}

.pl-swipe-onboarding__card {
  position: relative;
  width: min(92vw, 460px);
  min-height: 180px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(20, 24, 32, 0.88);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  padding: 16px 16px 14px;
  text-align: center;
  pointer-events: none;
  color: #fff !important;
}

.pl-swipe-onboarding__card * {
  color: #fff !important;
}

@media (max-width: 900px) and (pointer: coarse) {
  .pl-swipe-onboarding {
    padding: 0;
  }

  .pl-swipe-onboarding__card {
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    border-radius: 0;
    border: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: calc(16px + env(safe-area-inset-top))
      calc(16px + env(safe-area-inset-right))
      calc(16px + env(safe-area-inset-bottom))
      calc(16px + env(safe-area-inset-left));
  }
}

.pl-swipe-onboarding__confirm {
  margin-top: 12px;
  min-width: 170px;
  height: 50px;
  border: 0;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  pointer-events: auto;
}

.pl-swipe-onboarding__confirm:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

.pl-swipe-onboarding__gesture {
  position: relative;
  width: min(80vw, 360px);
  height: 48px;
  margin: 14px auto 10px;
}

.pl-swipe-onboarding__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  opacity: 0.9;
  color: #fff !important;
}

.pl-swipe-onboarding__arrow:first-child {
  left: 0;
}

.pl-swipe-onboarding__arrow:last-child {
  right: 0;
}

.pl-swipe-onboarding__hand {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 30px;
  transform: translate(-50%, -50%);
  animation: pl-swipe-onboarding-hand 1.2s ease-in-out 2;
  color: #fff !important;
}

.pl-swipe-onboarding__label {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff !important;
}

@keyframes pl-swipe-onboarding-hand {
  0% {
    transform: translate(-50%, -50%) translateX(0);
  }
  25% {
    transform: translate(-50%, -50%) translateX(-36%);
  }
  50% {
    transform: translate(-50%, -50%) translateX(0);
  }
  75% {
    transform: translate(-50%, -50%) translateX(36%);
  }
  100% {
    transform: translate(-50%, -50%) translateX(0);
  }
}
