/* "GitHub" theme (added 2026-10-12) -- GitHub Primer look: neutral greys, blue links, violet primary buttons (the repo's Merged purple), near-black "dark default" night. Same mechanism as the other theme-*.css files:
   `html.theme-github` (light) / `html.theme-github.dark`. */

html.theme-github:not(.dark) {
    --gh-bg: #ffffff;
    --gh-surface: #ffffff;
    --gh-surface-recessed: #f6f8fa;
    --gh-fill: #eaeef2;
    --gh-fill-strong: #d0d7de;
    --gh-border: #d0d7de;
    --gh-border-soft: #eaeef2;
    --gh-border-strong: #afb8c1;
    --gh-text-heading: #1f2328;
    --gh-text-body: #59636e;
    --gh-text-faint: #626a74;
    --gh-accent: #0969da;
    --gh-accent-solid: #8250df;
    --gh-accent-hover: #6e40c9;
    --gh-hover-tint: rgba(9, 105, 218, 0.06);
    --gh-hover-tint-strong: rgba(9, 105, 218, 0.1);
    --focus-accent: var(--gh-accent);
    --focus-ring: rgba(9, 105, 218, 0.25);
    color-scheme: light;
}
html.theme-github.dark {
    --gh-bg: #0d1117;
    --gh-surface: #161b22;
    --gh-surface-recessed: #010409;
    --gh-fill: #21262d;
    --gh-fill-strong: #30363d;
    --gh-border: #30363d;
    --gh-border-soft: #21262d;
    --gh-border-strong: #484f58;
    --gh-text-heading: #f0f6fc;
    --gh-text-body: #9198a1;
    --gh-text-faint: #888f98;
    --gh-accent: #4493f8;
    --gh-accent-solid: #8957e5;
    --gh-accent-hover: #a371f7;
    --gh-hover-tint: rgba(68, 147, 248, 0.1);
    --gh-hover-tint-strong: rgba(68, 147, 248, 0.16);
    --focus-accent: var(--gh-accent);
    --focus-ring: rgba(68, 147, 248, 0.25);
    color-scheme: dark;
}

/* Personality touches -- see theme-instagram.css for the rationale. */
html.theme-github { font-family: -apple-system, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif !important; }
html.theme-github button.rounded-lg, html.theme-github a.rounded-lg { border-radius: 0.375rem !important; }
html.theme-github body { color: var(--gh-text-heading); }
html.theme-github body.bg-white { background-color: var(--gh-bg) !important; background-image: none !important; }
html.theme-github .bg-white { background-color: var(--gh-surface) !important; }
html.theme-github .bg-zinc-50 { background-color: var(--gh-surface-recessed) !important; }
html.theme-github .bg-zinc-100 { background-color: var(--gh-fill) !important; }
html.theme-github .bg-zinc-200 { background-color: var(--gh-fill-strong) !important; }
html.theme-github .bg-zinc-900 { background-color: var(--gh-accent-solid) !important; }
html.theme-github .bg-zinc-700, html.theme-github .bg-zinc-800 { background-color: var(--gh-accent-hover) !important; }
html.theme-github .bg-zinc-900\/40 { background-color: rgba(15, 23, 42, 0.55) !important; }
html.theme-github .bg-zinc-50\/40, html.theme-github .bg-zinc-50\/50, html.theme-github .bg-zinc-50\/60 { background-color: var(--gh-hover-tint) !important; }
html.theme-github .bg-zinc-200\/60 { background-color: var(--gh-hover-tint-strong) !important; }
html.theme-github .text-zinc-700, html.theme-github .text-zinc-800, html.theme-github .text-zinc-900 { color: var(--gh-text-heading) !important; }
html.theme-github .text-zinc-500, html.theme-github .text-zinc-600 { color: var(--gh-text-body) !important; }
html.theme-github .text-zinc-300, html.theme-github .text-zinc-400 { color: var(--gh-text-faint) !important; }
html.theme-github .placeholder\:text-zinc-400::placeholder { color: var(--gh-text-faint) !important; }
html.theme-github .border-zinc-100 { border-color: var(--gh-border-soft) !important; }
html.theme-github .divide-zinc-100 > :not([hidden]) ~ :not([hidden]) { border-color: var(--gh-border-soft) !important; }
html.theme-github .border-zinc-200 { border-color: var(--gh-border) !important; }
html.theme-github .border-zinc-300 { border-color: var(--gh-border-strong) !important; }
html.theme-github .border-zinc-400 { border-color: var(--gh-accent) !important; }
html.theme-github .border-zinc-900 { border-color: var(--gh-accent-solid) !important; }
html.theme-github .ring-zinc-100 { --tw-ring-color: rgba(130, 80, 223, 0.12) !important; }
html.theme-github .ring-zinc-500\/10, html.theme-github .ring-zinc-900\/10 { --tw-ring-color: rgba(130, 80, 223, 0.2) !important; }
html.theme-github .hover\:bg-zinc-50:hover, html.theme-github .hover\:bg-zinc-100:hover, html.theme-github .hover\:bg-zinc-200:hover,
html.theme-github .hover\:bg-zinc-50\/40:hover, html.theme-github .hover\:bg-zinc-50\/50:hover, html.theme-github .hover\:bg-zinc-50\/60:hover { background-color: var(--gh-hover-tint) !important; }
html.theme-github .hover\:bg-zinc-200\/60:hover { background-color: var(--gh-hover-tint-strong) !important; }
html.theme-github .has-\[\:checked\]\:bg-zinc-50:has(:checked), html.theme-github .has-\[\:checked\]\:bg-zinc-100:has(:checked) { background-color: var(--gh-hover-tint) !important; }
html.theme-github .capa-nc-group:hover td { background-color: var(--gh-hover-tint-strong) !important; }
html.theme-github .capa-nc-group:hover td:first-child,
html.theme-github tbody:not(.capa-nc-group) tr:not([class*="hover:bg"]):hover td:first-child { box-shadow: inset 3px 0 0 0 var(--gh-accent) !important; }
html.theme-github tbody:not(.capa-nc-group) tr:not([class*="hover:bg"]):hover { background-color: var(--gh-hover-tint-strong) !important; }
html.theme-github .hover\:bg-zinc-700:hover, html.theme-github .hover\:bg-zinc-800:hover { background-color: var(--gh-accent-hover) !important; }
html.theme-github .hover\:text-zinc-600:hover { color: var(--gh-text-body) !important; }
html.theme-github .hover\:text-zinc-700:hover, html.theme-github .hover\:text-zinc-800:hover, html.theme-github .hover\:text-zinc-900:hover { color: var(--gh-text-heading) !important; }
html.theme-github .hover\:border-zinc-400:hover { border-color: var(--gh-accent) !important; }
html.theme-github .hover\:border-zinc-900:hover { border-color: var(--gh-accent-solid) !important; }
html.theme-github .focus\:border-zinc-400:focus { border-color: var(--gh-accent) !important; }
html.theme-github .focus\:ring-zinc-100:focus { --tw-ring-color: rgba(130, 80, 223, 0.15) !important; }
html.theme-github .focus\:ring-zinc-900:focus { --tw-ring-color: rgba(130, 80, 223, 0.25) !important; }
html.theme-github input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
html.theme-github select, html.theme-github textarea { background-color: var(--gh-surface) !important; color: var(--gh-text-heading) !important; border-color: var(--gh-border) !important; }
html.theme-github input::placeholder, html.theme-github textarea::placeholder { color: var(--gh-text-faint) !important; }
html.theme-github input[type="checkbox"], html.theme-github input[type="radio"] { accent-color: var(--gh-accent-solid); }
html.theme-github.dark input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); }
html.theme-github input[type="date"], html.theme-github input[type="time"], html.theme-github input[type="datetime-local"],
html.theme-github input[type="month"], html.theme-github input[type="week"] { color-scheme: inherit; }
html.theme-github ::-webkit-scrollbar-track { background: transparent; }
html.theme-github ::-webkit-scrollbar-thumb { background: var(--gh-border-strong); border-radius: 999px; }
html.theme-github ::-webkit-scrollbar-thumb:hover { background: var(--gh-accent); }
html.theme-github.dark .bg-amber-50, html.theme-github.dark .bg-amber-100 { background-color: rgba(245, 158, 11, 0.14) !important; }
html.theme-github.dark .text-amber-600, html.theme-github.dark .text-amber-700, html.theme-github.dark .text-amber-800 { color: #fbbf24 !important; }
html.theme-github.dark .bg-blue-50, html.theme-github.dark .bg-blue-100 { background-color: rgba(59, 130, 246, 0.14) !important; }
html.theme-github.dark .text-blue-600, html.theme-github.dark .text-blue-700, html.theme-github.dark .text-blue-800 { color: #60a5fa !important; }
html.theme-github.dark .bg-emerald-50, html.theme-github.dark .bg-emerald-100 { background-color: rgba(16, 185, 129, 0.16) !important; }
html.theme-github.dark .text-emerald-600, html.theme-github.dark .text-emerald-700, html.theme-github.dark .text-emerald-800 { color: #34d399 !important; }
html.theme-github.dark .bg-red-50, html.theme-github.dark .bg-red-100 { background-color: rgba(239, 68, 68, 0.14) !important; }
html.theme-github.dark .text-red-600, html.theme-github.dark .text-red-700 { color: #f87171 !important; }
html.theme-github.dark .bg-violet-50 { background-color: rgba(139, 92, 246, 0.14) !important; }
html.theme-github.dark .text-violet-600, html.theme-github.dark .text-violet-700 { color: #a78bfa !important; }
html.theme-github.dark .bg-sky-50 { background-color: rgba(59, 130, 246, 0.14) !important; }
html.theme-github.dark .text-sky-600 { color: #60a5fa !important; }
html.theme-github.dark .bg-teal-50 { background-color: rgba(20, 184, 166, 0.14) !important; }
html.theme-github.dark .text-teal-600, html.theme-github.dark .text-teal-700 { color: #2dd4bf !important; }
html.theme-github.dark .bg-rose-50 { background-color: rgba(244, 63, 94, 0.14) !important; }
html.theme-github.dark .text-rose-600 { color: #fb7185 !important; }
html.theme-github.dark .bg-orange-50 { background-color: rgba(249, 115, 22, 0.14) !important; }
html.theme-github.dark .text-orange-600, html.theme-github.dark .text-orange-700 { color: #fb923c !important; }
html.theme-github.dark .bg-indigo-50 { background-color: rgba(99, 102, 241, 0.14) !important; }
html.theme-github.dark .text-indigo-600 { color: #818cf8 !important; }
