body.age-pop-open {
  overflow: hidden;
}

.age-pop {
  position: fixed;
  inset: 0;
  z-index: var(--layer-age-gate);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  font-family: "PingFang SC", sans-serif;
}

.age-pop--open {
  display: flex;
}

.age-pop__backdrop {
  position: absolute;
  inset: 0;
  background: #000000b2;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.age-pop__inner {
  position: relative;
  z-index: 1;
  display: flex;
  width: 300px;
  max-width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.age-pop__panel {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 24px 20px;
  border: 0;
  border-radius: 20px;
  outline: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--color-surface-modal);
}

.age-pop__logo {
  display: block;
  width: 78px;
  height: 78px;
  flex: none;
  object-fit: contain;
}

.age-pop__content {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.age-pop__title {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  text-align: center;
}

.age-pop__desc {
  width: 100%;
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-align: justify;
}

.age-pop__actions {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.age-pop__btn {
  box-sizing: border-box;
  display: inline-flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.age-pop__btn--enter {
  background: var(--color-brand-primary);
  font-weight: 700;
}

.age-pop__btn--exit {
  background: rgba(255, 255, 255, 0.1);
}

.age-pop__close {
  display: flex;
  width: 36px;
  height: 36px;
  flex: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.age-pop__btn:focus-visible,
.age-pop__close:focus-visible {
  outline: 2px solid var(--color-brand-primary);
  outline-offset: 2px;
}

.age-pop__close-icon {
  display: block;
}

@media (min-width: 769px) {
  .age-pop__backdrop {
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
  }

  .age-pop__inner {
    width: 400px;
  }
}

@media (max-height: 550px) {
  .age-pop {
    align-items: flex-start;
    overflow-y: auto;
  }
}
