.xmzx-pwa-lock {
  overflow: hidden !important;
}

.xmzx-pwa-overlay {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px;
  padding-bottom: max(18px, env(safe-area-inset-bottom));
  background: rgba(11, 31, 23, .48);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  animation: xmzx-pwa-fade .2s ease-out;
}

.xmzx-pwa-dialog {
  width: min(100%, 420px);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 26px;
  padding: 24px;
  color: #173b2c;
  background: #fff;
  box-shadow: 0 24px 70px rgba(7, 39, 25, .22);
  animation: xmzx-pwa-rise .28s cubic-bezier(.2, .8, .2, 1);
}

.xmzx-pwa-head {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.xmzx-pwa-icon {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(36, 156, 106, .2);
}

.xmzx-pwa-eyebrow {
  margin: 0 0 4px;
  color: #249c6a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.xmzx-pwa-title {
  margin: 0;
  font-size: 21px;
  line-height: 1.35;
  font-weight: 760;
}

.xmzx-pwa-copy {
  margin: 0;
  color: #657a70;
  font-size: 15px;
  line-height: 1.75;
}

.xmzx-pwa-steps {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.xmzx-pwa-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f2faf6;
  color: #345d4b;
  font-size: 14px;
}

.xmzx-pwa-step-number {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  flex: 0 0 26px;
  border-radius: 50%;
  color: #fff;
  background: #249c6a;
  font-size: 13px;
  font-weight: 750;
}

.xmzx-pwa-actions {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 10px;
  margin-top: 22px;
}

.xmzx-pwa-actions--single {
  grid-template-columns: 1fr;
}

.xmzx-pwa-button {
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  padding: 0 16px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.xmzx-pwa-button--ghost {
  color: #547064;
  background: #eef4f1;
}

.xmzx-pwa-button--primary {
  color: #fff;
  background: linear-gradient(135deg, #35b77f, #16865a);
  box-shadow: 0 10px 20px rgba(24, 138, 91, .2);
}

.xmzx-pwa-button:focus-visible {
  outline: 3px solid rgba(53, 183, 127, .32);
  outline-offset: 2px;
}

@keyframes xmzx-pwa-fade {
  from { opacity: 0; }
}

@keyframes xmzx-pwa-rise {
  from { opacity: 0; transform: translateY(24px) scale(.98); }
}

@media (min-width: 640px) {
  .xmzx-pwa-overlay { align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  .xmzx-pwa-overlay,
  .xmzx-pwa-dialog { animation: none; }
}
