body { --hiapp-launcher-bottom: max(12px, env(safe-area-inset-bottom, 0px)); }
.hiapp-promo-launcher {
  position: fixed;
  right: max(12px, env(safe-area-inset-right, 0px));
  bottom: var(--hiapp-launcher-bottom);
  z-index: 1029;
  width: 44px;
  height: 44px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 23%;
  background: #80315f;
  box-shadow: 0 2px 8px rgb(0 0 0 / 22%);
}
.hiapp-promo-launcher img { display: block; }
.hiapp-promo-launcher:focus-visible { outline: 3px solid var(--evi-brand); outline-offset: 3px; }
@media (max-width: 680px) {
  body:has(.hiapp-promo-launcher:not([hidden])) .evi-privacy-notice {
    bottom: calc(var(--hiapp-launcher-bottom) + 56px);
  }
}
.hiapp-promo-art {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: min(100%, 420px);
  min-height: clamp(112px, 21vh, 184px);
  margin-inline: auto;
  padding: 16px 20px;
  overflow: hidden;
  border-radius: 22px;
  background: #faf0f4;
}
.hiapp-promo-ribbon {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hiapp-promo-icon {
  width: clamp(84px, 24vw, 112px);
  height: auto;
  border-radius: 23%;
  box-shadow: 0 8px 20px rgb(65 20 47 / 18%);
}
html[data-theme="dark"] .hiapp-promo-art { background: #301e2b; }
html[data-theme="dark"] .hiapp-promo-ribbon { opacity: .12; }

.hiapp-promo-stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: clamp(28px, 5vh, 44px) 0 20px;
}
.hiapp-promo-stores a { display: inline-flex; border-radius: 7px; }
.hiapp-promo-stores img { display: block; width: auto; height: 44px; }
.hiapp-promo-continue { min-height: 44px; padding-inline: 22px; font-size: .9rem; }
.hiapp-promo-partner {
  margin: auto 0 0;
  padding-top: 28px;
  color: var(--evi-text-muted, #667085);
  font-size: .8125rem;
  text-align: center;
}

.hiapp-migration {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right))
           max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  background: #f0f1f3;
  color: #141821;
  font-family: 'Poppins', system-ui, sans-serif;
}
.hiapp-migration dialog {
  position: static;
  box-sizing: border-box;
  width: min(100%, 440px);
  max-width: 100%;
  margin: auto;
  padding: 12px;
  border: 0;
  border-radius: 28px;
  background: #fff;
  color: inherit;
  text-align: center;
}
.hiapp-migration .hiapp-promo-art { box-sizing: border-box; }
.hiapp-migration-content { padding: clamp(20px, 5vw, 32px) 8px 8px; }
.hiapp-migration h1 {
  margin: 0;
  font-size: clamp(1.65rem, 6vw, 2.15rem);
  font-weight: 600;
  line-height: 1.12;
  text-wrap: balance;
}
.hiapp-migration p { margin: 16px 0 0; line-height: 1.5; text-wrap: pretty; }
.hiapp-migration .hiapp-promo-stores { margin: 24px 0 8px; }
@media (prefers-color-scheme: dark) {
  .hiapp-migration { background: #121212; color: #f2f2f2; }
  .hiapp-migration dialog { background: #202124; }
  .hiapp-migration .hiapp-promo-art { background: #301e2b; }
  .hiapp-migration .hiapp-promo-ribbon { opacity: .12; }
}
