.app-update-banner {
  position: fixed;
  z-index: 85;
  top: calc(12px + env(safe-area-inset-top));
  left: 50%;
  width: min(440px, calc(100% - 24px));
  transform: translateX(-50%);
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.app-update-banner[hidden], .app-update-banner [hidden] { display: none; }
.app-update-copy strong { font-size: 16px; }
.app-update-copy p { margin: 7px 0 12px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.app-update-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.app-update-actions .btn { min-height: 44px; }
.app-update-actions .btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.app-update-actions .btn:disabled { cursor: wait; opacity: .7; }
.app-update-settings { margin-top: 18px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.app-update-settings h3 { margin: 0 0 8px; font-size: 16px; }
.app-update-settings .hint { margin: 0 0 12px; line-height: 1.6; }
.app-update-settings .app-update-actions { justify-content: flex-start; }
.app-update-settings [hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
  .app-update-banner, .app-update-banner * { animation: none !important; transition: none !important; }
}
