/* In-phone pages: Legal reader (Terms, Privacy, Disclaimer) and Advertise */

/* Before the phone adopts a page's content it stays out of sight; without JS it reads as a plain page. */
.js body > .pp-source {
  display: none;
}
body > .pp-source {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px 48px;
  font-family: Poppins, "Segoe UI", system-ui, sans-serif;
  line-height: 1.55;
  color: #152033;
}

.wondalife-phone-screen.is-app .wondalife-phone-body:has(.pp-app) {
  padding: 0;
  overflow: hidden;
  height: 100%;
}

.pp-app {
  --pp-bg: #f4f5f7;
  --pp-card: #ffffff;
  --pp-ink: #152033;
  --pp-ink-strong: #0f1b33;
  --pp-muted: #6b7280;
  --pp-line: #e7e9ee;
  --pp-blue: #2f6bff;
  --pp-green: #22c55e;
  --pp-green-deep: #16a34a;
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  padding-bottom: 20px;
  background: var(--pp-bg);
  color: var(--pp-ink);
  font-family: Poppins, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.pp-app *,
.pp-app *::before,
.pp-app *::after {
  box-sizing: border-box;
}

/* Header */
.pp-head {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px 12px 6px 6px;
  flex-shrink: 0;
}
.pp-back {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--pp-blue);
  cursor: pointer;
}
.pp-back:active {
  background: rgba(47, 107, 255, 0.1);
}
.pp-head h1 {
  flex: 1;
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--pp-ink-strong);
}
.pp-app .pp-head__cta {
  border-radius: 999px;
  padding: 7px 12px;
  background: var(--pp-ink-strong);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

/* Terms · Privacy · Disclaimer */
.pp-tabs {
  display: flex;
  gap: 2px;
  margin: 0 12px 8px;
  padding: 3px;
  border-radius: 999px;
  background: #e6e8ed;
  flex-shrink: 0;
}
.pp-tab {
  flex: 1;
  border: 0;
  border-radius: 999px;
  padding: 7px 4px;
  background: transparent;
  color: #4b5563;
  font: 600 12px/1.2 Poppins, "Segoe UI", sans-serif;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.pp-tab.is-on {
  background: #fff;
  color: var(--pp-ink-strong);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.1);
}

.pp-progress {
  height: 2px;
  margin: 0 12px;
  border-radius: 2px;
  background: rgba(15, 23, 42, 0.06);
  overflow: hidden;
  flex-shrink: 0;
}
.pp-progress i {
  display: block;
  height: 100%;
  background: var(--pp-blue);
  transform: scaleX(0);
  transform-origin: left center;
}

.pp-scroll {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 12px 12px 18px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.pp-scroll::-webkit-scrollbar {
  display: none;
}

.pp-top {
  position: absolute;
  right: 14px;
  bottom: 32px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 27, 51, 0.88);
  color: #fff;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25);
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.pp-top.is-on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.pp-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 80px 0;
  font-size: 12.5px;
  color: var(--pp-muted);
}
.pp-loading span {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 3px solid rgba(47, 107, 255, 0.18);
  border-top-color: var(--pp-blue);
  animation: pp-spin 0.8s linear infinite;
}
@keyframes pp-spin {
  to { transform: rotate(360deg); }
}

.pp-app a {
  color: var(--pp-blue);
  text-decoration: none;
}

/* ---------- Legal reader ---------- */
.pp-app--legal .pp-content h1 {
  margin: 4px 2px 4px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--pp-ink-strong);
}
.pp-app--legal .legal-effective {
  display: inline-block;
  margin: 2px 2px 12px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #e6e8ed;
  font-size: 10.5px;
  font-weight: 600;
  color: #4b5563;
}

.pp-app--legal .legal-jump {
  position: sticky;
  top: 6px;
  z-index: 5;
  margin-bottom: 12px;
}
/* Fills the gap above the stuck bar so text doesn't show through it. */
.pp-app--legal .legal-jump.is-stuck::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -20px;
  left: -2px;
  right: -2px;
  bottom: 50%;
  background: var(--pp-bg);
}
.pp-app--legal .legal-jump__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  border: 1px solid var(--pp-line);
  border-radius: 16px;
  padding: 12px 14px;
  background: var(--pp-card);
  color: var(--pp-ink);
  font: 700 13px/1.3 Poppins, "Segoe UI", sans-serif;
  text-align: left;
  cursor: pointer;
  transition: box-shadow 0.18s ease;
}
.pp-app--legal .legal-jump.is-stuck .legal-jump__toggle {
  box-shadow: 0 6px 18px rgba(15, 27, 51, 0.12);
}
.pp-app--legal .legal-jump__chev {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--pp-muted);
  transition: transform 0.2s ease;
}
.pp-app--legal .legal-jump.is-open .legal-jump__chev {
  transform: rotate(180deg);
}
.pp-app--legal .legal-jump__panel {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 300px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 10px 12px 12px;
  border: 1px solid var(--pp-line);
  border-radius: 16px;
  background: var(--pp-card);
  box-shadow: 0 16px 36px rgba(15, 27, 51, 0.2);
  scrollbar-width: thin;
}
.pp-app--legal .legal-jump.is-open .legal-jump__panel {
  display: block;
}
.pp-app--legal .legal-jump__list {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: jump;
}
.pp-app--legal .legal-jump__list a {
  display: grid;
  grid-template-columns: 1.7em 1fr;
  gap: 4px;
  padding: 5px 6px;
  border-radius: 8px;
  color: #4b5563;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}
.pp-app--legal .legal-jump__list a:active {
  background: #eef2ff;
  color: var(--pp-blue);
}
.pp-app--legal .legal-jump__list a::before {
  counter-increment: jump;
  content: counter(jump) ".";
  color: #9aa3b2;
  font-weight: 600;
}

.pp-app--legal .legal-article {
  padding: 16px 14px 4px;
  border: 1px solid var(--pp-line);
  border-radius: 16px;
  background: var(--pp-card);
}
.pp-app--legal .legal-intro {
  margin: 0 0 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid #f0f1f4;
}
.pp-app--legal .legal-intro p,
.pp-app--legal .legal-article p,
.pp-app--legal .legal-article li {
  color: #374151;
  font-size: 12.5px;
  line-height: 1.62;
}
.pp-app--legal .legal-intro p,
.pp-app--legal .legal-article p {
  margin: 0 0 9px;
}
.pp-app--legal .legal-article section {
  padding: 10px 0 12px;
  border-top: 1px solid #f0f1f4;
}
.pp-app--legal .legal-article section:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.pp-app--legal .legal-article h2 {
  margin: 0 0 7px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--pp-ink-strong);
}
.pp-app--legal .legal-article h3 {
  margin: 12px 0 6px;
  font-size: 13px;
  font-weight: 700;
}
.pp-app--legal .legal-article ul,
.pp-app--legal .legal-article ol {
  margin: 0 0 10px;
  padding-left: 1.2em;
}
.pp-app--legal .legal-article li {
  margin-bottom: 4px;
}
.pp-app--legal .legal-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 14px 0 4px;
  color: var(--pp-muted);
  font-size: 10.5px;
  text-align: center;
}
.pp-app--legal .legal-foot strong {
  color: var(--pp-ink);
}

/* ---------- Advertise ---------- */
.pp-app--ads .hero h1 {
  margin: 2px 2px 8px;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--pp-ink-strong);
}
.pp-app--ads .hero__lead {
  margin: 0 2px 12px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--pp-muted);
}
.pp-app--ads .stats-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 9px 12px 9px 9px;
  border: 1px solid var(--pp-line);
  border-radius: 16px;
  background: var(--pp-card);
  color: var(--pp-ink);
}
.pp-app--ads .stats-banner__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #fde68a, #fbcfe8 45%, #bfdbfe);
}
.pp-app--ads .stats-banner__text {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.35;
}
.pp-app--ads .stats-banner__sub {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--pp-muted);
}
.pp-app--ads .stats-banner__see {
  flex-shrink: 0;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--pp-blue);
}

.pp-app--ads .onair {
  margin-bottom: 16px;
}
.pp-app--ads .onair__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.pp-app--ads .onair__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #ef4444;
}
.pp-app--ads .onair__live .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  animation: pp-pulse 1.5s ease-out infinite;
}
@keyframes pp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.45); }
  70% { box-shadow: 0 0 0 7px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
.pp-app--ads .onair__meta {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--pp-muted);
}
.pp-app--ads .onair__track {
  display: flex;
  gap: 8px;
  margin: 0 -12px;
  padding: 0 12px 4px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.pp-app--ads .onair__track::-webkit-scrollbar {
  display: none;
}
.pp-app--ads .onair__card {
  display: flex;
  flex: 0 0 118px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  padding: 8px;
  border-radius: 12px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-align: center;
  scroll-snap-align: start;
}
.pp-app--ads .onair__note {
  margin: 8px 2px 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--pp-muted);
}

.pp-app--ads .card {
  margin-bottom: 12px;
  padding: 14px 13px 15px;
  border: 1px solid var(--pp-line);
  border-radius: 18px;
  background: var(--pp-card);
  scroll-margin-top: 10px;
}
.pp-app--ads .card__label {
  margin: 0 0 10px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #9aa3b2;
}
.pp-app--ads .product {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid #f0f1f4;
}
.pp-app--ads .product:first-of-type {
  padding-top: 0;
  border-top: 0;
}
.pp-app--ads .product__copy {
  min-width: 0;
}
.pp-app--ads .product__copy h3 {
  margin: 0 0 2px;
  font-size: 13.5px;
  font-weight: 700;
}
.pp-app--ads .product__copy p {
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
  color: var(--pp-muted);
}
.pp-app--ads .stepper {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 1px;
  padding: 3px;
  border-radius: 999px;
  background: #f1f2f5;
}
.pp-app--ads .stepper__btn {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--pp-ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}
.pp-app--ads .stepper__btn:active {
  transform: scale(0.94);
}
.pp-app--ads .stepper__val {
  min-width: 22px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.pp-app--ads .book-btn {
  flex-shrink: 0;
  border: 0;
  border-radius: 999px;
  padding: 8px 13px;
  background: var(--pp-green);
  color: #fff;
  font: 700 11.5px/1.2 Poppins, "Segoe UI", sans-serif;
  white-space: nowrap;
  cursor: pointer;
}
.pp-app--ads .book-btn.is-on {
  background: var(--pp-green-deep);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
}

.pp-app--ads .airport {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid #f0f1f4;
}
.pp-app--ads .airport h3 {
  margin: 0 0 4px;
  font-size: 13.5px;
  font-weight: 700;
}
.pp-app--ads .airport__lead {
  margin: 0 0 10px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--pp-muted);
}
.pp-app--ads .airport__group {
  margin-bottom: 10px;
}
.pp-app--ads .airport__group h4 {
  margin: 0 0 6px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #9aa3b2;
}
.pp-app--ads .airport__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.pp-app--ads .chip {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid var(--pp-line);
  border-radius: 12px;
  background: #fafafa;
  cursor: pointer;
}
.pp-app--ads .chip:has(input:checked) {
  border-color: #86efac;
  background: #f0fdf4;
}
.pp-app--ads .chip input {
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: var(--pp-green);
}
.pp-app--ads .chip span {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.pp-app--ads .chip strong {
  font-size: 11.5px;
  font-weight: 700;
}
.pp-app--ads .chip em {
  font-size: 9.5px;
  font-style: normal;
  line-height: 1.3;
  color: var(--pp-muted);
}

.pp-app--ads .upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 120px;
  padding: 18px 12px;
  border: 1.5px dashed #cbd5e1;
  border-radius: 16px;
  background: #f8fafc;
  text-align: center;
  cursor: pointer;
}
.pp-app--ads .upload.is-filled {
  border-style: solid;
  border-color: #bbf7d0;
  background: #f0fdf4;
}
.pp-app--ads .upload__icon {
  line-height: 0;
  color: #94a3b8;
}
.pp-app--ads .upload__title {
  max-width: 100%;
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pp-app--ads .upload__hint {
  font-size: 10.5px;
  color: var(--pp-muted);
}
.pp-app--ads .upload__preview {
  max-width: 100%;
  max-height: 110px;
  margin-top: 6px;
  border-radius: 10px;
  object-fit: contain;
}
.pp-app--ads .upload__preview[hidden] {
  display: none;
}

.pp-app--ads .fields {
  display: grid;
  gap: 9px;
  margin-bottom: 14px;
}
.pp-app--ads .fields label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #4b5563;
}
.pp-app--ads .fields label em {
  font-style: normal;
  font-weight: 500;
  color: #9aa3b2;
}
.pp-app--ads .fields input {
  width: 100%;
  border: 1px solid var(--pp-line);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  color: var(--pp-ink);
  font: 500 13px/1.3 Poppins, "Segoe UI", sans-serif;
  outline: none;
}
.pp-app--ads .fields input:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.pp-app--ads .total-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.pp-app--ads .total {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.pp-app--ads .total__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--pp-muted);
}
.pp-app--ads .total__amount {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--pp-ink);
}
.pp-app--ads .currency {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: #f1f2f5;
}
.pp-app--ads .currency__btn {
  border: 0;
  border-radius: 999px;
  padding: 6px 10px;
  background: transparent;
  color: var(--pp-muted);
  font: 700 11px/1.2 Poppins, "Segoe UI", sans-serif;
  cursor: pointer;
}
.pp-app--ads .currency__btn.is-active {
  background: #fff;
  color: var(--pp-ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.pp-app--ads .submit {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 13px 16px;
  background: #9ca3af;
  color: #fff;
  font: 700 13.5px/1.2 Poppins, "Segoe UI", sans-serif;
  cursor: not-allowed;
}
.pp-app--ads .submit.is-ready {
  background: var(--pp-ink-strong);
  cursor: pointer;
}
.pp-app--ads .rules {
  margin: 9px 0 0;
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--pp-muted);
  text-align: center;
}

.pp-app--ads .foot {
  margin-top: 4px;
  padding: 4px 4px 0;
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--pp-muted);
  text-align: center;
}
.pp-app--ads .foot p {
  margin: 0;
}
.pp-app--ads .foot a {
  font-weight: 600;
  text-decoration: underline;
}
.pp-app--ads .foot__company {
  margin-top: 8px !important;
  font-size: 10px;
}
.pp-app--ads .foot__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.pp-app--ads .official {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--pp-ink);
}
.pp-app--ads .soc {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e9edf3;
  color: #374151;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  .pp-app--ads .onair__live .dot,
  .pp-loading span {
    animation: none;
  }
  .pp-top {
    transition: none;
  }
}
