#mobile-install[hidden] { display: none; }

#mobile-install {
  flex: none;
  min-height: 2.75rem;
  border: 1px solid #5c514d;
  border-radius: .35rem;
  padding: .33rem .72rem;
  color: var(--accent, #ffa37e);
  background: transparent;
  font: 600 .875rem/1.2 "Instrument Sans", Arial, sans-serif;
}
#mobile-install:hover { background: #30231e; border-color: var(--accent, #ffa37e); }
#mobile-install:disabled { cursor: progress; }
.topbar:has(#member-nav[hidden]) #mobile-install { margin-inline-start: auto; }

.install-help {
  inset: 0;
  width: min(28rem, calc(100% - max(2rem, calc(env(safe-area-inset-left) + env(safe-area-inset-right) + 1.5rem))));
  max-height: calc(100dvh - max(2rem, calc(env(safe-area-inset-top) + env(safe-area-inset-bottom) + 1.5rem)));
  margin: auto;
  padding: clamp(1.2rem, 5vw, 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #1b1d23;
  color: #f6f3ed;
  border: 1px solid #525058;
  border-radius: .55rem;
  box-shadow: 0 1.5rem 5rem #0008;
}
.install-help:not([open]) { display: none; }
.install-help[open] { position: fixed; z-index: 10; }
.install-help::backdrop { background: #090a0dbd; }
.install-help h2 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); line-height: 1.13; letter-spacing: -.05em; }
.install-help ol { padding-inline-start: 1.45rem; margin-block: 1rem; }
.install-help li { margin-block: .65rem; padding-left: .18rem; }
.install-help li::marker { color: var(--accent, #ffa37e); }
.install-help .button { min-height: 2.8rem; }
