/* Non-obtrusive update control shared by Rearmed and Shooting. */
#rearmed-update-check {
  position: fixed; z-index: 3000;
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  min-width: 37px; min-height: 37px;
  padding: 4px 9px;
  color: #dceaff; background: rgba(16,24,35,.92);
  border: 1px solid #45576b; border-radius: 50%;
  font-size: 24px; line-height: 1; cursor: pointer;
  box-shadow: 0 4px 14px #0005;
}
.rearmed-update-has-bottom-nav #rearmed-update-check {
  bottom: calc(83px + env(safe-area-inset-bottom));
}
#rearmed-update-message {
  position: fixed; z-index: 3001;
  left: 12px; right: 12px;
  bottom: calc(62px + env(safe-area-inset-bottom));
  max-width: 490px; margin: 0 auto;
  padding: 11px 13px; border-radius: 12px;
  border: 1px solid #475a6f;
  background: #172130; color: #f4f7fb;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; font: 13px/1.4 system-ui, sans-serif;
  box-shadow: 0 8px 24px #0008;
}
.rearmed-update-has-bottom-nav #rearmed-update-message {
  bottom: calc(130px + env(safe-area-inset-bottom));
}
#rearmed-update-message[hidden] { display: none !important; }
#rearmed-update-message button {
  background: #e6bc4e; color: #101419; border: 0; border-radius: 8px;
  font: inherit; font-weight: 700; padding: 9px 11px; cursor: pointer;
}
