/* "Discord" theme (added 2026-09-14) — same mechanism as theme-facebook.css/theme-instagram.css.
   `html.theme-discord` (light) / `html.theme-discord.dark` (Discord's iconic real dark mode). */

html.theme-discord:not(.dark) {
    --dc-bg: #f2f3f5;
    --dc-surface: #ffffff;
    --dc-surface-recessed: #f2f3f5;
    --dc-fill: #e3e5e8;
    --dc-fill-strong: #d4d7dc;
    --dc-border: #e3e5e8;
    --dc-border-soft: #ebedef;
    --dc-border-strong: #c5c9d0;
    --dc-text-heading: #060607;
    --dc-text-body: #4e5058;
    --dc-text-faint: #80848e;
    --dc-accent: #5865f2;
    --dc-accent-solid: #5865f2;
    --dc-accent-hover: #4752c4;
    --dc-hover-tint: rgba(88, 101, 242, 0.06);
    --dc-hover-tint-strong: rgba(88, 101, 242, 0.1);
    --focus-accent: var(--dc-accent);
    --focus-ring: rgba(88, 101, 242, 0.25);
    color-scheme: light;
}
html.theme-discord.dark {
    --dc-bg: #1e1f22;
    --dc-surface: #2b2d31;
    --dc-surface-recessed: #1e1f22;
    --dc-fill: #383a40;
    --dc-fill-strong: #444753;
    --dc-border: #1e1f22;
    --dc-border-soft: #26282c;
    --dc-border-strong: #444753;
    --dc-text-heading: #f2f3f5;
    --dc-text-body: #b5bac1;
    --dc-text-faint: #80848e;
    --dc-accent: #6f77f7;
    --dc-accent-solid: #5865f2;
    --dc-accent-hover: #6f77f7;
    --dc-hover-tint: rgba(111, 119, 247, 0.12);
    --dc-hover-tint-strong: rgba(111, 119, 247, 0.18);
    --focus-accent: var(--dc-accent);
    --focus-ring: rgba(111, 119, 247, 0.25);
    color-scheme: dark;
}

/* "Personality" touches (added 2026-09-15) — see theme-instagram.css's comment for the full
   rationale. Discord's real font is "gg sans" (proprietary) — Noto Sans is Discord's OWN actual
   fallback for it, so this is the closest free match, not a guess. Discord's own buttons are
   noticeably SQUARER than this app's default rounded-lg, not rounder — border-radius is scoped
   to button/a elements only, same reasoning as Instagram's. */
html.theme-discord { font-family: "Noto Sans", "Helvetica Neue", Arial, sans-serif !important; }
html.theme-discord button.rounded-lg, html.theme-discord a.rounded-lg { border-radius: 0.1875rem !important; }
html.theme-discord body { color: var(--dc-text-heading); }
html.theme-discord body.bg-white { background-color: var(--dc-bg) !important; background-image: none !important; }
html.theme-discord .bg-white { background-color: var(--dc-surface) !important; }
html.theme-discord .bg-zinc-50 { background-color: var(--dc-surface-recessed) !important; }
html.theme-discord .bg-zinc-100 { background-color: var(--dc-fill) !important; }
html.theme-discord .bg-zinc-200 { background-color: var(--dc-fill-strong) !important; }
html.theme-discord .bg-zinc-900 { background-color: var(--dc-accent-solid) !important; }
html.theme-discord .bg-zinc-700, html.theme-discord .bg-zinc-800 { background-color: var(--dc-accent-hover) !important; }
html.theme-discord .bg-zinc-900\/40 { background-color: rgba(0, 0, 0, 0.5) !important; }
html.theme-discord .bg-zinc-50\/40, html.theme-discord .bg-zinc-50\/50, html.theme-discord .bg-zinc-50\/60 { background-color: var(--dc-hover-tint) !important; }
html.theme-discord .bg-zinc-200\/60 { background-color: var(--dc-hover-tint-strong) !important; }
html.theme-discord .text-zinc-700, html.theme-discord .text-zinc-800, html.theme-discord .text-zinc-900 { color: var(--dc-text-heading) !important; }
html.theme-discord .text-zinc-500, html.theme-discord .text-zinc-600 { color: var(--dc-text-body) !important; }
html.theme-discord .text-zinc-300, html.theme-discord .text-zinc-400 { color: var(--dc-text-faint) !important; }
html.theme-discord .placeholder\:text-zinc-400::placeholder { color: var(--dc-text-faint) !important; }
html.theme-discord .border-zinc-100 { border-color: var(--dc-border-soft) !important; }
html.theme-discord .divide-zinc-100 > :not([hidden]) ~ :not([hidden]) { border-color: var(--dc-border-soft) !important; }
html.theme-discord .border-zinc-200 { border-color: var(--dc-border) !important; }
html.theme-discord .border-zinc-300 { border-color: var(--dc-border-strong) !important; }
html.theme-discord .border-zinc-400 { border-color: var(--dc-accent) !important; }
html.theme-discord .border-zinc-900 { border-color: var(--dc-accent-solid) !important; }
html.theme-discord .ring-zinc-100 { --tw-ring-color: rgba(88, 101, 242, 0.12) !important; }
html.theme-discord .ring-zinc-500\/10, html.theme-discord .ring-zinc-900\/10 { --tw-ring-color: rgba(88, 101, 242, 0.2) !important; }
html.theme-discord .hover\:bg-zinc-50:hover, html.theme-discord .hover\:bg-zinc-100:hover, html.theme-discord .hover\:bg-zinc-200:hover,
html.theme-discord .hover\:bg-zinc-50\/40:hover, html.theme-discord .hover\:bg-zinc-50\/50:hover, html.theme-discord .hover\:bg-zinc-50\/60:hover { background-color: var(--dc-hover-tint) !important; }
html.theme-discord .hover\:bg-zinc-200\/60:hover { background-color: var(--dc-hover-tint-strong) !important; }
html.theme-discord .has-\[\:checked\]\:bg-zinc-50:has(:checked), html.theme-discord .has-\[\:checked\]\:bg-zinc-100:has(:checked) { background-color: var(--dc-hover-tint) !important; }
html.theme-discord .capa-nc-group:hover td { background-color: var(--dc-hover-tint-strong) !important; }
html.theme-discord .capa-nc-group:hover td:first-child,
html.theme-discord tbody:not(.capa-nc-group) tr:not([class*="hover:bg"]):hover td:first-child { box-shadow: inset 3px 0 0 0 var(--dc-accent) !important; }
html.theme-discord tbody:not(.capa-nc-group) tr:not([class*="hover:bg"]):hover { background-color: var(--dc-hover-tint-strong) !important; }
html.theme-discord .hover\:bg-zinc-700:hover, html.theme-discord .hover\:bg-zinc-800:hover { background-color: var(--dc-accent-hover) !important; }
html.theme-discord .hover\:text-zinc-600:hover { color: var(--dc-text-body) !important; }
html.theme-discord .hover\:text-zinc-700:hover, html.theme-discord .hover\:text-zinc-800:hover, html.theme-discord .hover\:text-zinc-900:hover { color: var(--dc-text-heading) !important; }
html.theme-discord .hover\:border-zinc-400:hover { border-color: var(--dc-accent) !important; }
html.theme-discord .hover\:border-zinc-900:hover { border-color: var(--dc-accent-solid) !important; }
html.theme-discord .focus\:border-zinc-400:focus { border-color: var(--dc-accent) !important; }
html.theme-discord .focus\:ring-zinc-100:focus { --tw-ring-color: rgba(88, 101, 242, 0.15) !important; }
html.theme-discord .focus\:ring-zinc-900:focus { --tw-ring-color: rgba(88, 101, 242, 0.25) !important; }
html.theme-discord input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
html.theme-discord select, html.theme-discord textarea { background-color: var(--dc-surface) !important; color: var(--dc-text-heading) !important; border-color: var(--dc-border) !important; }
html.theme-discord input::placeholder, html.theme-discord textarea::placeholder { color: var(--dc-text-faint) !important; }
html.theme-discord input[type="checkbox"], html.theme-discord input[type="radio"] { accent-color: var(--dc-accent-solid); }
html.theme-discord.dark input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); }
html.theme-discord input[type="date"], html.theme-discord input[type="time"], html.theme-discord input[type="datetime-local"],
html.theme-discord input[type="month"], html.theme-discord input[type="week"] { color-scheme: inherit; }
html.theme-discord ::-webkit-scrollbar-track { background: transparent; }
html.theme-discord ::-webkit-scrollbar-thumb { background: var(--dc-border-strong); border-radius: 999px; }
html.theme-discord ::-webkit-scrollbar-thumb:hover { background: var(--dc-accent); }
html.theme-discord.dark .bg-amber-50, html.theme-discord.dark .bg-amber-100 { background-color: rgba(245, 158, 11, 0.14) !important; }
html.theme-discord.dark .text-amber-600, html.theme-discord.dark .text-amber-700, html.theme-discord.dark .text-amber-800 { color: #fbbf24 !important; }
html.theme-discord.dark .bg-blue-50, html.theme-discord.dark .bg-blue-100 { background-color: rgba(111, 119, 247, 0.16) !important; }
html.theme-discord.dark .text-blue-600, html.theme-discord.dark .text-blue-700, html.theme-discord.dark .text-blue-800 { color: #9aa0f9 !important; }
html.theme-discord.dark .bg-emerald-50, html.theme-discord.dark .bg-emerald-100 { background-color: rgba(16, 185, 129, 0.14) !important; }
html.theme-discord.dark .text-emerald-600, html.theme-discord.dark .text-emerald-700, html.theme-discord.dark .text-emerald-800 { color: #34d399 !important; }
html.theme-discord.dark .bg-red-50, html.theme-discord.dark .bg-red-100 { background-color: rgba(239, 68, 68, 0.14) !important; }
html.theme-discord.dark .text-red-600, html.theme-discord.dark .text-red-700 { color: #f87171 !important; }
html.theme-discord.dark .bg-violet-50 { background-color: rgba(139, 92, 246, 0.14) !important; }
html.theme-discord.dark .text-violet-600, html.theme-discord.dark .text-violet-700 { color: #a78bfa !important; }
html.theme-discord.dark .bg-sky-50 { background-color: rgba(111, 119, 247, 0.14) !important; }
html.theme-discord.dark .text-sky-600 { color: #9aa0f9 !important; }
html.theme-discord.dark .bg-teal-50 { background-color: rgba(20, 184, 166, 0.14) !important; }
html.theme-discord.dark .text-teal-600, html.theme-discord.dark .text-teal-700 { color: #2dd4bf !important; }
html.theme-discord.dark .bg-rose-50 { background-color: rgba(244, 63, 94, 0.14) !important; }
html.theme-discord.dark .text-rose-600 { color: #fb7185 !important; }
html.theme-discord.dark .bg-orange-50 { background-color: rgba(249, 115, 22, 0.14) !important; }
html.theme-discord.dark .text-orange-600, html.theme-discord.dark .text-orange-700 { color: #fb923c !important; }
html.theme-discord.dark .bg-indigo-50 { background-color: rgba(99, 102, 241, 0.14) !important; }
html.theme-discord.dark .text-indigo-600 { color: #818cf8 !important; }
