#dum-pwa-banner {
  box-sizing: border-box;
  display: none;
  position: fixed;
  z-index: 10000;
  inset-inline: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  width: min(440px, calc(100% - 24px));
  margin-inline: auto;
  padding: 12px;
  color: #183950;
  background: #e2f4ff;
  border: 1px solid #bad8ea;
  border-radius: 18px;
  box-shadow: 0 8px 28px #14364c38;
  font-family: system-ui, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.45;
}

@media (max-width: 950px) and (pointer: coarse) {
  #dum-pwa-banner:not([hidden]) { display: block; }
}

#dum-pwa-banner .dum-pwa-summary {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-inline-end: 44px;
}
#dum-pwa-banner img { flex: 0 0 44px; border-radius: 11px; }
#dum-pwa-banner h2 { margin: 0; font-size: 15px; font-weight: 800; color: inherit; }
#dum-pwa-banner p { margin: 3px 0 0; font-size: 12px; }
#dum-pwa-banner button { font: inherit; font-weight: 750; }
#dum-pwa-banner .dum-pwa-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: inherit;
  font-size: 23px;
  line-height: 1;
}
#dum-pwa-banner .dum-pwa-add {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-top: 9px;
  border: 0;
  border-radius: 9px;
  background: #205a78;
  color: #fff;
  font-size: 14px;
}
#dum-pwa-steps { margin: 8px 0 0; padding-inline-start: 24px; font-size: 13px; }
#dum-pwa-steps[hidden] { display: none; }

@media (prefers-reduced-motion: no-preference) {
  #dum-pwa-banner:not([hidden]) { animation: dum-pwa-enter 240ms ease-out both; }
  @keyframes dum-pwa-enter {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
