/* 18 岁确认弹窗样式：卡片尺寸、品牌 Logo、按钮、遮罩和手机端。 */

.age-pending body > header,
.age-pending body > main,
.age-pending body > footer,
.age-pending body > .preview {
  visibility: hidden;
}
.age-pending {
  overflow: hidden;
}
.age-gate {
  position: fixed;
  z-index: 10000;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  max-height: calc(100dvh - 32px);
  overflow: auto;
  width: min(480px, calc(100% - 32px));
  max-width: 480px;
  padding: 40px;
  text-align: center;
  background: #101016;
  color: #f2f1f7;
  border: 1px solid #6642ea70;
  border-radius: 12px;
  box-shadow: 0 24px 100px #0009;
}
.age-gate::backdrop {
  background: #08080bf5;
  backdrop-filter: blur(10px);
}
.age-gate .age-logo {
  width: 190px;
  height: 95px;
  object-fit: contain;
  margin-bottom: 12px;
}
.age-gate .age-mark {
  color: #a88cff;
  font-size: 12px;
  letter-spacing: 3px;
  margin: 8px 0 18px;
}
.age-gate .age-mark:before {
  content: '●';
  font-size: 6px;
  color: #ff80c8;
  vertical-align: 2px;
  margin-right: 8px;
}
.age-gate h2 {
  font-size: 30px;
  letter-spacing: -1px;
  margin-bottom: 18px;
}
.age-gate p {
  color: #aaa7ba;
  font-size: 14px;
  line-height: 1.7;
}
.age-gate .age-actions {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}
.age-gate .button {
  justify-content: center;
  width: 100%;
}
.age-gate .age-exit {
  padding: 15px;
  border: 1px solid #35303f;
  border-radius: 4px;
  color: #bdb9cd;
  background: transparent;
  font: inherit;
  font-size: 12px;
}
.age-gate .age-exit:hover {
  border-color: #997aff;
  color: #fff;
}
.age-gate .age-note {
  font-size: 11px;
  margin: 20px 0 0;
}
.age-gate noscript {
  display: block;
  color: #aaa7ba;
  font-size: 13px;
}
@media (max-width: 580px) {
  .age-gate {
    padding: 28px 22px;
  }
  .age-gate h2 {
    font-size: 27px;
  }
}
