:root{--cosmic-bg:#050510;--cosmic-surface:rgba(15,18,38,.85);--cosmic-border:rgba(139,92,246,.4);--cosmic-text:#f8fafc;--cosmic-muted:#cbd5e1;--cosmic-violet:#8b5cf6;--cosmic-cyan:#06b6d4;--cosmic-pink:#ec4899;color-scheme:dark}html:root body{background:#050510!important;color:var(--cosmic-text)!important;font-family:Inter,system-ui,sans-serif;isolation:isolate;position:relative}.cosmic-nebula{position:fixed;inset:0;z-index:-2;pointer-events:none;background:radial-gradient(circle at 15% 20%,#8b5cf638,transparent 45%),radial-gradient(circle at 85% 30%,#06b6d42e,transparent 45%),radial-gradient(circle at 50% 85%,#ec489924,transparent 50%)}#cosmic-stars{position:fixed;inset:0;z-index:-1;pointer-events:none}html:root :is(.cosmic-card,.glass-panel,.cm-premium-card,.cm-discovery-card,.cm-discovery-bridge,.campaign,.sponsor-panel,article,dialog,form){background:var(--cosmic-surface)!important;color:var(--cosmic-text)!important;border:1px solid var(--cosmic-border)!important;border-radius:20px;box-shadow:0 12px 40px #0007,inset 0 1px 0 #ffffff14;backdrop-filter:blur(16px)}html:root header{background:#0b0d1f!important;color:#f8fafc!important;border-color:var(--cosmic-border)!important}html:root :is(h1,h2,h3,.text-white,.text-slate-100,.text-slate-200,.text-slate-300){color:#f8fafc!important;text-shadow:none}html:root :is(.text-slate-400,.text-slate-500,.text-gray-400,.text-gray-500,small,.task-note,footer){color:#cbd5e1!important}html:root :is(.cm-premium-hero,#hub){background:transparent!important}html:root #hub h1{-webkit-text-fill-color:#f8fafc!important;background:none!important}html:root :is([class*="bg-slate-"],[class*="bg-gray-"]):not(button):not(a){background-color:#101226!important}html:root :is([class*="border-slate-"],[class*="border-gray-"]){border-color:var(--cosmic-border)!important}html:root :is(input,textarea,select){background:#090b1a!important;color:#f8fafc!important;border-color:#64748b!important}html:root :is(input,textarea)::placeholder{color:#a8b5ca!important}html:root :is(.text-cyan-300,.text-cyan-400){color:#67e8f9!important}html:root :is(.bg-emerald-400,.bg-emerald-500,.bg-cyan-400,.bg-cyan-500,.sponsor-panel>a,#application button,#back,.cosmic-btn){background:linear-gradient(135deg,#131633,#090b1a) padding-box,conic-gradient(from var(--angle),#8b5cf6,#06b6d4,#ec4899,#8b5cf6) border-box!important;border:2px solid transparent!important;border-radius:999px;color:white!important;font-weight:600;animation:cosmic-spin 3.5s linear infinite} @property --angle{syntax:'<angle>';initial-value:0deg;inherits:false}@keyframes cosmic-spin{to{--angle:360deg}}.cosmic-tabs{display:inline-flex;gap:6px;padding:6px;background:#0a0c1c;border:1px solid var(--cosmic-border);border-radius:999px}.cosmic-tab{padding:8px 18px;border-radius:999px;color:#cbd5e1}.cosmic-tab.active{background:linear-gradient(135deg,#7040d0,#087e9b);color:white}#cm-theme-toggle{display:none!important}html:root :focus-visible{outline:2px solid #67e8f9;outline-offset:3px}@media(prefers-reduced-motion:reduce){html:root *{animation-duration:0.01ms!important}#cosmic-stars{display:none}}
/* Permanent Cosmic Glass: no script or saved preference required. */
html:root body{background:radial-gradient(ellipse at 12% 12%,#29174b 0,transparent 48%),radial-gradient(ellipse at 88% 24%,#10334b 0,transparent 45%),radial-gradient(ellipse at 55% 95%,#32183b 0,transparent 52%),#050510!important;background-attachment:fixed!important;font-size:16px;line-height:1.65}
html:root :is(.cm-v64-promotion,.cm-discovery-bridge,.cm-v64-promo-main,.cm-v64-aside-card,.cm-v64-payment-details){background:#13172c!important;border-color:#514179!important}
html:root :is(.text-xs,.text-\[11px\]){font-size:.8rem;line-height:1.5}
html:root :is(.text-slate-400,.text-slate-500,.text-gray-500){color:#cbd5e1!important}
html:root :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px;max-width:100%;min-width:0}
html:root :is(main,section,header,footer,.grid>*,.flex>*){min-width:0}
html:root :is(.cm-premium-hero,.cm-discovery-bridge){overflow-wrap:break-word}
@media(max-width:767px){html:root body{background-attachment:scroll!important}html:root :is(main,section,header,footer){max-width:100%}html:root h1{overflow-wrap:break-word;line-height:1.18}html:root :is(.cm-v64-promo-layout,.cm-discovery-grid){grid-template-columns:minmax(0,1fr)}html:root :is(.task-action,.cm-menu-toggle){min-height:44px}html:root .cosmic-tabs{max-width:100%;flex-wrap:wrap}html:root :is(.glass-panel,.campaign,.cm-discovery-card){backdrop-filter:none}}