#app-install {
  position: fixed;
  z-index: 20;
  inset-inline: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  width: auto;
  max-width: 440px;
  margin-inline: auto;
  padding: 12px;
  border: 1px solid #dbd3c5;
  border-radius: 20px;
  background: #fdfaf4;
  color: #22293a;
  box-shadow: 0 6px 24px #25283c30;
  font: 14px/1.4 system-ui, sans-serif;
}

#app-install[hidden], #app-install [hidden] { display: none; }
#app-install img { border-radius: 11px; }
#app-install h2 { margin: 0; font-size: 16px; }
#app-install p { margin: 3px 0 0; }
#app-install details { margin-top: 5px; }
#app-install summary { padding-block: 8px; cursor: pointer; }

.app-install-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 6px;
}

#app-install button, #app-install a {
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
}

.app-install-actions button, .app-install-actions a {
  padding: 10px 12px;
  background: #44506b;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

#dismiss-app-install {
  align-self: start;
  width: 44px;
  min-height: 44px;
  background: #ebe6de;
  color: #22293a;
}

#app-install #dismiss-app-install { font-size: 21px; }
#install-rustore-status, #install-status { color: #555a69; font-size: 12px; }
