/* Age notice (infra/web-kit/age-notice.css; identical copy in each app at public/shared/web-kit/). Uses each app's own colour variables when
   they exist, with plain fallbacks, so it fits every app without a change here. Sizes in rem (root CLAUDE.md section 18). */
.age-notice { margin: 0 0 1rem; text-align: left; }
.age-notice .age-notice-title { margin: 0 0 .5rem !important; font-weight: 700 !important; font-size: .9375rem !important; text-align: left !important; }
/* Two big buttons. The selectors are long and forceful on purpose: every app styles its own labels and inputs, and none of that may reach these. */
html body .age-notice.age-notice label.age-choice { display: flex !important; align-items: center; gap: .75rem; width: 100%; box-sizing: border-box; min-height: 3.25rem; margin: 0 0 .5rem !important; padding: .625rem .875rem; border: 2px solid color-mix(in srgb, currentColor 28%, transparent); border-radius: 12px; font-size: .9375rem !important; font-weight: 600 !important; letter-spacing: normal !important; text-transform: none !important; text-align: left !important; text-shadow: none; line-height: 1.35; cursor: pointer; }
html body .age-notice.age-notice label.age-choice span { color: inherit !important; text-align: left; }
html body .age-notice.age-notice label.age-choice input { -webkit-appearance: none !important; appearance: none !important; flex: 0 0 1.5rem; width: 1.5rem !important; height: 1.5rem !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; box-sizing: border-box; border: 2px solid color-mix(in srgb, currentColor 55%, transparent) !important; border-radius: 50% !important; background: transparent !important; cursor: pointer; }
html body .age-notice.age-notice label.age-choice input:focus-visible { outline: 3px solid #16a34a; outline-offset: 2px; }
html body .age-notice.age-notice label.age-choice:hover { border-color: color-mix(in srgb, currentColor 55%, transparent); }
/* chosen: green frame, green wash, a green tick. Unmistakable in light and dark. */
html body .age-notice.age-notice label.age-choice:has(input:checked) { border-color: #16a34a; background: color-mix(in srgb, #16a34a 20%, transparent); }
html body .age-notice.age-notice label.age-choice input:checked { border-color: #16a34a !important; background: #16a34a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 80% no-repeat !important; }
.age-notice .age-notice-small { margin: 0 !important; font-size: .75rem !important; opacity: .75; text-align: left !important; }
.age-notice .age-notice-small a { color: inherit !important; text-decoration: underline !important; }
.age-notice .age-notice-need { margin: .5rem 0 0 !important; font-size: .8125rem !important; font-weight: 700 !important; color: #d97706 !important; text-align: left !important; }
.age-notice-need[hidden] { display: none; }
/* The ways to sign in, until a choice is made: everything after the notice, or (notice outside the locked block) everything in it. */
.age-locked > .age-host ~ *, .age-locked:not(:has(> .age-host)) > * { opacity: .4; filter: grayscale(1); }
.age-locked > .age-host ~ *, .age-locked > .age-host ~ * *, .age-locked:not(:has(> .age-host)) * { pointer-events: none; }
/* apps for adults: one quiet line */
html body .age-notice-host.age-host-line, html body .age-host-line { width: 100%; max-width: 440px; margin: 0 auto; }
.age-line { margin: 1.1rem 0 0 !important; font-size: .75rem !important; line-height: 1.55; opacity: .72; text-align: center !important; font-weight: 400 !important; text-transform: none !important; letter-spacing: normal !important; }
.age-line a { color: inherit !important; text-decoration: underline !important; text-underline-offset: 2px; }
