.ism-pwa-backdrop {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.45);
}

.ism-pwa-backdrop[hidden] {
  display: none !important;
}

.ism-pwa-card {
  position: relative;
  width: min(440px, 100%);
  margin-bottom: 12px;
  padding: 22px 22px 18px;
  border-radius: 22px;
  background: #fff;
  color: #0f172a;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
}

.ism-pwa-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
  color: #0f2744;
  line-height: 0;
  cursor: pointer;
  box-sizing: border-box;
}

.ism-pwa-close svg {
  display: block;
  width: 14px;
  height: 14px;
}

.ism-pwa-mark {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #0f2744;
  color: #e8c56b;
  font-size: 22px;
}

.ism-pwa-kicker {
  margin: 16px 0 6px;
  color: #a16207;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ism-pwa-card h2 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.15;
  color: #0f2744;
}

.ism-pwa-card p {
  margin: 0 0 12px;
  color: #64748b;
  line-height: 1.45;
}

.ism-pwa-steps {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.ism-pwa-steps li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 8px;
  color: #334155;
}

.ism-pwa-step-no {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #f3e6c4;
  color: #0f2744;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ism-pwa-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}

.ism-pwa-btn {
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.ism-pwa-btn--ghost {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
}

.ism-pwa-btn--primary {
  border: 0;
  background: #0f2744;
  color: #fff;
}

.ism-pwa-actions--install {
  flex-direction: column;
  align-items: stretch;
}

.ism-pwa-actions--install .ism-pwa-btn--primary,
.ism-pwa-actions--install a.ism-pwa-btn--primary {
  width: 100%;
  padding: 14px 18px;
  font-size: 17px;
  background: #c9a227;
  color: #0f2744;
  box-shadow: 0 8px 18px rgba(201, 162, 39, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}

.ism-pwa-btn--quiet {
  align-self: center;
  width: auto;
  border: 0;
  background: transparent;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 8px;
}

.ism-pwa-note {
  margin-top: 12px;
  font-size: 13px;
  color: #64748b;
  text-align: center;
}

.ism-pwa-error {
  color: #b91c1c;
  font-size: 14px;
}

@media (min-width: 720px) {
  .ism-pwa-backdrop {
    align-items: center;
  }
  .ism-pwa-card {
    margin-bottom: 0;
  }
}
