.age-research-notice {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 8, 18, 0.78);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.age-research-notice__dialog {
  width: min(100%, 560px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: clamp(28px, 5vw, 46px);
  border: 1px solid rgba(148, 193, 255, 0.2);
  border-radius: 22px;
  background: #0b1628;
  color: #e8f1ff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  font-family: inherit;
}

.age-research-notice__eyebrow {
  margin-bottom: 12px;
  color: #75b7ff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.age-research-notice h2 { margin: 0 0 22px; color: inherit; font-size: clamp(1.55rem, 4vw, 2rem); line-height: 1.15; }
.age-research-notice__content { color: #b9c9df; font-size: 0.98rem; line-height: 1.65; }
.age-research-notice__content p { margin: 0 0 13px; }
.age-research-notice__lead { color: #f4f8ff; font-size: 1.08rem; font-weight: 700; line-height: 1.45; }
.age-research-notice__label { color: #f4f8ff; font-weight: 700; margin-bottom: 4px !important; }
.age-research-notice strong { color: #f4f8ff; }
.age-research-notice__divider { height: 1px; margin: 24px 0 20px; background: rgba(148, 193, 255, 0.18); }
.age-research-notice__continue { width: 100%; min-height: 52px; margin-top: 12px; padding: 13px 20px; border: 0; border-radius: 10px; background: #2f8cff; color: #fff; cursor: pointer; font: inherit; font-weight: 700; transition: background-color 160ms ease, transform 160ms ease; }
.age-research-notice__continue:hover { background: #1677e8; transform: translateY(-1px); }
.age-research-notice a:focus-visible, .age-research-notice button:focus-visible { outline: 3px solid #8bc6ff; outline-offset: 3px; }
.age-research-notice__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 22px; font-size: 0.84rem; }
.age-research-notice__links a { color: #9dcaff; text-decoration: underline; text-underline-offset: 3px; }
.age-research-notice__links a:hover { color: #fff; }

body.theme-light .age-research-notice__dialog { border-color: rgba(40, 93, 160, 0.18); background: #fff; color: #14243a; box-shadow: 0 24px 80px rgba(10, 31, 57, 0.24); }
body.theme-light .age-research-notice__content { color: #40536c; }
body.theme-light .age-research-notice__lead, body.theme-light .age-research-notice__label, body.theme-light .age-research-notice strong { color: #14243a; }

@media (max-width: 480px) {
  .age-research-notice { padding: 12px; }
  .age-research-notice__dialog { max-height: calc(100vh - 24px); padding: 25px 21px; border-radius: 17px; }
  .age-research-notice__content { font-size: 0.93rem; }
}
