.site-age-gate {
  box-sizing: border-box;
  width: min(420px, calc(100% - 32px));
  margin: auto;
  padding: 24px;
  border: 1px solid #dce1e9;
  border-radius: 14px;
  background: #fff;
  color: #18222d;
  font: 16px/1.55 system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  box-shadow: 0 18px 45px #0004;
}
.site-age-gate:not([open]), .site-age-actions [hidden] { display: none !important; }
.site-age-gate::backdrop { background: #111827d9; }
.site-age-gate h2 { margin: 0 0 8px; color: inherit; font: 750 1.25rem/1.35 system-ui, sans-serif; }
.site-age-gate h2::before { content: none; }
.site-age-gate p { margin: 0 0 16px; color: #465268; }
.site-age-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.site-age-actions button {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #b8c2d3;
  border-radius: 7px;
  background: #fff;
  color: #18222d;
  font: inherit;
  cursor: pointer;
}
.site-age-actions #age-confirm { background: #263e6d; border-color: #263e6d; color: #fff; }
.site-age-actions button:focus-visible { outline: 2px solid #376ac6; outline-offset: 2px; }
html:has(.site-age-gate[open]) { overflow: hidden; }
