body:has(.age-restriction-dialog[open]) {
  overflow: hidden;
}

.age-restriction-dialog[open] {
  min-width: 100vw;
  min-height: 100vh;
  background-color: white;
  margin: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.4rem;
  max-width: 0;
  max-height: 0;
  padding: 10%;
  text-align: center;

  & p {
    font-size: 1.6rem;
    margin-top: 0;
  }

  & h2 {
    margin-bottom: 0.5rem;
  }

  & form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 20rem;
  }

  & .field__input,
  & .field__input::placeholder {
    font-size: 1.6rem;
  }
}
