#pwa-update[hidden] { display: none !important; }
#pwa-update { position: fixed; z-index: 1500; left: 12px; right: 12px; bottom: calc(82px + env(safe-area-inset-bottom, 0px)); max-width: 530px; margin: auto; padding: 16px; color: #fffaf0; background: #304c75; border: 1px solid #c9a45d; border-radius: 18px; box-shadow: 0 8px 30px #17283f35; font-family: inherit; }
#pwa-update strong { display: block; font-size: 16px; line-height: 1.4; }
#pwa-update p { margin: 6px 0 12px; font-size: 14px; line-height: 1.5; color: #fffaf0; }
#pwa-update .pwa-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
#pwa-update .pwa-actions button { min-height: 44px; padding: 10px 16px; font: inherit; font-size: 14px; border-radius: 12px; cursor: pointer; }
#pwa-update-now { border: 1px solid #fffaf0; background: #fffaf0; color: #304c75; font-weight: 700; }
#pwa-update-later { border: 1px solid #ffffff70; background: transparent; color: #fffaf0; }
#pwa-update button:focus-visible { outline: 3px solid #c9a45d; outline-offset: 3px; }
@media (max-width: 360px) { #pwa-update { left: 8px; right: 8px; padding: 13px; } #pwa-update .pwa-actions { gap: 8px; } }
@media print { #pwa-update { display: none !important; } }
