.app-update {
  position: fixed;
  z-index: 1000;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: .85rem;
  max-width: min(26rem, calc(100vw - 2rem));
  padding: .8rem .85rem .8rem 1rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  background: #26341f;
  color: #fffdf4;
  box-shadow: 0 12px 34px rgba(24, 35, 19, .28);
  font-size: .9rem;
  line-height: 1.45;
}

.app-update[hidden] { display: none; }
.app-update p { margin: 0; }
.app-update button {
  flex: 0 0 auto;
  min-height: 2.45rem;
  padding: .55rem .85rem;
  border: 0;
  border-radius: 999px;
  background: #f0d887;
  color: #24331e;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.app-update button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

@media (max-width: 540px) {
  .app-update { left: 1rem; right: 1rem; justify-content: space-between; }
}
