/* PWA 설치 안내 배너 — templates/_pwa_install.html 참고. base.html에 의존하지 않도록 자체 값 사용 */
.pwa-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 1080;
  max-width: 480px;
  margin: 0 auto;
  background: #ffffff;
  color: #1e2a45;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(15, 21, 53, 0.08), 0 12px 32px rgba(15, 21, 53, 0.16);
  padding: 14px 8px 14px 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  transform: translateY(calc(100% + 24px));
  opacity: 0;
  transition: transform 0.24s ease-out, opacity 0.24s ease-out;
}
.pwa-banner[hidden] { display: none; }
.pwa-banner.is-visible { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .pwa-banner { transition: none; }
}
.pwa-banner__icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  flex-shrink: 0;
}
.pwa-banner__body { flex: 1; min-width: 0; }
.pwa-banner__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 3px;
}
.pwa-banner__text {
  font-size: 13.5px;
  line-height: 1.5;
  color: #5b6880;
  margin: 0;
}
.pwa-banner__text .bi {
  display: inline-block;
  color: #4361ee;
  font-size: 15px;
  vertical-align: -2px;
  margin: 0 1px;
}
.pwa-banner__text b { color: #1e2a45; font-weight: 700; }
.pwa-banner__action {
  appearance: none;
  border: 0;
  border-radius: 10px;
  background: #4361ee;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 0 18px;
  min-height: 44px;
  margin-top: 10px;
  cursor: pointer;
}
.pwa-banner__action:active { background: #3451d1; }
.pwa-banner__action:focus-visible,
.pwa-banner__close:focus-visible {
  outline: 2px solid #4361ee;
  outline-offset: 2px;
}
.pwa-banner__close {
  appearance: none;
  border: 0;
  background: transparent;
  color: #8492a6;
  width: 44px;
  height: 44px;
  margin: -10px 0 0;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  cursor: pointer;
}
.pwa-banner__close:active { background: #f0f2f5; }
