html.age-gate-lock,
html.age-gate-lock body {
  overflow: hidden;
}

html.age-gate-lock::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 3990;
  background: #171516;
}

.age-gate {
  display: none;
}

html.age-gate-lock .age-gate {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
  color: #fff;
  font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

.age-gate__media {
  position: absolute;
  inset: -16px;
  display: block;
  overflow: hidden;
  pointer-events: none;
}

.age-gate__media-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  filter: blur(7px);
}

.age-gate__veil {
  position: absolute;
  inset: 0;
  background: rgba(16, 8, 11, 0.8);
  pointer-events: none;
}

.age-gate__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: min(640px, calc(100vw - 32px));
  padding: 48px 48px 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: #211d1e;
  box-shadow: 0 16px 24px rgba(0, 0, 0, 0.5);
}

.age-gate__logo {
  display: block;
  width: 204px;
  height: 98px;
  overflow: hidden;
}

.age-gate__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.age-gate__notice {
  margin: 0;
  width: 100%;
  color: #fff;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
  word-break: break-word;
}

.age-gate__notice em {
  color: #fd3e88;
  font-style: normal;
}

.age-gate__actions {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

.age-gate__btn {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 48px;
  padding: 14px 16px;
  border: 0;
  border-radius: 100px;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
}

.age-gate__btn--leave {
  border: 1.2px solid #343845;
  background: transparent;
  color: #fff;
  font-weight: 500;
}

.age-gate__btn--enter {
  background: #fd3e88;
  color: #201015;
  font-weight: 600;
}

.age-gate .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 767px) {
  html.age-gate-lock .age-gate {
    padding: 12px;
  }

  .age-gate__veil {
    background: rgba(16, 8, 11, 0.75);
  }

  .age-gate__panel {
    width: calc(100vw - 25px);
    max-width: 700px;
    gap: 20px;
    padding: 32px 24px 24px;
  }

  .age-gate__logo {
    width: 180px;
    height: 86px;
  }

  .age-gate__notice {
    font-size: 18px;
    line-height: 28px;
  }

  .age-gate__actions {
    gap: 12px;
  }

  .age-gate__btn {
    min-height: 56px;
    padding: 14px 10px;
    font-size: 15px;
  }
}

@media (max-width: 360px) {
  .age-gate__btn {
    font-size: 12px;
    white-space: normal;
  }
}
