/* OGL library pages: only what the site's utility classes do not already cover. Colours come from the site's own variables. */
.ogl-break { overflow-wrap: anywhere; }
.ogl-prose { overflow-wrap: anywhere; }
.ogl-prose pre { overflow-x: auto; max-width: 100%; }
.ogl-prose pre code { white-space: pre; overflow-wrap: normal; }
.ogl-table { overflow-x: auto; max-width: 100%; margin: 1.5em 0; }
.ogl-table table { margin: 0; }
.ogl-crumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; list-style: none; margin: 0; padding: 0; }
.ogl-crumbs li { overflow-wrap: anywhere; }
.ogl-crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .6; }
.ogl-list { list-style: none; margin: 0; padding: 0; }
.ogl-list li { padding: 1rem 0; border-bottom: 1px solid hsl(var(--v5-stone-light) / .3); overflow-wrap: anywhere; }
.ogl-list li > a { font-weight: 600; color: hsl(var(--ink)); }
.ogl-list li > a:hover { color: hsl(var(--brand)); }
.ogl-list li p { margin: .35rem 0 0; color: hsl(var(--muted-foreground)); font-size: .9375rem; line-height: 1.55; }
.ogl-meta { display: inline-block; margin-left: .75rem; font-size: .8125rem; color: hsl(var(--muted-foreground)); }
.ogl-btns { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }
.ogl-btns-c { justify-content: center; }
.ogl-btns a { min-height: 44px; text-align: center; }
.ogl-locked, .ogl-cta, .ogl-source { background: #fff; border: 1px solid hsl(var(--v5-stone-light) / .3); border-radius: 1rem; padding: 1.5rem; }
.ogl-source { font-size: .9375rem; color: hsl(var(--muted-foreground)); overflow-wrap: anywhere; }
.ogl-source p + p { margin-top: .5rem; }
.ogl-source a, .ogl-summary a { color: hsl(var(--brand)); }
.ogl-summary p + p { margin-top: 1rem; }
.ogl-toc { list-style: disc; padding-left: 1.25rem; }
.ogl-toc li { margin: .25rem 0; overflow-wrap: anywhere; }
.ogl-fm { margin: 0 0 1.5rem; font-size: .875rem; }
.ogl-fm summary { cursor: pointer; color: hsl(var(--muted-foreground)); }
.ogl-fm pre { overflow-x: auto; background: hsl(var(--cream-dark, var(--cream))); padding: 1rem; border-radius: .75rem; margin-top: .5rem; }
.ogl-pager { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.ogl-pager a { min-width: 2.5rem; min-height: 2.5rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid hsl(var(--v5-stone-light) / .3); background: #fff; font-weight: 600; }
.ogl-pager a[aria-current] { background: hsl(var(--brand)); color: #fff; border-color: transparent; }
.ogl-catcard { display: flex; flex-direction: column; gap: .35rem; }
.ogl-mean { display: flex; align-items: center; gap: .5rem; margin-top: .75rem; font-size: .875rem; color: hsl(var(--muted-foreground)); min-height: 24px; }
.ogl-mean input { width: 18px; height: 18px; accent-color: hsl(var(--brand)); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid hsl(var(--brand)); outline-offset: 2px; }
.ogl-btns a { white-space: normal; max-width: 100%; }
@media (max-width: 480px) { .ogl-btns a { width: 100%; padding-left: 1.25rem; padding-right: 1.25rem; } }
