.pwa-sheet-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, .55);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px));
}
.pwa-sheet {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #1c1c1e;
  border: 1px solid #2c2c2e;
  border-radius: 16px;
  padding: 22px 18px 18px;
  color: #f2f2f7;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
}
.pwa-sheet__close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: #8e8e93;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.pwa-sheet__title {
  margin: 0 28px 8px 0;
  font-size: 20px;
  font-weight: 700;
}
.pwa-sheet__lead {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.45;
  color: #aeaeb2;
}
.pwa-sheet__steps {
  margin: 0 0 14px;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.55;
}
.pwa-sheet__steps li { margin-bottom: 8px; }
.pwa-sheet__note {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.45;
  color: #8e8e93;
}
.pwa-sheet__note--flash {
  color: #ff7a00;
  font-weight: 600;
}
.pwa-sheet__fallback {
  display: none;
  margin: 0 0 12px;
  font-size: 13px;
  color: #ff9f0a;
  line-height: 1.4;
}
.pwa-sheet__download { margin-top: 4px; }

@media (min-width: 600px) {
  .pwa-sheet-overlay { align-items: center; }
}

.js-pwa-install-open { display: flex; align-items: center; justify-content: center; gap: 8px; }
