:root {
  --hx-pwa-blue: #0878f9;
  --hx-pwa-cyan: #35baf5;
  --hx-pwa-ink: #0b2545;
  --hx-pwa-muted: #7187a5;
  --hx-pwa-surface: #ffffff;
  --hx-pwa-soft: #eef7ff;
}

.hx-pwa-v88-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: end center;
  padding: max(12px, env(safe-area-inset-top)) 12px calc(12px + env(safe-area-inset-bottom));
  background: rgba(5, 28, 58, .46);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  animation: hx-pwa-fade-v88 .18s ease-out both;
  box-sizing: border-box;
  overflow: hidden;
}

.hx-pwa-v88-dialog {
  position: relative;
  width: min(100%, 398px);
  max-height: min(720px, calc(100dvh - max(24px, env(safe-area-inset-top)) - env(safe-area-inset-bottom)));
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(109, 176, 239, .28);
  border-radius: 26px;
  padding: 22px 18px 18px;
  color: var(--hx-pwa-ink);
  background: linear-gradient(180deg, #f4fbff 0, #fff 34%);
  box-shadow: 0 22px 60px rgba(11, 70, 128, .24);
  box-sizing: border-box;
  animation: hx-pwa-rise-v88 .22s ease-out both;
  scrollbar-width: thin;
}

.hx-pwa-v88-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(223, 239, 254, .92);
  color: #4c6d91;
  font: 700 21px/1 system-ui, sans-serif;
  cursor: pointer;
}

.hx-pwa-v88-mark {
  width: 62px;
  height: 62px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 19px;
  background: linear-gradient(145deg, #37c3f4, #076eff);
  box-shadow: 0 10px 24px rgba(12, 116, 240, .24);
}

.hx-pwa-v88-mark img { width: 45px; height: 45px; display: block; }
.hx-pwa-v88-dialog h2 { margin: 0 38px 6px; text-align: center; font: 750 21px/1.3 system-ui, sans-serif; color: #075fd5; }
.hx-pwa-v88-subtitle { margin: 0 auto 12px; max-width: 310px; text-align: center; font: 400 13px/1.55 system-ui, sans-serif; color: var(--hx-pwa-muted); }
.hx-pwa-v88-device { width: max-content; max-width: 100%; margin: 0 auto 15px; padding: 7px 12px; border-radius: 999px; background: #e7f3ff; color: #2269b8; font: 650 12px/1.2 system-ui, sans-serif; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; box-sizing: border-box; }

.hx-pwa-v88-steps { display: grid; gap: 9px; margin: 0 0 16px; padding: 0; list-style: none; }
.hx-pwa-v88-step { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: center; min-height: 48px; padding: 8px 10px; border: 1px solid #dfedfa; border-radius: 14px; background: rgba(255, 255, 255, .9); box-sizing: border-box; }
.hx-pwa-v88-step b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(145deg, var(--hx-pwa-cyan), var(--hx-pwa-blue)); font: 750 12px/1 system-ui, sans-serif; }
.hx-pwa-v88-step span { min-width: 0; font: 500 12.5px/1.4 system-ui, sans-serif; color: #385674; }
.hx-pwa-v88-actions { display: grid; gap: 9px; }
.hx-pwa-v88-primary, .hx-pwa-v88-later { width: 100%; min-height: 46px; border: 0; border-radius: 999px; cursor: pointer; font: 700 14px/1 system-ui, sans-serif; }
.hx-pwa-v88-primary { color: #fff; background: linear-gradient(90deg, #35baf5, #076eff); box-shadow: 0 9px 22px rgba(8, 113, 242, .22); }
.hx-pwa-v88-later { color: #597895; background: #eef4f9; }
.hx-pwa-v88-primary:focus-visible, .hx-pwa-v88-later:focus-visible, .hx-pwa-v88-close:focus-visible, .hx-pwa-entry-v88 button:focus-visible { outline: 3px solid rgba(8, 120, 249, .3); outline-offset: 2px; }

.hx-pwa-entry-v88 {
  width: auto;
  margin: 8px var(--home-section-gutter, 15px) 0;
  padding: 0;
  box-sizing: border-box;
}
.hx-pwa-entry-v88 button {
  width: 100%;
  height: 56px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 18px;
  gap: 9px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid #dbeafa;
  border-radius: 12px;
  color: var(--hx-pwa-ink);
  background: #eff7ff;
  box-shadow: none;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
}
.hx-pwa-entry-v88__icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: #fff; background: #2b87f7; font: 700 19px/1 system-ui, sans-serif; }
.hx-pwa-entry-v88__copy { min-width: 0; }
.hx-pwa-entry-v88__copy strong, .hx-pwa-entry-v88__copy small { display: block; }
.hx-pwa-entry-v88__copy strong { margin-bottom: 2px; font: 700 14px/1.2 system-ui, sans-serif; color: #1767bd; }
.hx-pwa-entry-v88__copy small { color: #7187a5; font: 400 10.5px/1.3 system-ui, sans-serif; overflow-wrap: anywhere; }
.hx-pwa-entry-v88__arrow { color: #3988dc; font: 600 20px/1 system-ui, sans-serif; text-align: center; }

@media (max-width: 374px) {
  .home-screen > .hx-pwa-entry-v88 { margin-right: 10px; margin-left: 10px; }
  .hx-pwa-entry-v88 button { padding-right: 10px; padding-left: 10px; gap: 8px; }
  .hx-pwa-entry-v88__copy strong { font-size: 13px; }
  .hx-pwa-entry-v88__copy small { font-size: 10px; }
}

@media (min-width: 520px) {
  .hx-pwa-v88-backdrop { place-items: center; }
}

@media (max-width: 350px), (max-height: 650px) {
  .hx-pwa-v88-dialog { border-radius: 22px; padding: 17px 14px 14px; }
  .hx-pwa-v88-mark { width: 50px; height: 50px; margin-bottom: 8px; border-radius: 15px; }
  .hx-pwa-v88-mark img { width: 37px; height: 37px; }
  .hx-pwa-v88-dialog h2 { font-size: 18px; }
  .hx-pwa-v88-subtitle { font-size: 12px; margin-bottom: 8px; }
  .hx-pwa-v88-device { margin-bottom: 9px; }
  .hx-pwa-v88-steps { gap: 6px; margin-bottom: 10px; }
  .hx-pwa-v88-step { min-height: 40px; padding: 6px 8px; }
  .hx-pwa-v88-primary, .hx-pwa-v88-later { min-height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .hx-pwa-v88-backdrop, .hx-pwa-v88-dialog { animation: none; }
}

@keyframes hx-pwa-fade-v88 { from { opacity: 0; } to { opacity: 1; } }
@keyframes hx-pwa-rise-v88 { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
