/* world.css: the colourful background for PHONES + touch screens, where the heavy liquid-glass.css is skipped.
   One fixed layer, no blur, no animation. Desktop gets the same layer from liquid-glass.css. */
html:not(#pwa):not(#pwb):not(#pwc):not(#pwd):not(#pwe):not(#pwf):not(#pwg) { background: #05070c; }
html.light-theme:not(#pwa):not(#pwb):not(#pwc):not(#pwd):not(#pwe):not(#pwf):not(#pwg) { background: #eef1ff; }
html body:not(#pwa):not(#pwb):not(#pwc):not(#pwd):not(#pwe):not(#pwf):not(#pwg) { background-image: none !important; background-color: transparent !important; }
html::before {
    content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    transform: translateZ(0); contain: strict;
    background:
        radial-gradient(60vmax 60vmax at 8% 6%,   rgba(99, 102, 241, .80), transparent 62%),
        radial-gradient(55vmax 55vmax at 95% 18%, rgba(236, 72, 153, .58), transparent 62%),
        radial-gradient(60vmax 60vmax at 80% 96%, rgba(34, 211, 238, .58), transparent 62%),
        radial-gradient(50vmax 50vmax at 10% 90%, rgba(168, 85, 247, .64), transparent 62%),
        radial-gradient(34vmax 34vmax at 50% 50%, rgba(56, 189, 248, .20), transparent 70%);
}
html.light-theme::before {
    background:
        radial-gradient(60vmax 60vmax at 8% 6%,   rgba(129, 140, 248, .88), transparent 62%),
        radial-gradient(55vmax 55vmax at 95% 18%, rgba(244, 114, 182, .62), transparent 62%),
        radial-gradient(60vmax 60vmax at 80% 96%, rgba(34, 211, 238, .62), transparent 62%),
        radial-gradient(50vmax 50vmax at 10% 90%, rgba(251, 146, 60, .52), transparent 62%),
        radial-gradient(34vmax 34vmax at 50% 50%, rgba(167, 139, 250, .28), transparent 70%);
}

/* ---- light-theme TEXT colours (the colour-only part of the old liquid-glass.css, so phones keep every readable label) ---- */
html.light-theme body :is(#view-dashboard, #tutoring-center-section, .glass-card, .glass-panel, .dash-cell) svg:not(.lucide-x):not(#lga):not(#lgb):not(#lgc):not(#lgd):not(#lge):not(#lgf):not(#lgg) { color: #4f46e5; stroke: currentColor !important; }
html.light-theme body :is([class*="text-indigo-"], [class*="bg-indigo-950"], [class*="bg-indigo-500/"]) > svg:not(#lga):not(#lgb):not(#lgc):not(#lgd):not(#lge):not(#lgf):not(#lgg),
html.light-theme body svg[class*="text-indigo-"]:not(#lga):not(#lgb):not(#lgc):not(#lgd):not(#lge):not(#lgf):not(#lgg) { color: #4f46e5 !important; }
html.light-theme body :is([class*="text-cyan-"], [class*="bg-cyan-"]) > svg:not(#lga):not(#lgb):not(#lgc):not(#lgd):not(#lge):not(#lgf):not(#lgg), html.light-theme body svg[class*="text-cyan-"]:not(#lga):not(#lgb):not(#lgc):not(#lgd):not(#lge):not(#lgf):not(#lgg), html.light-theme body svg[class*="text-sky-"]:not(#lga):not(#lgb):not(#lgc):not(#lgd):not(#lge):not(#lgf):not(#lgg) { color: #0891b2 !important; }
html.light-theme body :is([class*="text-purple-"], [class*="text-violet-"], [class*="bg-purple-"]) > svg:not(#lga):not(#lgb):not(#lgc):not(#lgd):not(#lge):not(#lgf):not(#lgg), html.light-theme body svg[class*="text-purple-"]:not(#lga):not(#lgb):not(#lgc):not(#lgd):not(#lge):not(#lgf):not(#lgg), html.light-theme body svg[class*="text-violet-"]:not(#lga):not(#lgb):not(#lgc):not(#lgd):not(#lge):not(#lgf):not(#lgg) { color: #7c3aed !important; }
html.light-theme body :is([class*="text-amber-"], [class*="text-yellow-"], [class*="bg-amber-"]) > svg:not(#lga):not(#lgb):not(#lgc):not(#lgd):not(#lge):not(#lgf):not(#lgg), html.light-theme body svg[class*="text-amber-"]:not(#lga):not(#lgb):not(#lgc):not(#lgd):not(#lge):not(#lgf):not(#lgg), html.light-theme body svg[class*="text-yellow-"]:not(#lga):not(#lgb):not(#lgc):not(#lgd):not(#lge):not(#lgf):not(#lgg) { color: #d97706 !important; }
html.light-theme body :is([class*="text-emerald-"], [class*="text-teal-"], [class*="bg-emerald-"]) > svg:not(#lga):not(#lgb):not(#lgc):not(#lgd):not(#lge):not(#lgf):not(#lgg), html.light-theme body svg[class*="text-emerald-"]:not(#lga):not(#lgb):not(#lgc):not(#lgd):not(#lge):not(#lgf):not(#lgg), html.light-theme body svg[class*="text-teal-"]:not(#lga):not(#lgb):not(#lgc):not(#lgd):not(#lge):not(#lgf):not(#lgg) { color: #059669 !important; }
html.light-theme body :is([class*="text-red-"], [class*="text-rose-"], [class*="bg-red-"]) > svg:not(#lga):not(#lgb):not(#lgc):not(#lgd):not(#lge):not(#lgf):not(#lgg), html.light-theme body svg[class*="text-red-"]:not(#lga):not(#lgb):not(#lgc):not(#lgd):not(#lge):not(#lgf):not(#lgg), html.light-theme body svg[class*="text-rose-"]:not(#lga):not(#lgb):not(#lgc):not(#lgd):not(#lge):not(#lgf):not(#lgg) { color: #e11d48 !important; }
html.light-theme body :is([class*="text-pink-"]) > svg:not(#lga):not(#lgb):not(#lgc):not(#lgd):not(#lge):not(#lgf):not(#lgg), html.light-theme body svg[class*="text-pink-"]:not(#lga):not(#lgb):not(#lgc):not(#lgd):not(#lge):not(#lgf):not(#lgg) { color: #db2777 !important; }
html.light-theme body svg[class*="text-gray-"]:not(#lga):not(#lgb):not(#lgc):not(#lgd):not(#lge):not(#lgf):not(#lgg), html.light-theme body svg[class*="text-slate-"]:not(#lga):not(#lgb):not(#lgc):not(#lgd):not(#lge):not(#lgf):not(#lgg) { color: #64748b !important; }
html.light-theme body svg[class*="text-white"]:not(#lga):not(#lgb):not(#lgc):not(#lgd):not(#lge):not(#lgf):not(#lgg) { color: #1e1b4b !important; }
html.light-theme body #streak-flame:not(#lga):not(#lgb):not(#lgc):not(#lgd):not(#lge):not(#lgf):not(#lgg) { color: #94a3b8 !important; }
html.light-theme body #streak-flame[class*="text-orange"]:not(#lga):not(#lgb):not(#lgc):not(#lgd):not(#lge):not(#lgf):not(#lgg), html.light-theme body #streak-flame[class*="text-amber"]:not(#lga):not(#lgb):not(#lgc):not(#lgd):not(#lge):not(#lgf):not(#lgg) { color: #ea580c !important; }
html.light-theme body :is(button.bg-indigo-600, button.bg-indigo-500, button.bg-emerald-600, button.bg-emerald-500, button.bg-amber-600, button.bg-amber-500, button.bg-red-600, button.bg-red-500, .vc-main, .gl-primary, .on-btn:not(.on-ghost), .sp-btn:not(.sp-ghost)) svg:not(#lga):not(#lgb):not(#lgc):not(#lgd):not(#lge):not(#lgf):not(#lgg) { color: #fff !important; }
html.light-theme body :is(#view-dashboard, #tutoring-center-section) :is(h2, h3, h4, p, div, span).text-white:not(.gradient-text):not(#lga):not(#lgb):not(#lgc):not(#lgd):not(#lge):not(#lgf):not(#lgg) { color: #1e1b4b !important; }
html.light-theme body :is(#view-dashboard, #tutoring-center-section) :is(button.bg-indigo-600, button.bg-emerald-600) :is(span, div):not(#lga):not(#lgb):not(#lgc):not(#lgd):not(#lge):not(#lgf):not(#lgg) { color: #fff !important; }
