/* Independent of landing.css, which is disabled when Flutter starts. */
#app-update[hidden] { display: none !important; }
#app-update {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  left: max(12px, env(safe-area-inset-left));
  right: max(12px, env(safe-area-inset-right));
  z-index: 2147483647;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
  padding: 10px 8px 10px 14px;
  border: 1px solid #e7d9d9;
  border-radius: 16px;
  background: #fffcf8;
  color: #30232a;
  box-shadow: 0 8px 28px #3515221f, 0 2px 6px #3515220a;
  font: 13px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif;
}
#app-update .app-update-icon {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  height: 34px;
  border-radius: 11px;
  background: #f3e8eb;
  color: #64283c;
}
#app-update .app-update-copy { flex: 1; min-width: 0; }
#app-update .app-update-copy strong {
  display: block;
  color: #482332;
  font-size: 13px;
  font-weight: 650;
}
#app-update .app-update-copy > span {
  display: block;
  margin-top: 2px;
  color: #75666a;
  font-size: 11px;
}
#app-update button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 44px;
  margin: 0;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: #64283c;
  color: #fff;
  font: 600 12px/1.2 system-ui, -apple-system, "Segoe UI", sans-serif;
  cursor: pointer;
  box-shadow: none;
}
#app-update #app-update-later {
  width: 44px;
  padding: 0;
  background: transparent;
  color: #75666a;
}
@media (hover: hover) {
  #app-update #app-update-refresh:hover { background: #4e1e2e; }
  #app-update #app-update-later:hover { background: #f3e8eb; color: #64283c; }
}
#app-update button:focus-visible { outline: 3px solid #b7823c; outline-offset: 2px; }
@media (max-width: 360px) {
  #app-update { gap: 6px; padding-left: 10px; }
  #app-update .app-update-icon { display: none; }
}
