/* "YouTube" theme (added 2026-09-14) — same mechanism as the other theme-*.css files.
   `html.theme-youtube` (light) / `html.theme-youtube.dark` (YouTube's real dark mode). */

html.theme-youtube:not(.dark) {
    --yt-bg: #f9f9f9;
    --yt-surface: #ffffff;
    --yt-surface-recessed: #f2f2f2;
    --yt-fill: #eeeeee;
    --yt-fill-strong: #e0e0e0;
    --yt-border: #e5e5e5;
    --yt-border-soft: #ededed;
    --yt-border-strong: #cccccc;
    --yt-text-heading: #0f0f0f;
    --yt-text-body: #606060;
    --yt-text-faint: #909090;
    --yt-accent: #ff0000;
    --yt-accent-solid: #ff0000;
    --yt-accent-hover: #cc0000;
    --yt-hover-tint: rgba(255, 0, 0, 0.05);
    --yt-hover-tint-strong: rgba(255, 0, 0, 0.09);
    --focus-accent: var(--yt-accent);
    --focus-ring: rgba(255, 0, 0, 0.25);
    color-scheme: light;
}
html.theme-youtube.dark {
    --yt-bg: #0f0f0f;
    --yt-surface: #212121;
    --yt-surface-recessed: #181818;
    --yt-fill: #3d3d3d;
    --yt-fill-strong: #4d4d4d;
    --yt-border: #3d3d3d;
    --yt-border-soft: #2f2f2f;
    --yt-border-strong: #4d4d4d;
    --yt-text-heading: #f1f1f1;
    --yt-text-body: #aaaaaa;
    --yt-text-faint: #717171;
    --yt-accent: #ff4444;
    --yt-accent-solid: #ff0000;
    --yt-accent-hover: #ff4444;
    --yt-hover-tint: rgba(255, 68, 68, 0.1);
    --yt-hover-tint-strong: rgba(255, 68, 68, 0.16);
    --focus-accent: var(--yt-accent);
    --focus-ring: rgba(255, 68, 68, 0.25);
    color-scheme: dark;
}

/* "Personality" touches (added 2026-09-15) — see theme-instagram.css's comment for the full
   rationale. Roboto is YouTube's real font. YouTube's chips/search bar/subscribe button are all
   famously fully pill-shaped — border-radius scoped to button/a elements only (cards/banners
   untouched), same reasoning as Instagram's. */
html.theme-youtube { font-family: Roboto, Arial, sans-serif !important; }
html.theme-youtube button.rounded-lg, html.theme-youtube a.rounded-lg { border-radius: 9999px !important; }
html.theme-youtube body { color: var(--yt-text-heading); }
html.theme-youtube body.bg-white { background-color: var(--yt-bg) !important; background-image: none !important; }
html.theme-youtube .bg-white { background-color: var(--yt-surface) !important; }
html.theme-youtube .bg-zinc-50 { background-color: var(--yt-surface-recessed) !important; }
html.theme-youtube .bg-zinc-100 { background-color: var(--yt-fill) !important; }
html.theme-youtube .bg-zinc-200 { background-color: var(--yt-fill-strong) !important; }
html.theme-youtube .bg-zinc-900 { background-color: var(--yt-accent-solid) !important; }
html.theme-youtube .bg-zinc-700, html.theme-youtube .bg-zinc-800 { background-color: var(--yt-accent-hover) !important; }
html.theme-youtube .bg-zinc-900\/40 { background-color: rgba(0, 0, 0, 0.5) !important; }
html.theme-youtube .bg-zinc-50\/40, html.theme-youtube .bg-zinc-50\/50, html.theme-youtube .bg-zinc-50\/60 { background-color: var(--yt-hover-tint) !important; }
html.theme-youtube .bg-zinc-200\/60 { background-color: var(--yt-hover-tint-strong) !important; }
html.theme-youtube .text-zinc-700, html.theme-youtube .text-zinc-800, html.theme-youtube .text-zinc-900 { color: var(--yt-text-heading) !important; }
html.theme-youtube .text-zinc-500, html.theme-youtube .text-zinc-600 { color: var(--yt-text-body) !important; }
html.theme-youtube .text-zinc-300, html.theme-youtube .text-zinc-400 { color: var(--yt-text-faint) !important; }
html.theme-youtube .placeholder\:text-zinc-400::placeholder { color: var(--yt-text-faint) !important; }
html.theme-youtube .border-zinc-100 { border-color: var(--yt-border-soft) !important; }
html.theme-youtube .divide-zinc-100 > :not([hidden]) ~ :not([hidden]) { border-color: var(--yt-border-soft) !important; }
html.theme-youtube .border-zinc-200 { border-color: var(--yt-border) !important; }
html.theme-youtube .border-zinc-300 { border-color: var(--yt-border-strong) !important; }
html.theme-youtube .border-zinc-400 { border-color: var(--yt-accent) !important; }
html.theme-youtube .border-zinc-900 { border-color: var(--yt-accent-solid) !important; }
html.theme-youtube .ring-zinc-100 { --tw-ring-color: rgba(255, 0, 0, 0.12) !important; }
html.theme-youtube .ring-zinc-500\/10, html.theme-youtube .ring-zinc-900\/10 { --tw-ring-color: rgba(255, 0, 0, 0.2) !important; }
html.theme-youtube .hover\:bg-zinc-50:hover, html.theme-youtube .hover\:bg-zinc-100:hover, html.theme-youtube .hover\:bg-zinc-200:hover,
html.theme-youtube .hover\:bg-zinc-50\/40:hover, html.theme-youtube .hover\:bg-zinc-50\/50:hover, html.theme-youtube .hover\:bg-zinc-50\/60:hover { background-color: var(--yt-hover-tint) !important; }
html.theme-youtube .hover\:bg-zinc-200\/60:hover { background-color: var(--yt-hover-tint-strong) !important; }
html.theme-youtube .has-\[\:checked\]\:bg-zinc-50:has(:checked), html.theme-youtube .has-\[\:checked\]\:bg-zinc-100:has(:checked) { background-color: var(--yt-hover-tint) !important; }
html.theme-youtube .capa-nc-group:hover td { background-color: var(--yt-hover-tint-strong) !important; }
html.theme-youtube .capa-nc-group:hover td:first-child,
html.theme-youtube tbody:not(.capa-nc-group) tr:not([class*="hover:bg"]):hover td:first-child { box-shadow: inset 3px 0 0 0 var(--yt-accent) !important; }
html.theme-youtube tbody:not(.capa-nc-group) tr:not([class*="hover:bg"]):hover { background-color: var(--yt-hover-tint-strong) !important; }
html.theme-youtube .hover\:bg-zinc-700:hover, html.theme-youtube .hover\:bg-zinc-800:hover { background-color: var(--yt-accent-hover) !important; }
html.theme-youtube .hover\:text-zinc-600:hover { color: var(--yt-text-body) !important; }
html.theme-youtube .hover\:text-zinc-700:hover, html.theme-youtube .hover\:text-zinc-800:hover, html.theme-youtube .hover\:text-zinc-900:hover { color: var(--yt-text-heading) !important; }
html.theme-youtube .hover\:border-zinc-400:hover { border-color: var(--yt-accent) !important; }
html.theme-youtube .hover\:border-zinc-900:hover { border-color: var(--yt-accent-solid) !important; }
html.theme-youtube .focus\:border-zinc-400:focus { border-color: var(--yt-accent) !important; }
html.theme-youtube .focus\:ring-zinc-100:focus { --tw-ring-color: rgba(255, 0, 0, 0.15) !important; }
html.theme-youtube .focus\:ring-zinc-900:focus { --tw-ring-color: rgba(255, 0, 0, 0.25) !important; }
html.theme-youtube input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
html.theme-youtube select, html.theme-youtube textarea { background-color: var(--yt-surface) !important; color: var(--yt-text-heading) !important; border-color: var(--yt-border) !important; }
html.theme-youtube input::placeholder, html.theme-youtube textarea::placeholder { color: var(--yt-text-faint) !important; }
html.theme-youtube input[type="checkbox"], html.theme-youtube input[type="radio"] { accent-color: var(--yt-accent-solid); }
html.theme-youtube.dark input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); }
html.theme-youtube input[type="date"], html.theme-youtube input[type="time"], html.theme-youtube input[type="datetime-local"],
html.theme-youtube input[type="month"], html.theme-youtube input[type="week"] { color-scheme: inherit; }
html.theme-youtube ::-webkit-scrollbar-track { background: transparent; }
html.theme-youtube ::-webkit-scrollbar-thumb { background: var(--yt-border-strong); border-radius: 999px; }
html.theme-youtube ::-webkit-scrollbar-thumb:hover { background: var(--yt-accent); }
html.theme-youtube.dark .bg-amber-50, html.theme-youtube.dark .bg-amber-100 { background-color: rgba(245, 158, 11, 0.14) !important; }
html.theme-youtube.dark .text-amber-600, html.theme-youtube.dark .text-amber-700, html.theme-youtube.dark .text-amber-800 { color: #fbbf24 !important; }
html.theme-youtube.dark .bg-blue-50, html.theme-youtube.dark .bg-blue-100 { background-color: rgba(59, 130, 246, 0.16) !important; }
html.theme-youtube.dark .text-blue-600, html.theme-youtube.dark .text-blue-700, html.theme-youtube.dark .text-blue-800 { color: #60a5fa !important; }
html.theme-youtube.dark .bg-emerald-50, html.theme-youtube.dark .bg-emerald-100 { background-color: rgba(16, 185, 129, 0.14) !important; }
html.theme-youtube.dark .text-emerald-600, html.theme-youtube.dark .text-emerald-700, html.theme-youtube.dark .text-emerald-800 { color: #34d399 !important; }
html.theme-youtube.dark .bg-red-50, html.theme-youtube.dark .bg-red-100 { background-color: rgba(255, 68, 68, 0.16) !important; }
html.theme-youtube.dark .text-red-600, html.theme-youtube.dark .text-red-700 { color: #ff8080 !important; }
html.theme-youtube.dark .bg-violet-50 { background-color: rgba(139, 92, 246, 0.14) !important; }
html.theme-youtube.dark .text-violet-600, html.theme-youtube.dark .text-violet-700 { color: #a78bfa !important; }
html.theme-youtube.dark .bg-sky-50 { background-color: rgba(59, 130, 246, 0.14) !important; }
html.theme-youtube.dark .text-sky-600 { color: #60a5fa !important; }
html.theme-youtube.dark .bg-teal-50 { background-color: rgba(20, 184, 166, 0.14) !important; }
html.theme-youtube.dark .text-teal-600, html.theme-youtube.dark .text-teal-700 { color: #2dd4bf !important; }
html.theme-youtube.dark .bg-rose-50 { background-color: rgba(244, 63, 94, 0.14) !important; }
html.theme-youtube.dark .text-rose-600 { color: #fb7185 !important; }
html.theme-youtube.dark .bg-orange-50 { background-color: rgba(249, 115, 22, 0.14) !important; }
html.theme-youtube.dark .text-orange-600, html.theme-youtube.dark .text-orange-700 { color: #fb923c !important; }
html.theme-youtube.dark .bg-indigo-50 { background-color: rgba(99, 102, 241, 0.14) !important; }
html.theme-youtube.dark .text-indigo-600 { color: #818cf8 !important; }
