/* While the gate is in the page, the page can't scroll. Closing it removes
   the element, which releases the lock with no script involved. */
html:has(.fp-gate) {
  overflow: hidden;
}

.fp-gate {
  position: fixed;
  inset: 0;
  z-index: 2000; /* above Hummingbird's highest layer (1090) */
  display: grid;
  place-items: center;
  padding: 1rem;
  background-color: rgb(0 0 0 / 0.6);
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .fp-gate {
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    background-color: rgb(0 0 0 / 0.25);
  }
}

.fp-gate__panel {
  width: 100%;
  max-width: 28rem;
  padding: 2rem;
  border-radius: 0.5rem;
  background-color: #fff;
  color: #000;
  text-align: center;
}

.fp-gate__question {
  margin-bottom: 1.5rem;
}

.fp-gate__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.fp-gate__actions .btn {
  min-width: 7rem;
}

.fp-gate__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0 0;
}
