.pwa-install-button {
  font: inherit;
}

.pwa-offline-status {
  position: fixed;
  z-index: 120;
  top: 0;
  left: 50%;
  width: min(100%, 680px);
  transform: translateX(-50%);
  padding: 10px 16px;
  background: #b42318;
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(16, 24, 40, .18);
}

.pwa-dialog-shell {
  position: fixed;
  z-index: 130;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.pwa-dialog-shell[hidden] {
  display: none;
}

.pwa-dialog-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, .56);
}

.pwa-dialog {
  position: relative;
  width: min(100%, 420px);
  padding: 22px;
  background: #fff;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(16, 24, 40, .25);
}

.pwa-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.pwa-dialog-head h2 {
  margin: 0;
  font-size: 20px;
}

.pwa-dialog-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background: #fff;
  color: #344054;
  font-size: 26px;
  line-height: 1;
}

.pwa-dialog p {
  margin: 0;
  color: #475467;
  line-height: 1.7;
}

.pwa-dialog-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.pwa-dialog-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .mobile-more-grid .pwa-install-button {
    min-height: 44px;
    padding: 10px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #fff;
    color: #344054;
    font-weight: 700;
  }

  .pwa-dialog-shell {
    align-items: end;
    padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
  }

  .pwa-dialog {
    width: 100%;
  }
}
