#age-screen.age-notice-screen {
  padding: clamp(12px, 4vw, 32px);
  align-items: safe center;
  overscroll-behavior: contain;
}

#age-screen .age-notice {
  box-sizing: border-box;
  width: min(100%, 40rem);
  max-width: 100%;
  padding: clamp(16px, 4vw, 36px);
  border: 1px solid var(--line, #dfe3da);
  border-radius: 16px;
  background: #fff;
}

#age-screen .age-notice .wordmark {
  display: block;
  margin: 0 auto 16px;
}

#age-screen .age-notice .brand-logo {
  display: block;
  width: auto;
  max-width: min(9rem, 100%);
  max-height: 40px;
  margin: auto;
  object-fit: contain;
}

#age-screen .age-notice h1,
#age-screen .age-notice h2 {
  margin: 0 0 16px;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.15;
}

#age-screen .age-notice p {
  max-width: none;
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.55;
}

.age-notice-copy { text-align: left; }

#age-screen .age-notice .age-notice-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}

#age-screen .age-notice .age-notice-actions button {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  margin: 0;
}

@media (max-width: 380px) {
  #age-screen .age-notice .age-notice-actions { grid-template-columns: 1fr; }
}
