/* ============================================================================
   Yuitor Smart Classes — Automatic Indian Festival Theme System (2026–2030)
   Loaded after site-palette.css. Activates only when html[data-festival] is
   set to a non-empty festival ID (not "none" / "academic_default").
   ============================================================================ */

/* Base festival CSS variables (zero-specificity :where fallback overridden per festival below) */
:where(html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"])) {
  --yf-bg: #0b132b;
  --yf-surface: #131e3e;
  --yf-surface-alt: #1b284f;
  --yf-border: rgba(245, 194, 107, 0.28);
  --yf-text: #faf6ee;
  --yf-text-muted: #cbd5e1;
  --yf-heading: #fff8eb;
  --yf-accent: #f59e0b;
  --yf-accent-deep: #d97706;
  --yf-accent-fg: #0b132b;
  --yf-secondary: #fb923c;
  --yf-header-top: linear-gradient(100deg, #070d1f, #182349 55%, #3a2312);
  --yf-header-nav: rgba(15, 24, 52, 0.96);
  --yf-header-nav-text: #faf6ee;
  --yf-hero-bg: #0c1530;
  --yf-hero-glow: radial-gradient(ellipse at 78% 28%, rgba(245, 158, 11, 0.24), transparent 44%),
                  radial-gradient(ellipse at 16% 84%, rgba(251, 146, 60, 0.16), transparent 42%),
                  linear-gradient(135deg, #091026 0%, #111d3f 56%, #1c1b36 100%);
  --yf-footer-bg: linear-gradient(145deg, #070d1e 0%, #111c3c 62%, #241914 100%);
  --yf-banner-bg: linear-gradient(115deg, rgba(20, 31, 66, 0.96), rgba(38, 25, 22, 0.94));
  --yf-banner-border: rgba(245, 158, 11, 0.42);
  --yf-banner-text: #fff7e6;
  --yf-input-bg: #101936;
  --yf-input-text: #faf6ee;
  --yf-shadow: 0 18px 42px rgba(4, 8, 22, 0.36);
}

/* ---------------- Per-Festival Palettes (Dark Themes) ---------------- */
html[data-festival="diwali"],
html[data-festival="govardhan_puja"] {
  --yf-bg: #0b132b;
  --yf-surface: #131e3e;
  --yf-surface-alt: #1b284f;
  --yf-border: rgba(245, 194, 107, 0.30);
  --yf-text: #faf6ee;
  --yf-text-muted: #d1d9e6;
  --yf-heading: #fff8eb;
  --yf-accent: #f59e0b;
  --yf-accent-deep: #d97706;
  --yf-accent-fg: #0b132b;
  --yf-secondary: #fb923c;
  --yf-header-top: linear-gradient(100deg, #070d1f, #182349 52%, #4a2810);
  --yf-header-nav: rgba(13, 21, 47, 0.96);
  --yf-header-nav-text: #faf6ee;
  --yf-hero-bg: #0b132b;
  --yf-hero-glow: radial-gradient(ellipse at 78% 26%, rgba(245, 158, 11, 0.25), transparent 44%),
                  radial-gradient(ellipse at 14% 85%, rgba(251, 146, 60, 0.16), transparent 42%),
                  linear-gradient(135deg, #080f23 0%, #121e42 58%, #241928 100%);
  --yf-footer-bg: linear-gradient(145deg, #060b19 0%, #101b3b 60%, #2a1810 100%);
  --yf-banner-bg: linear-gradient(110deg, #121e42 0%, #241b35 55%, #3d2110 100%);
  --yf-banner-border: rgba(245, 194, 107, 0.48);
  --yf-banner-text: #fff8eb;
  --yf-input-bg: #0e1733;
  --yf-input-text: #faf6ee;
}

html[data-festival="eid_ul_fitr"],
html[data-festival="eid_ul_adha"],
html[data-festival="islamic_new_year"],
html[data-festival="milad_un_nabi"] {
  --yf-bg: #06211b;
  --yf-surface: #0b2e26;
  --yf-surface-alt: #123c32;
  --yf-border: rgba(212, 175, 55, 0.30);
  --yf-text: #f5faf8;
  --yf-text-muted: #c2dcd4;
  --yf-heading: #ffffff;
  --yf-accent: #d4af37;
  --yf-accent-deep: #b8911e;
  --yf-accent-fg: #06211b;
  --yf-secondary: #34d399;
  --yf-header-top: linear-gradient(100deg, #041612, #0c352c 55%, #164e3f);
  --yf-header-nav: rgba(8, 34, 28, 0.96);
  --yf-header-nav-text: #f5faf8;
  --yf-hero-bg: #06211b;
  --yf-hero-glow: radial-gradient(ellipse at 78% 24%, rgba(212, 175, 55, 0.20), transparent 44%),
                  radial-gradient(ellipse at 18% 82%, rgba(52, 211, 153, 0.14), transparent 42%),
                  linear-gradient(135deg, #051c17 0%, #0a3128 60%, #0e3d32 100%);
  --yf-footer-bg: linear-gradient(145deg, #041511 0%, #092c24 62%, #133c30 100%);
  --yf-banner-bg: linear-gradient(110deg, #092922 0%, #0f3b31 60%, #2b3019 100%);
  --yf-banner-border: rgba(212, 175, 55, 0.48);
  --yf-banner-text: #f7fbf9;
  --yf-input-bg: #082720;
  --yf-input-text: #f5faf8;
}

html[data-festival="christmas"],
html[data-festival="new_years_eve"] {
  --yf-bg: #102119;
  --yf-surface: #172e23;
  --yf-surface-alt: #203d2f;
  --yf-border: rgba(234, 179, 8, 0.28);
  --yf-text: #faf8f5;
  --yf-text-muted: #d0ded6;
  --yf-heading: #ffffff;
  --yf-accent: #dc2626;
  --yf-accent-deep: #b91c1c;
  --yf-accent-fg: #ffffff;
  --yf-secondary: #eab308;
  --yf-header-top: linear-gradient(100deg, #0c1a13, #1a3728 55%, #5c1616);
  --yf-header-nav: rgba(18, 36, 27, 0.96);
  --yf-header-nav-text: #faf8f5;
  --yf-hero-bg: #102119;
  --yf-hero-glow: radial-gradient(ellipse at 78% 24%, rgba(220, 38, 38, 0.18), transparent 44%),
                  radial-gradient(ellipse at 18% 82%, rgba(234, 179, 8, 0.15), transparent 42%),
                  linear-gradient(135deg, #0e1d16 0%, #152d21 60%, #261e1a 100%);
  --yf-footer-bg: linear-gradient(145deg, #0b1610 0%, #152b20 62%, #3a1414 100%);
  --yf-banner-bg: linear-gradient(110deg, #162e22 0%, #27271d 55%, #4d1717 100%);
  --yf-banner-border: rgba(234, 179, 8, 0.44);
  --yf-banner-text: #faf8f5;
  --yf-input-bg: #12261c;
  --yf-input-text: #faf8f5;
}

html[data-festival="new_years_eve"] {
  --yf-bg: #0f172a;
  --yf-surface: #1e293b;
  --yf-surface-alt: #273549;
  --yf-accent: #f59e0b;
  --yf-accent-deep: #d97706;
  --yf-accent-fg: #0f172a;
  --yf-secondary: #38bdf8;
  --yf-header-top: linear-gradient(100deg, #090f1d, #172554 55%, #312e81);
  --yf-header-nav: rgba(15, 23, 42, 0.96);
  --yf-hero-bg: #0f172a;
  --yf-hero-glow: radial-gradient(ellipse at 78% 24%, rgba(56, 189, 248, 0.2), transparent 44%),
                  radial-gradient(ellipse at 18% 82%, rgba(245, 158, 11, 0.15), transparent 42%),
                  linear-gradient(135deg, #0b1222 0%, #172038 60%, #1e1b4b 100%);
  --yf-footer-bg: linear-gradient(145deg, #090f1d 0%, #16203a 62%, #1e1b4b 100%);
  --yf-banner-bg: linear-gradient(110deg, #111c38 0%, #1e293b 60%, #312e81 100%);
  --yf-input-bg: #141e33;
}

html[data-festival="navratri"] {
  --yf-bg: #2a0f1e;
  --yf-surface: #3a1529;
  --yf-surface-alt: #4b1d36;
  --yf-border: rgba(251, 191, 36, 0.30);
  --yf-text: #fff9f2;
  --yf-text-muted: #ebd0dc;
  --yf-heading: #ffffff;
  --yf-accent: #f59e0b;
  --yf-accent-deep: #d97706;
  --yf-accent-fg: #2a0f1e;
  --yf-secondary: #fb7185;
  --yf-header-top: linear-gradient(100deg, #210b17, #4a1732 55%, #6b1d28);
  --yf-header-nav: rgba(45, 15, 32, 0.96);
  --yf-header-nav-text: #fff9f2;
  --yf-hero-bg: #2a0f1e;
  --yf-hero-glow: radial-gradient(ellipse at 78% 24%, rgba(245, 158, 11, 0.22), transparent 44%),
                  radial-gradient(ellipse at 18% 82%, rgba(251, 113, 133, 0.18), transparent 42%),
                  linear-gradient(135deg, #220b18 0%, #381327 60%, #4d192c 100%);
  --yf-footer-bg: linear-gradient(145deg, #1e0a15 0%, #351125 62%, #4a1925 100%);
  --yf-banner-bg: linear-gradient(110deg, #3a1529 0%, #521a33 55%, #5c2a14 100%);
  --yf-banner-border: rgba(251, 191, 36, 0.45);
  --yf-banner-text: #fff9f2;
  --yf-input-bg: #311123;
  --yf-input-text: #fff9f2;
}

html[data-festival="janmashtami"],
html[data-festival="maha_shivratri"],
html[data-festival="muharram"],
html[data-festival="good_friday"],
html[data-festival="lohri"],
html[data-festival="chhath_puja"] {
  --yf-bg: #0f1628;
  --yf-surface: #17213b;
  --yf-surface-alt: #1f2d4f;
  --yf-border: rgba(245, 158, 11, 0.26);
  --yf-text: #f7f9fc;
  --yf-text-muted: #c7d4e5;
  --yf-heading: #ffffff;
  --yf-accent: #f59e0b;
  --yf-accent-deep: #d97706;
  --yf-accent-fg: #0f1628;
  --yf-secondary: #2dd4bf;
  --yf-header-top: linear-gradient(100deg, #0b101e, #182747 55%, #0f4c5c);
  --yf-header-nav: rgba(15, 22, 40, 0.96);
  --yf-header-nav-text: #f7f9fc;
  --yf-hero-bg: #0f1628;
  --yf-hero-glow: radial-gradient(ellipse at 78% 24%, rgba(45, 212, 191, 0.18), transparent 44%),
                  radial-gradient(ellipse at 18% 82%, rgba(245, 158, 11, 0.16), transparent 42%),
                  linear-gradient(135deg, #0b1121 0%, #13213e 60%, #152b44 100%);
  --yf-footer-bg: linear-gradient(145deg, #090e1a 0%, #131e38 62%, #133144 100%);
  --yf-banner-bg: linear-gradient(110deg, #13203d 0%, #192c4e 60%, #1c3a44 100%);
  --yf-banner-border: rgba(45, 212, 191, 0.38);
  --yf-banner-text: #f7f9fc;
  --yf-input-bg: #131b32;
  --yf-input-text: #f7f9fc;
}

html[data-festival="lohri"] {
  --yf-bg: #1f100b;
  --yf-surface: #2d1811;
  --yf-surface-alt: #3b2016;
  --yf-border: rgba(251, 146, 60, 0.32);
  --yf-text: #fff7ed;
  --yf-text-muted: #e5cbba;
  --yf-accent: #f97316;
  --yf-accent-deep: #ea580c;
  --yf-accent-fg: #1f100b;
  --yf-secondary: #fbbf24;
  --yf-header-top: linear-gradient(100deg, #180b07, #381b10 55%, #5c2810);
  --yf-header-nav: rgba(34, 17, 11, 0.96);
  --yf-hero-bg: #1f100b;
  --yf-hero-glow: radial-gradient(ellipse at 78% 24%, rgba(249, 115, 22, 0.24), transparent 44%),
                  linear-gradient(135deg, #190c08 0%, #2c160e 60%, #3d1d10 100%);
  --yf-footer-bg: linear-gradient(145deg, #150906 0%, #2a150e 62%, #421d10 100%);
  --yf-banner-bg: linear-gradient(110deg, #2d1710 0%, #462011 60%, #5c2b12 100%);
  --yf-input-bg: #26140e;
}

html[data-festival="chhath_puja"] {
  --yf-bg: #161124;
  --yf-surface: #211936;
  --yf-surface-alt: #2c2147;
  --yf-border: rgba(251, 146, 60, 0.32);
  --yf-text: #fff8f0;
  --yf-text-muted: #d9cee9;
  --yf-accent: #fb923c;
  --yf-accent-deep: #ea580c;
  --yf-accent-fg: #161124;
  --yf-secondary: #fbbf24;
  --yf-header-top: linear-gradient(100deg, #110c1c, #2b1d45 55%, #5c2912);
  --yf-header-nav: rgba(24, 18, 40, 0.96);
  --yf-hero-bg: #161124;
  --yf-hero-glow: radial-gradient(ellipse at 78% 24%, rgba(251, 146, 60, 0.24), transparent 44%),
                  linear-gradient(135deg, #130e20 0%, #22183a 60%, #3b2028 100%);
  --yf-footer-bg: linear-gradient(145deg, #0f0b19 0%, #1f1734 62%, #3a1d1f 100%);
  --yf-banner-bg: linear-gradient(110deg, #211837 0%, #352142 60%, #562b19 100%);
  --yf-input-bg: #1c152e;
}

/* ---------------- Per-Festival Palettes (Light Festive Themes) ---------------- */
html[data-festival="holi"],
html[data-festival="childrens_day"] {
  --yf-bg: #fffaf7;
  --yf-surface: #ffffff;
  --yf-surface-alt: #fdf2f8;
  --yf-border: #f5cbe0;
  --yf-text: #231130;
  --yf-text-muted: #5a466e;
  --yf-heading: #1c0c29;
  --yf-accent: #be185d;
  --yf-accent-deep: #9d174d;
  --yf-accent-fg: #ffffff;
  --yf-secondary: #0f766e;
  --yf-header-top: linear-gradient(100deg, #831843, #be185d 45%, #0f766e 82%, #d97706);
  --yf-header-nav: rgba(255, 255, 255, 0.97);
  --yf-header-nav-text: #231130;
  --yf-hero-bg: #fff8fc;
  --yf-hero-glow: radial-gradient(ellipse at 82% 24%, rgba(219, 39, 119, 0.14), transparent 44%),
                  radial-gradient(ellipse at 14% 80%, rgba(15, 118, 110, 0.12), transparent 42%),
                  radial-gradient(ellipse at 52% 90%, rgba(245, 158, 11, 0.10), transparent 42%),
                  linear-gradient(130deg, #fffdf9 0%, #fdf2f8 56%, #ecfeff 100%);
  --yf-footer-bg: linear-gradient(145deg, #3b0d2c 0%, #1e1640 58%, #0d3b38 100%);
  --yf-banner-bg: linear-gradient(110deg, #fdf2f8 0%, #fef3c7 52%, #ecfdf5 100%);
  --yf-banner-border: #f472b6;
  --yf-banner-text: #231130;
  --yf-input-bg: #ffffff;
  --yf-input-text: #231130;
  --yf-shadow: 0 14px 34px rgba(131, 24, 67, 0.08);
}

html[data-festival="independence_day"],
html[data-festival="republic_day"],
html[data-festival="gandhi_jayanti"],
html[data-festival="constitution_day"] {
  --yf-bg: #f8fafc;
  --yf-surface: #ffffff;
  --yf-surface-alt: #fff7ed;
  --yf-border: #dbe4ef;
  --yf-text: #0f172a;
  --yf-text-muted: #475569;
  --yf-heading: #0f172a;
  --yf-accent: #c2410c;
  --yf-accent-deep: #9a3412;
  --yf-accent-fg: #ffffff;
  --yf-secondary: #15803d;
  --yf-header-top: linear-gradient(95deg, #c2410c 0%, #1e3a8a 50%, #15803d 100%);
  --yf-header-nav: rgba(255, 255, 255, 0.98);
  --yf-header-nav-text: #0f172a;
  --yf-hero-bg: #f8fafc;
  --yf-hero-glow: radial-gradient(ellipse at 82% 24%, rgba(234, 88, 12, 0.13), transparent 44%),
                  radial-gradient(ellipse at 14% 84%, rgba(21, 128, 61, 0.11), transparent 42%),
                  linear-gradient(130deg, #fffaf4 0%, #ffffff 52%, #f0fdf4 100%);
  --yf-footer-bg: linear-gradient(145deg, #0f172a 0%, #172554 58%, #14532d 100%);
  --yf-banner-bg: linear-gradient(95deg, #fff7ed 0%, #ffffff 50%, #f0fdf4 100%);
  --yf-banner-border: #fb923c;
  --yf-banner-text: #0f172a;
  --yf-input-bg: #ffffff;
  --yf-input-text: #0f172a;
  --yf-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

html[data-festival="republic_day"],
html[data-festival="constitution_day"] {
  --yf-accent: #1d4ed8;
  --yf-accent-deep: #1e40af;
}

html[data-festival="raksha_bandhan"],
html[data-festival="karwa_chauth"],
html[data-festival="bhai_dooj"] {
  --yf-bg: #fff9fb;
  --yf-surface: #ffffff;
  --yf-surface-alt: #fdf2f8;
  --yf-border: #f3c8dc;
  --yf-text: #311023;
  --yf-text-muted: #6c3b55;
  --yf-heading: #2a0a1d;
  --yf-accent: #9d174d;
  --yf-accent-deep: #831843;
  --yf-accent-fg: #ffffff;
  --yf-secondary: #d97706;
  --yf-header-top: linear-gradient(100deg, #500724, #9d174d 55%, #b45309);
  --yf-header-nav: rgba(255, 250, 252, 0.97);
  --yf-header-nav-text: #311023;
  --yf-hero-bg: #fff8fa;
  --yf-hero-glow: radial-gradient(ellipse at 82% 24%, rgba(157, 23, 77, 0.12), transparent 44%),
                  radial-gradient(ellipse at 14% 82%, rgba(217, 119, 6, 0.11), transparent 42%),
                  linear-gradient(130deg, #fffbfa 0%, #fdf2f8 60%, #fffbeb 100%);
  --yf-footer-bg: linear-gradient(145deg, #3b071c 0%, #6b1137 58%, #4d2608 100%);
  --yf-banner-bg: linear-gradient(110deg, #fdf2f8 0%, #fff7ed 55%, #fef3c7 100%);
  --yf-banner-border: #f472b6;
  --yf-banner-text: #311023;
  --yf-input-bg: #ffffff;
  --yf-input-text: #311023;
  --yf-shadow: 0 14px 34px rgba(131, 24, 67, 0.08);
}

html[data-festival="durga_puja"],
html[data-festival="bihu"] {
  --yf-bg: #fffaf6;
  --yf-surface: #ffffff;
  --yf-surface-alt: #fef2f2;
  --yf-border: #fecaca;
  --yf-text: #350b0b;
  --yf-text-muted: #6e3535;
  --yf-heading: #2e0707;
  --yf-accent: #b91c1c;
  --yf-accent-deep: #991b1b;
  --yf-accent-fg: #ffffff;
  --yf-secondary: #b45309;
  --yf-header-top: linear-gradient(100deg, #450a0a, #991b1b 55%, #b45309);
  --yf-header-nav: rgba(255, 252, 250, 0.97);
  --yf-header-nav-text: #350b0b;
  --yf-hero-bg: #fff8f5;
  --yf-hero-glow: radial-gradient(ellipse at 82% 24%, rgba(185, 28, 28, 0.11), transparent 44%),
                  radial-gradient(ellipse at 14% 82%, rgba(217, 119, 6, 0.10), transparent 42%),
                  linear-gradient(130deg, #fffdfb 0%, #fef2f2 60%, #fffbeb 100%);
  --yf-footer-bg: linear-gradient(145deg, #3b0808 0%, #6b1414 58%, #472409 100%);
  --yf-banner-bg: linear-gradient(110deg, #fef2f2 0%, #fff7ed 60%, #fef3c7 100%);
  --yf-banner-border: #f87171;
  --yf-banner-text: #350b0b;
  --yf-input-bg: #ffffff;
  --yf-input-text: #350b0b;
}

html[data-festival="dussehra"],
html[data-festival="ram_navami"],
html[data-festival="ganesh_chaturthi"],
html[data-festival="onam"],
html[data-festival="baisakhi"],
html[data-festival="basant_panchami"],
html[data-festival="guru_purnima"] {
  --yf-bg: #fffcf4;
  --yf-surface: #ffffff;
  --yf-surface-alt: #fef3c7;
  --yf-border: #fde68a;
  --yf-text: #2a1b07;
  --yf-text-muted: #694c24;
  --yf-heading: #221403;
  --yf-accent: #b45309;
  --yf-accent-deep: #92400e;
  --yf-accent-fg: #ffffff;
  --yf-secondary: #0f766e;
  --yf-header-top: linear-gradient(100deg, #451a03, #92400e 52%, #b45309);
  --yf-header-nav: rgba(255, 253, 247, 0.97);
  --yf-header-nav-text: #2a1b07;
  --yf-hero-bg: #fffbef;
  --yf-hero-glow: radial-gradient(ellipse at 82% 24%, rgba(217, 119, 6, 0.15), transparent 44%),
                  radial-gradient(ellipse at 14% 82%, rgba(234, 88, 12, 0.10), transparent 42%),
                  linear-gradient(130deg, #fffdf8 0%, #fef9e7 60%, #fff3d6 100%);
  --yf-footer-bg: linear-gradient(145deg, #2b1404 0%, #4f2607 58%, #123b38 100%);
  --yf-banner-bg: linear-gradient(110deg, #fffbeb 0%, #fef3c7 55%, #ffedd5 100%);
  --yf-banner-border: #f59e0b;
  --yf-banner-text: #2a1b07;
  --yf-input-bg: #ffffff;
  --yf-input-text: #2a1b07;
}

html[data-festival="gurpurab"],
html[data-festival="guru_gobind_singh_jayanti"],
html[data-festival="makar_sankranti"],
html[data-festival="easter"],
html[data-festival="teachers_day"] {
  --yf-bg: #fffdf7;
  --yf-surface: #ffffff;
  --yf-surface-alt: #fef3c7;
  --yf-border: #dbe4ef;
  --yf-text: #152444;
  --yf-text-muted: #465879;
  --yf-heading: #111d38;
  --yf-accent: #1e3a8a;
  --yf-accent-deep: #172554;
  --yf-accent-fg: #ffffff;
  --yf-secondary: #d97706;
  --yf-header-top: linear-gradient(100deg, #0f1e4a, #1e3a8a 55%, #b45309);
  --yf-header-nav: rgba(255, 254, 249, 0.97);
  --yf-header-nav-text: #152444;
  --yf-hero-bg: #fffcf4;
  --yf-hero-glow: radial-gradient(ellipse at 82% 24%, rgba(217, 119, 6, 0.14), transparent 44%),
                  radial-gradient(ellipse at 14% 82%, rgba(30, 58, 138, 0.10), transparent 42%),
                  linear-gradient(130deg, #fffef9 0%, #fef9e7 58%, #eff6ff 100%);
  --yf-footer-bg: linear-gradient(145deg, #0c1738 0%, #172554 62%, #4a2a08 100%);
  --yf-banner-bg: linear-gradient(110deg, #eff6ff 0%, #fffbeb 58%, #fef3c7 100%);
  --yf-banner-border: #f59e0b;
  --yf-banner-text: #152444;
  --yf-input-bg: #ffffff;
  --yf-input-text: #152444;
}

html[data-festival="pongal"],
html[data-festival="ugadi"] {
  --yf-bg: #fffcf5;
  --yf-surface: #ffffff;
  --yf-surface-alt: #ecfdf5;
  --yf-border: #a7f3d0;
  --yf-text: #12291c;
  --yf-text-muted: #3c5c4a;
  --yf-heading: #0e2117;
  --yf-accent: #047857;
  --yf-accent-deep: #065f46;
  --yf-accent-fg: #ffffff;
  --yf-secondary: #d97706;
  --yf-header-top: linear-gradient(100deg, #064e3b, #047857 55%, #b45309);
  --yf-header-nav: rgba(255, 254, 250, 0.97);
  --yf-header-nav-text: #12291c;
  --yf-hero-bg: #fffdf6;
  --yf-hero-glow: radial-gradient(ellipse at 82% 24%, rgba(4, 120, 87, 0.12), transparent 44%),
                  radial-gradient(ellipse at 14% 82%, rgba(217, 119, 6, 0.12), transparent 42%),
                  linear-gradient(130deg, #fffdf8 0%, #ecfdf5 60%, #fffbeb 100%);
  --yf-footer-bg: linear-gradient(145deg, #052e23 0%, #064e3b 62%, #4a2c0a 100%);
  --yf-banner-bg: linear-gradient(110deg, #ecfdf5 0%, #fffbeb 60%, #fef3c7 100%);
  --yf-banner-border: #34d399;
  --yf-banner-text: #12291c;
  --yf-input-bg: #ffffff;
  --yf-input-text: #12291c;
}

/* ============================================================================
   GLOBAL SURFACE OVERRIDES WHEN A FESTIVAL IS ACTIVE
   Higher specificity than site-palette.css so both dark & light festivals apply
   cleanly across the entire existing Yuitor website.
   ============================================================================ */
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]),
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) body,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root {
  background: var(--yf-bg) !important;
  color: var(--yf-text) !important;
}

html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root :is(h1, h2, h3, h4, h5, h6) {
  color: var(--yf-heading) !important;
}

html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root ::selection {
  background: var(--yf-accent) !important;
  color: var(--yf-accent-fg) !important;
}

/* Top notice & header */
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yu-shared-notice {
  background: var(--yf-header-top) !important;
  border-color: var(--yf-border) !important;
  color: #ffffff !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yu-shared-notice :is(svg, button) {
  color: var(--yf-secondary) !important;
}

html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yu-shared-header > div:first-child {
  background: var(--yf-header-top) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yu-shared-header > div:first-child .container :is(a, span, p, [class*="text-"]) {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yu-shared-header > div:first-child svg {
  color: #fde68a !important;
}

html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yu-shared-header > div:nth-child(2) {
  position: relative !important;
  z-index: 60 !important;
  background: var(--yf-header-nav) !important;
  border-color: var(--yf-border) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14) !important;
  backdrop-filter: blur(10px);
}

html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yu-shared-header [data-testid="link-logo"] > div:first-child {
  border-color: var(--yf-border) !important;
  background: #ffffff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yu-shared-header [data-testid="link-logo"] span:first-of-type,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yu-shared-header [data-testid="link-logo"] p:first-of-type {
  color: var(--yf-header-nav-text) !important;
  -webkit-text-fill-color: var(--yf-header-nav-text) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yu-shared-header [data-testid="link-logo"] span:last-of-type,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yu-shared-header [data-testid="link-logo"] p:last-of-type {
  color: var(--yf-text-muted) !important;
  -webkit-text-fill-color: var(--yf-text-muted) !important;
}

html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yu-shared-header nav > a,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yu-shared-header nav > a *,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yu-shared-header nav > div > button,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yu-shared-header nav > div > button *,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yu-shared-header > div:nth-child(2) nav a[class*="text-"],
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yu-shared-header > div:nth-child(2) a:not([data-testid="link-logo"]):not([data-testid="link-enquire"]):not([data-testid="link-call-now"]):not(.yu-injected-fee-link) {
  color: var(--yf-header-nav-text) !important;
  -webkit-text-fill-color: var(--yf-header-nav-text) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yu-shared-header nav > a:hover,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yu-shared-header nav > div > button:hover {
  color: var(--yf-accent) !important;
  -webkit-text-fill-color: var(--yf-accent) !important;
}

html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yu-shared-header [data-testid="link-enquire"] {
  background: linear-gradient(135deg, var(--yf-accent), var(--yf-accent-deep)) !important;
  border-color: var(--yf-accent) !important;
  color: var(--yf-accent-fg) !important;
  -webkit-text-fill-color: var(--yf-accent-fg) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yu-shared-header [data-testid="link-call-now"] {
  background: var(--yf-surface-alt) !important;
  border-color: var(--yf-border) !important;
  color: var(--yf-heading) !important;
  -webkit-text-fill-color: var(--yf-heading) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yu-shared-header .yu-injected-fee-link {
  background: var(--yf-surface-alt) !important;
  border-color: var(--yf-border) !important;
  color: var(--yf-accent) !important;
  -webkit-text-fill-color: var(--yf-accent) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yu-shared-header .yu-injected-fee-link:hover {
  background: var(--yf-accent) !important;
  color: var(--yf-accent-fg) !important;
  -webkit-text-fill-color: var(--yf-accent-fg) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yu-shared-header [data-testid="button-hamburger"] {
  border-color: var(--yf-border) !important;
  color: var(--yf-header-nav-text) !important;
}

/* Header dropdown menus on dark themes */
html[data-festival-dark="true"] #root .yu-shared-header nav div[class*="bg-white"],
html[data-festival-dark="true"] #root .yu-shared-header div[class*="bg-card"] {
  background: var(--yf-surface) !important;
  border-color: var(--yf-border) !important;
  color: var(--yf-text) !important;
}
html[data-festival-dark="true"] #root .yu-shared-header nav div[class*="bg-white"] a {
  color: var(--yf-text) !important;
}
html[data-festival-dark="true"] #root .yu-shared-header nav div[class*="bg-white"] a:hover {
  background: var(--yf-surface-alt) !important;
  color: var(--yf-accent) !important;
}

/* Mobile menu drawer clearance & theme consistency */
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yu-mobile-menu {
  padding-top: var(--yu-header-bottom, 132px) !important;
  background: var(--yf-bg) !important;
  color: var(--yf-text) !important;
}
html[data-festival-dark="true"] #root .yu-mobile-menu a {
  color: var(--yf-text) !important;
}
html[data-festival-dark="true"] #root .yu-mobile-menu [class*="bg-muted"] {
  background: var(--yf-surface-alt) !important;
  color: var(--yf-heading) !important;
}

/* Header decorative trim strip + live IST timer */
.yu-festival-header-trim {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 30px;
  padding: 4px 24px;
  background: var(--yf-header-top);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid var(--yf-border);
  color: #fff8eb;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  overflow: hidden;
}
.yu-festival-trim-left,
.yu-festival-trim-right {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.yu-festival-trim-right {
  flex-shrink: 0;
}
.yu-festival-trim-garland {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.yu-festival-trim-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.yu-festival-trim-text strong {
  color: #fde68a;
  font-weight: 800;
}
.yu-festival-trim-code {
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px dashed rgba(253, 230, 138, 0.55);
  background: rgba(255, 255, 255, 0.10);
  color: #fffbeb;
  font-size: 11px;
  white-space: nowrap;
}
.yu-head-timer {
  padding: 2px 9px;
  border-radius: 99px;
  background: rgba(245, 158, 11, 0.22);
  border: 1px solid rgba(253, 230, 138, 0.45);
  color: #fef3c7;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.yu-head-clock {
  color: #e2e8f0;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.yu-festival-trim-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yf-accent);
  box-shadow: 0 0 8px var(--yf-accent);
  flex-shrink: 0;
}

/* Automatic Hero-Style Festival Offer & Greeting Showcase (all pages below header) */
.yu-festival-banner-wrap {
  width: min(1220px, calc(100% - 32px));
  margin: 14px auto 0;
  position: relative;
  z-index: 12;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root main.yu-monochrome-main > .yu-festival-banner-wrap {
  margin-top: calc(var(--yu-header-height, 136px) + 14px) !important;
  margin-bottom: 18px !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root main.yu-monochrome-main:has(#yu-festival-banner):not(:has(.yn-hero)) > section:first-of-type {
  padding-top: 24px !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root main.portal-main {
  padding-top: max(130px, calc(var(--yu-header-height, 136px) + 18px)) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root main.portal-main > .yu-festival-banner-wrap {
  margin-top: 0 !important;
  margin-bottom: 18px !important;
}

.yu-festival-hero-card {
  position: relative;
  padding: 28px 32px;
  border: 1px solid var(--yf-banner-border);
  border-radius: 22px;
  background: var(--yf-banner-bg);
  color: var(--yf-banner-text);
  box-shadow: var(--yf-shadow);
  overflow: hidden;
}
.yu-festival-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--yf-hero-glow);
  opacity: 0.72;
  pointer-events: none;
}
.yu-fhero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
  align-items: center;
  gap: 28px;
}
.yu-fhero-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  padding: 7px 13px;
  border: 1px solid var(--yf-border);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.10);
  color: var(--yf-banner-text);
  font-size: 12px;
  font-weight: 700;
}
html[data-festival-dark="false"] .yu-fhero-pill {
  background: rgba(255, 255, 255, 0.88);
}
.yu-fhero-mark {
  color: var(--yf-accent);
  font-size: 15px;
  line-height: 1;
}
html[data-festival-dark="true"] .yu-fhero-mark {
  color: #fbbf24;
}
.yu-fhero-title {
  margin: 0 0 12px;
  font-family: Inter, "Manrope", "DM Sans", sans-serif;
  font-size: clamp(24px, 3.1vw, 38px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--yf-heading) !important;
}
.yu-fhero-title em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-style: italic;
  color: var(--yf-accent) !important;
}
html[data-festival-dark="true"] .yu-fhero-title em {
  color: #fbbf24 !important;
}
html[data-festival="eid_ul_fitr"] .yu-fhero-title em,
html[data-festival="eid_ul_adha"] .yu-fhero-title em {
  color: #34d399 !important;
}
html[data-festival="christmas"] .yu-fhero-title em {
  color: #fde047 !important;
}
.yu-fhero-lede {
  margin: 0 0 18px;
  max-width: 660px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--yf-text-muted);
}
.yu-fhero-lede strong {
  color: var(--yf-heading);
  font-weight: 800;
}

.yu-fhero-offer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
}
.yu-promo-ticket {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px dashed var(--yf-accent);
  background: rgba(255, 255, 255, 0.08);
}
html[data-festival-dark="false"] .yu-promo-ticket {
  background: rgba(255, 255, 255, 0.92);
}
.yu-promo-label {
  display: block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yf-text-muted);
}
.yu-promo-code {
  display: block;
  font-family: "Manrope", monospace, sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--yf-heading);
}
.yu-promo-copy-btn {
  padding: 7px 11px;
  border-radius: 8px;
  border: 1px solid var(--yf-border);
  background: var(--yf-surface-alt);
  color: var(--yf-heading);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.16s ease;
}
.yu-promo-copy-btn:hover,
.yu-promo-copy-btn.is-copied {
  background: var(--yf-accent);
  border-color: var(--yf-accent);
  color: var(--yf-accent-fg);
}

.yu-fhero-timer-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid var(--yf-border);
  background: rgba(255, 255, 255, 0.07);
}
html[data-festival-dark="false"] .yu-fhero-timer-box {
  background: rgba(255, 255, 255, 0.84);
}
.yu-fhero-timer-val {
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--yf-heading);
  white-space: nowrap;
}

.yu-fhero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  min-height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--yf-accent), var(--yf-accent-deep));
  color: var(--yf-accent-fg) !important;
  -webkit-text-fill-color: var(--yf-accent-fg) !important;
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.16s ease;
}
.yu-fhero-cta:hover {
  transform: translateY(-2px);
}
.yu-fhero-popup-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--yf-border);
  background: rgba(255, 255, 255, 0.08);
  color: var(--yf-heading);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}
html[data-festival-dark="false"] .yu-fhero-popup-btn {
  background: rgba(255, 255, 255, 0.85);
}

.yu-fhero-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 20px 18px;
  border-radius: 18px;
  border: 1px solid var(--yf-border);
  background: rgba(255, 255, 255, 0.07);
}
html[data-festival-dark="false"] .yu-fhero-aside {
  background: rgba(255, 255, 255, 0.82);
}
.yu-festival-emblem-lg {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid var(--yf-border);
}
.yu-fhero-discount-badge strong {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.05;
  color: var(--yf-accent);
}
html[data-festival-dark="true"] .yu-fhero-discount-badge strong {
  color: #fbbf24;
}
.yu-fhero-discount-badge span {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yf-heading);
}
.yu-fhero-aside-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--yf-text-muted);
}

.yu-festival-banner-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 32px;
  height: 32px;
  border-radius: 99px;
  border: 1px solid var(--yf-border);
  background: rgba(0, 0, 0, 0.12);
  color: inherit;
  font-size: 18px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.16s ease;
}
html[data-festival-dark="false"] .yu-festival-banner-close {
  background: rgba(255, 255, 255, 0.72);
}
.yu-festival-banner-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* Festival Discount Popup Modal */
.yu-festival-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(6, 10, 24, 0.65);
  backdrop-filter: blur(5px);
}
.yu-festival-popup-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 26px 24px 24px;
  border-radius: 22px;
  border: 1px solid var(--yf-banner-border, rgba(245, 158, 11, 0.45));
  background: var(--yf-surface, #131e3e);
  color: var(--yf-text, #faf6ee);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}
.yu-festival-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 99px;
  border: 1px solid var(--yf-border, rgba(255, 255, 255, 0.22));
  background: var(--yf-surface-alt, #1b284f);
  color: var(--yf-heading, #fff);
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.yu-festival-popup-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-right: 36px;
}
.yu-festival-popup-emblem {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--yf-surface-alt, #1b284f);
  border: 1px solid var(--yf-border, rgba(255, 255, 255, 0.2));
  flex-shrink: 0;
}
.yu-festival-popup-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 99px;
  border: 1px solid var(--yf-border, rgba(245, 158, 11, 0.35));
  background: var(--yf-surface-alt, #1b284f);
  color: var(--yf-heading, #fff);
  font-size: 11.5px;
  font-weight: 800;
}
.yu-festival-popup-title {
  margin: 0 0 8px;
  font-family: "Manrope", sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--yf-heading, #fff);
}
.yu-festival-popup-offer {
  margin: 0 0 6px;
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--yf-heading, #fff);
}
.yu-festival-popup-offer strong {
  color: var(--yf-accent, #f59e0b);
}
html[data-festival-dark="true"] .yu-festival-popup-offer strong {
  color: #fbbf24;
}
.yu-festival-popup-sub {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--yf-text-muted, #cbd5e1);
}
.yu-festival-popup-promo-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 13px;
  border: 1px dashed var(--yf-accent, #f59e0b);
  background: var(--yf-surface-alt, #1b284f);
  margin-bottom: 12px;
}
.yu-festival-popup-timer {
  margin: 0 0 16px;
  font-size: 12.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--yf-accent, #f59e0b);
}
html[data-festival-dark="true"] .yu-festival-popup-timer {
  color: #fde68a;
}
.yu-festival-popup-actions .yu-fhero-cta {
  width: 100%;
}

/* Adjust homepage hero top padding when header + banner sit above it */
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root main:has(#yu-festival-banner) .yn-hero {
  padding-top: 26px !important;
  padding-bottom: 54px !important;
  min-height: auto !important;
  background: var(--yf-hero-bg) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root main:not(:has(#yu-festival-banner)) .yn-hero {
  padding-top: calc(var(--yu-header-height, 130px) + 28px) !important;
  background: var(--yf-hero-bg) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-home {
  background: var(--yf-bg) !important;
  color: var(--yf-text) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-hero-glow {
  background: var(--yf-hero-glow) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-hero-glow::after {
  border-color: var(--yf-border) !important;
  box-shadow: 0 0 0 42px rgba(245, 158, 11, 0.05), 0 0 0 94px rgba(245, 158, 11, 0.03) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-home h1 em,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-home h2 em {
  color: var(--yf-accent) !important;
}
html[data-festival="christmas"] #root .yn-home h1 em,
html[data-festival="christmas"] #root .yn-home h2 em {
  color: #fde047 !important;
}
html[data-festival="eid_ul_fitr"] #root .yn-home h1 em,
html[data-festival="eid_ul_fitr"] #root .yn-home h2 em,
html[data-festival="eid_ul_adha"] #root .yn-home h1 em,
html[data-festival="eid_ul_adha"] #root .yn-home h2 em {
  color: #34d399 !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-location-pill {
  background: var(--yf-surface-alt) !important;
  border-color: var(--yf-border) !important;
  color: var(--yf-text) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-hero-lede,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-section-heading > p,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-heading-split > p,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-hero-note,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-hero-bottom,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-image-caption,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-disclaimer,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-compare-note,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-price-detail,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-price-value span,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-why-intro > p,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-reason-card p,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-faq-intro > p,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-faq-answer p,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-teacher-disclaimer,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-experience {
  color: var(--yf-text-muted) !important;
}

html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-button-primary {
  background: linear-gradient(135deg, var(--yf-accent), var(--yf-accent-deep)) !important;
  color: var(--yf-accent-fg) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-button-outline {
  background: var(--yf-surface-alt) !important;
  border-color: var(--yf-border) !important;
  color: var(--yf-heading) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-hero-card {
  background: var(--yf-surface) !important;
  border-color: var(--yf-border) !important;
  color: var(--yf-text) !important;
  box-shadow: var(--yf-shadow) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-hero-card div span {
  color: var(--yf-text-muted) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-photo-stamp {
  background: var(--yf-accent) !important;
  color: var(--yf-accent-fg) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-card-icon {
  background: var(--yf-surface-alt) !important;
  color: var(--yf-accent) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-eyebrow,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-eyebrow-number,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-price-arrow,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-price-link,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-text-link,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-reason-number,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-teacher-role,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-hero-bottom a {
  color: var(--yf-accent) !important;
}
html[data-festival="diwali"] #root :is(.yn-eyebrow, .yn-price-arrow, .yn-price-link, .yn-text-link, .yn-reason-number, .yn-teacher-role, .yn-hero-bottom a),
html[data-festival="govardhan_puja"] #root :is(.yn-eyebrow, .yn-price-arrow, .yn-price-link, .yn-text-link, .yn-reason-number, .yn-teacher-role, .yn-hero-bottom a) {
  color: #fbbf24 !important;
}
html[data-festival="eid_ul_fitr"] #root :is(.yn-eyebrow, .yn-price-arrow, .yn-price-link, .yn-text-link, .yn-reason-number, .yn-teacher-role, .yn-hero-bottom a),
html[data-festival="eid_ul_adha"] #root :is(.yn-eyebrow, .yn-price-arrow, .yn-price-link, .yn-text-link, .yn-reason-number, .yn-teacher-role, .yn-hero-bottom a) {
  color: #34d399 !important;
}
html[data-festival="christmas"] #root :is(.yn-eyebrow, .yn-price-arrow, .yn-price-link, .yn-text-link, .yn-reason-number, .yn-teacher-role, .yn-hero-bottom a) {
  color: #fde047 !important;
}

/* Homepage alternating sections: Pricing, Comparison, Teachers, Why, FAQ, CTA */
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-pricing,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-teachers,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-faq {
  background: var(--yf-bg) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-comparison,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-why {
  background: var(--yf-surface-alt) !important;
}

html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-price-card,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-table-wrap,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-teacher-card {
  background: var(--yf-surface) !important;
  border-color: var(--yf-border) !important;
  color: var(--yf-text) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-price-value strong {
  color: var(--yf-heading) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-price-link,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-reason-grid,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-reason-card,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-faq-list,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-faq-item {
  border-color: var(--yf-border) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-compare-table thead {
  background: var(--yf-surface-alt) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-compare-table tbody tr,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-compare-table tbody tr:nth-child(odd) {
  background: var(--yf-surface) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-compare-table tbody tr:nth-child(even) {
  background: var(--yf-surface-alt) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-compare-table thead th,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-compare-table tbody th {
  color: var(--yf-heading) !important;
  background: transparent !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-compare-table td,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-compare-table tbody th {
  border-color: var(--yf-border) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-compare-table td {
  color: var(--yf-text-muted) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-compare-table .yn-table-highlight {
  background: rgba(245, 158, 11, 0.12) !important;
  color: var(--yf-heading) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-check {
  background: var(--yf-accent) !important;
  color: var(--yf-accent-fg) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-teacher-photo {
  background: var(--yf-surface-alt) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-teacher-monogram {
  background: var(--yf-surface) !important;
  border-color: var(--yf-border) !important;
  color: var(--yf-heading) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-faculty-caption {
  color: var(--yf-text-muted) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-faq-item button {
  color: var(--yf-heading) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-faq-toggle {
  background: var(--yf-surface-alt) !important;
  color: var(--yf-accent) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-faq-item.is-open .yn-faq-toggle {
  background: var(--yf-accent) !important;
  color: var(--yf-accent-fg) !important;
}

/* Reviews & CTA dark statement bands */
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-reviews,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-cta {
  background: var(--yf-footer-bg) !important;
  color: #ffffff !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-reviews :is(h2, strong),
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-cta :is(h2, strong, .yn-cta-phone) {
  color: #ffffff !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-cta .yn-button-accent,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yn-reviews .yn-button-light {
  background: linear-gradient(135deg, var(--yf-accent), var(--yf-secondary)) !important;
  color: var(--yf-accent-fg) !important;
}

/* Inner pages (About, Contact, Fee Calculator, Courses, Classes, Boards, Exams, Blog) */
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root main.yu-monochrome-main:not(:has(.yu-home)) {
  background: var(--yf-bg) !important;
  color: var(--yf-text) !important;
}
html[data-festival-dark="true"] #root main.yu-monochrome-main:not(:has(.yu-home)) :is(div, section, article, aside)[class*="bg-white"],
html[data-festival-dark="true"] #root main.yu-monochrome-main:not(:has(.yu-home)) :is(div, section, article, aside)[class*="bg-card"],
html[data-festival-dark="true"] #root main.yu-monochrome-main:not(:has(.yu-home)) :is(div, section, article, aside)[class*="bg-muted"],
html[data-festival-dark="true"] #root main.yu-monochrome-main:not(:has(.yu-home)) .yu-fee-policy-note {
  background: var(--yf-surface) !important;
  border-color: var(--yf-border) !important;
  color: var(--yf-text) !important;
}
html[data-festival-dark="true"] #root main.yu-monochrome-main:not(:has(.yu-home)) :is(p, span, li, label, td, div):not(.yn-button):not(button *) {
  color: var(--yf-text-muted);
}
html[data-festival-dark="true"] #root main.yu-monochrome-main:not(:has(.yu-home)) :is(strong, b, th) {
  color: var(--yf-heading);
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root main:not(.yu-home) :is(input, select, textarea) {
  background: var(--yf-input-bg) !important;
  border-color: var(--yf-border) !important;
  color: var(--yf-input-text) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root main:not(.yu-home) thead {
  background: var(--yf-surface-alt) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root main:not(.yu-home) thead th {
  color: var(--yf-heading) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root main:not(.yu-home) button[class*="bg-primary"],
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root main:not(.yu-home) a[class*="bg-primary"] {
  background: linear-gradient(135deg, var(--yf-accent), var(--yf-accent-deep)) !important;
  color: var(--yf-accent-fg) !important;
}

/* Student & Admin Portals */
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root main.portal-main {
  background: var(--yf-bg) !important;
  color: var(--yf-text) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .portal-card,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .portal-stat,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .portal-detail,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .portal-install-checks,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .portal-email-recipient-list,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .portal-email-recipient,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yu-contact-portal-links {
  background: var(--yf-surface) !important;
  border-color: var(--yf-border) !important;
  color: var(--yf-text) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .portal-stat strong,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .portal-detail strong,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .portal-cell-title,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .portal-field label,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .portal-field-label {
  color: var(--yf-heading) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .portal-subtitle,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .portal-hint,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .portal-muted,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .portal-stat span,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .portal-detail span,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .portal-cell-sub,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .portal-cell-message {
  color: var(--yf-text-muted) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .portal-kicker,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .portal-inline-links a,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .portal-text-link,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .yu-contact-portal-links a {
  color: var(--yf-accent) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .portal-kicker::before {
  background: var(--yf-accent) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .portal-button:not(.portal-button--quiet) {
  background: linear-gradient(135deg, var(--yf-accent), var(--yf-accent-deep)) !important;
  border-color: var(--yf-accent) !important;
  color: var(--yf-accent-fg) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .portal-button--quiet {
  background: var(--yf-surface-alt) !important;
  border-color: var(--yf-border) !important;
  color: var(--yf-heading) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .portal-tab[aria-selected="true"] {
  border-bottom-color: var(--yf-accent) !important;
  color: var(--yf-accent) !important;
}
html[data-festival-dark="true"] #root .portal-tab {
  color: var(--yf-text-muted) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .portal-table th {
  background: var(--yf-surface-alt) !important;
  color: var(--yf-heading) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .portal-table th,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root .portal-table td {
  border-color: var(--yf-border) !important;
}
html[data-festival-dark="true"] #root .portal-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.03) !important;
}
html[data-festival-dark="true"] #root .portal-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.06) !important;
}
html[data-festival-dark="true"] #root .portal-alert {
  background: rgba(245, 158, 11, 0.12) !important;
  border-color: rgba(245, 158, 11, 0.35) !important;
  color: #fde68a !important;
}
html[data-festival-dark="true"] #root .portal-alert strong {
  color: #fffbeb !important;
}

/* Shared Footer Transformation */
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root footer.yu-shared-footer {
  background: var(--yf-footer-bg) !important;
  border-top: 1px solid var(--yf-border) !important;
  color: #f4f7fb !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root footer.yu-shared-footer > div:first-child {
  background: rgba(0, 0, 0, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root footer.yu-shared-footer :is(h1, h2, h3, h4, a.group p:first-of-type) {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root footer.yu-shared-footer :is(p, a, span, li, [class*="text-"]):not(a[href^="https://wa.me"] *) {
  color: #e6eef5 !important;
  -webkit-text-fill-color: #e6eef5 !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root footer.yu-shared-footer a.group p:last-of-type,
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root footer.yu-shared-footer a:hover {
  color: var(--yf-secondary) !important;
  -webkit-text-fill-color: var(--yf-secondary) !important;
}
html[data-festival]:not([data-festival="none"]):not([data-festival="academic_default"]) #root footer.yu-shared-footer svg {
  color: #fbbf24 !important;
}
.yu-festival-footer-wish {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #fde68a;
  font-weight: 600;
}

/* ============================================================================
   LIGHTWEIGHT ANIMATED FESTIVE ORNAMENTS & MOTIFS (CSS-only, GPU-light)
   ============================================================================ */
.yu-festival-hero-ornaments {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* Diwali glowing Diyas & subtle golden sparkles */
.yu-diya-row {
  position: absolute;
  top: 16px;
  right: max(4vw, calc((100vw - 1280px) / 2));
  display: flex;
  align-items: flex-end;
  gap: 14px;
  z-index: 4;
}
.yu-diya-svg {
  width: 46px;
  height: 46px;
  filter: drop-shadow(0 0 14px rgba(245, 158, 11, 0.65));
}
.yu-diya-flame {
  transform-origin: 50% 80%;
  animation: yu-diya-flicker 2.4s ease-in-out infinite;
}
.yu-diya-svg:nth-child(2) .yu-diya-flame {
  animation-delay: 0.8s;
}
.yu-diya-svg:nth-child(3) .yu-diya-flame {
  animation-delay: 1.5s;
}
@keyframes yu-diya-flicker {
  0%, 100% { transform: scaleY(1) scaleX(1) rotate(-1deg); opacity: 0.96; }
  35% { transform: scaleY(1.07) scaleX(0.95) rotate(1.5deg); opacity: 1; }
  70% { transform: scaleY(0.96) scaleX(1.04) rotate(-1.5deg); opacity: 0.92; }
}

.yu-sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff8dc 0%, #f59e0b 60%, transparent 100%);
  animation: yu-sparkle-twinkle 3.8s ease-in-out infinite;
  opacity: 0;
}
@keyframes yu-sparkle-twinkle {
  0%, 100% { opacity: 0.12; transform: scale(0.75); }
  50% { opacity: 0.85; transform: scale(1.25); }
}

/* Eid floating lanterns & crescent shimmer */
.yu-eid-lanterns {
  position: absolute;
  top: 6px;
  right: max(6vw, calc((100vw - 1320px) / 2));
  display: flex;
  gap: 18px;
}
.yu-lantern-sway {
  transform-origin: 50% 0%;
  animation: yu-lantern-swing 4.5s ease-in-out infinite;
}
.yu-lantern-sway:nth-child(2) {
  animation-delay: 1.2s;
}
@keyframes yu-lantern-swing {
  0%, 100% { transform: rotate(-2.5deg); }
  50% { transform: rotate(2.5deg); }
}

/* Christmas gentle falling snow dots */
.yu-snow-dot {
  position: absolute;
  top: -10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  animation: yu-snow-fall 9s linear infinite;
}
@keyframes yu-snow-fall {
  0% { transform: translateY(-10px) translateX(0); opacity: 0; }
  12% { opacity: 0.8; }
  88% { opacity: 0.75; }
  100% { transform: translateY(520px) translateX(24px); opacity: 0; }
}

/* Holi vibrant gulal accents */
.yu-holi-splash {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.24;
  animation: yu-holi-pulse 6s ease-in-out infinite;
}
@keyframes yu-holi-pulse {
  0%, 100% { transform: scale(1); opacity: 0.22; }
  50% { transform: scale(1.08); opacity: 0.32; }
}

/* ============================================================================
   ADMIN PORTAL — FESTIVAL MANAGEMENT UI STYLES
   ============================================================================ */
.yf-admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.yf-admin-panel {
  border: 1px solid var(--brand-line, #dbe6ef);
  border-radius: 16px;
  padding: 18px;
  background: var(--yf-surface, #ffffff);
}
.yf-admin-panel h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
}
.yf-mode-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.yf-chip-btn {
  border: 1px solid var(--brand-line, #dbe6ef);
  background: var(--yf-surface-alt, #f1f5f9);
  color: inherit;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.yf-chip-btn.is-active {
  background: var(--yf-accent, #2563eb);
  border-color: var(--yf-accent, #2563eb);
  color: var(--yf-accent-fg, #ffffff);
}
.yf-swatch-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  vertical-align: middle;
}
.yf-swatch-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(128, 128, 128, 0.35);
  display: inline-block;
}
.yf-upcoming-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 18px;
}
.yf-upcoming-item {
  border: 1px solid var(--brand-line, #dbe6ef);
  border-radius: 12px;
  padding: 12px;
  background: var(--yf-surface-alt, #f8fafc);
}
.yf-editor-box {
  margin: 14px 0;
  padding: 18px;
  border: 1px solid var(--yf-accent, #2563eb);
  border-radius: 14px;
  background: var(--yf-surface-alt, #f8fafc);
}

@media (max-width: 900px) {
  .yf-admin-grid,
  .yf-upcoming-strip,
  .yu-fhero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .yu-festival-header-trim {
    padding: 4px 12px;
    font-size: 10.5px;
    flex-wrap: wrap;
    gap: 6px;
  }
  .yu-festival-trim-garland,
  .yu-head-clock {
    display: none;
  }
  .yu-festival-hero-card {
    padding: 20px 18px;
  }
  .yu-fhero-offer-bar > * {
    flex: 1 1 auto;
  }
  .yu-diya-row {
    bottom: 8px;
    right: 16px;
    gap: 10px;
  }
  .yu-diya-svg {
    width: 34px;
    height: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .yu-diya-flame,
  .yu-sparkle,
  .yu-lantern-sway,
  .yu-snow-dot,
  .yu-holi-splash {
    animation: none !important;
  }
}
