.bg-push-wrap {
  margin: 1.4em 0;
  max-width: 360px;
}

.bg-push-card {
  box-sizing: border-box;
  padding: 30px 34px;
  border: 0;
  border-radius: 14px;
  background: #f7f7f7;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .04);
}

.bg-push-button {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #333;
  font: inherit;
  font-size: 1.15em;
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: color .15s ease;
  -webkit-appearance: none;
  appearance: none;
}

.bg-push-button:hover,
.bg-push-button:focus {
  background: transparent;
  color: #0084A8;
  outline: none;
}

.bg-push-button:focus-visible {
  outline: 2px solid #0084A8;
  outline-offset: 4px;
}

.bg-push-button[data-subscribed="1"] {
  color: #333;
}

.bg-push-button[data-subscribed="1"]:hover,
.bg-push-button[data-subscribed="1"]:focus {
  color: #0084A8;
}

.bg-push-button:disabled {
  opacity: .55;
  cursor: default;
}

.bg-push-status {
  margin-top: 10px;
  color: #666;
  font-size: .82em;
  line-height: 1.35;
}

.bg-push-status:empty {
  display: none;
}

@media (max-width: 520px) {
  .bg-push-wrap {
    max-width: 100%;
  }

  .bg-push-card {
    padding: 24px 26px;
    border-radius: 12px;
  }

  .bg-push-button {
    font-size: 1.08em;
  }
}

.bg-push-help-link {
  display: inline-block;
  margin: 10px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0084A8;
  font: inherit;
  font-size: .82em;
  line-height: 1.35;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.bg-push-help-link[hidden],
.bg-push-modal[hidden] {
  display: none !important;
}

.bg-push-help-link:hover,
.bg-push-help-link:focus {
  background: transparent;
  color: #333;
}

.bg-push-modal {
  position: fixed;
  z-index: 999999;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.bg-push-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .42);
}

.bg-push-modal-panel {
  position: relative;
  box-sizing: border-box;
  width: min(520px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 32px 34px;
  border-radius: 14px;
  background: #f7f7f7;
  color: #333;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
}

.bg-push-modal-panel h3 {
  margin: 0 34px 18px 0;
  color: #333;
  font-size: 1.45em;
  font-weight: 400;
  line-height: 1.25;
}

.bg-push-modal-panel p {
  margin: 0 0 14px;
  font-size: 1em;
  line-height: 1.55;
}

.bg-push-modal-panel p:last-child {
  margin-bottom: 0;
}

.bg-push-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #555;
  font: inherit;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

.bg-push-modal-close:hover,
.bg-push-modal-close:focus {
  background: transparent;
  color: #0084A8;
}

body.bg-push-modal-open {
  overflow: hidden;
}

@media (max-width: 520px) {
  .bg-push-modal-panel {
    padding: 28px 24px;
    border-radius: 12px;
  }
}
