.pwa-install-banner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding: 8px 16px;
  background: rgba(47, 91, 234, 0.1);
  color: #16181D;
  font-family: "Noto Sans TC", system-ui, sans-serif;
  font-size: 16px;
  overflow-wrap: anywhere;
}
.pwa-install-banner span {
  flex: 1 1 180px;
}
.pwa-install-banner a, .pwa-install-banner button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: #2F5BEA;
}
.pwa-install-banner button {
  border: 0;
  background: transparent;
  font-size: 24px;
}

.pwa-install-entry[hidden], .pwa-install-now[hidden],
.pwa-install-section[hidden], .pwa-install-status[hidden], .pwa-install-safari[hidden] {
  display: none !important;
}

.pwa-install-entry {
  min-height: 44px;
  min-width: 44px;
}

.pwa-update-banner {
  position: fixed;
  inset: auto 0 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  box-sizing: border-box;
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(47, 91, 234, 0.1);
  color: #16181D;
  border-top: 1px solid #E3E6EB;
  box-shadow: 0 -4px 16px rgba(22, 24, 29, 0.1);
  font-family: "Noto Sans TC", system-ui, sans-serif;
  font-size: 16px;
  overflow-wrap: anywhere;
}
.pwa-update-banner span {
  flex: 1 1 180px;
  min-width: 0;
}
.pwa-update-banner button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 16px;
  border: 0;
  border-radius: 8px;
  background: #2F5BEA;
  color: #FFFFFF;
  font: inherit;
  cursor: pointer;
}
.pwa-update-banner button:focus-visible {
  outline: 2px solid #2F5BEA;
  outline-offset: 2px;
}
.pwa-update-banner .pwa-update-close {
  padding: 8px;
  background: transparent;
  color: #16181D;
  font-size: 24px;
}
