/* NPW 1.5.9.6.2 — thank-you dialog after a successful pray tap. Mobile-first. */
.npw-pt[hidden] { display: none !important; }
.npw-pt {
  position: fixed;
  inset: 0;
  z-index: 100050;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  font-family: var(--npw-font, "Plus Jakarta Sans", "Helvetica Neue", sans-serif);
  color: #0F2744;
}
.npw-pt__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 39, 68, 0.48);
  border: 0;
  cursor: pointer;
}
.npw-pt__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  max-height: min(88vh, 640px);
  overflow: auto;
  padding: 28px 24px 24px;
  background: #FFFDF8;
  border: 1px solid #F6D58A;
  border-radius: 24px 24px 20px 20px;
  box-shadow: 0 22px 50px rgba(15, 39, 68, 0.28);
  box-sizing: border-box;
}
.npw-pt__dialog::before {
  content: "";
  display: block;
  height: 7px;
  margin: -28px -24px 20px;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(90deg, #F59E0B, #F97316, #FBBF24);
}
.npw-pt__close {
  position: absolute;
  top: 14px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #0F2744;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.npw-pt__close:hover { background: rgba(15, 39, 68, 0.06); }
.npw-pt__close:focus-visible,
.npw-pt__btn:focus-visible {
  outline: 3px solid #1A73E8;
  outline-offset: 2px;
}
.npw-pt__dialog h2 {
  margin: 0 40px 12px 0;
  font-family: var(--npw-font, "Plus Jakarta Sans", "Helvetica Neue", sans-serif);
  font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #0F2744;
}
.npw-pt__copy p {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.5;
  color: #1E293B;
  font-weight: 500;
}
.npw-pt__copy p:last-child { margin-bottom: 0; }
.npw-pt__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  width: 100%;
  margin-top: 20px;
  padding: 12px 20px;
  box-sizing: border-box;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #FBBF24, #F59E0B);
  color: #1A1305 !important;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none !important;
  text-align: center;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
}
.npw-pt__btn:hover { color: #1A1305 !important; transform: translateY(-1px); }

@media (min-width: 640px) {
  .npw-pt {
    align-items: center;
    padding: 24px;
  }
  .npw-pt__dialog {
    border-radius: 24px;
    padding: 32px 28px 28px;
  }
  .npw-pt__dialog::before { margin: -32px -28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .npw-pt__btn { transform: none; }
}

body.npw-pt-open { overflow: hidden; }
