/* Oct 16, 2026 (handoff task 1): Community's backdrop is the live world zoomed out into the Metabolic Spirit World (see
   community-spirit.js and body-world-3d-scene.js). This is only the readability veil: bottom layer of the Community page,
   darker at the top (nav) and bottom (chat box + tab bar), clear in the middle where the companions gather. Never takes a touch. */
#tab-foryou > #cgSpirit { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none !important; touch-action: none; contain: strict; }
#cgSpirit .cg-spirit-veil { position: absolute; inset: 0; pointer-events: none; transform: scale(var(--sp-s, 1)); transform-origin: 50% 48%;
    background: radial-gradient(130% 85% at 50% 45%, rgba(3,8,24,0) 0%, rgba(3,8,24,.16) 70%, rgba(3,8,24,.34) 100%),
                linear-gradient(180deg, rgba(3,8,24,.46) 0%, rgba(3,8,24,0) 20%, rgba(3,8,24,0) 62%, rgba(3,8,24,.56) 100%); }
html[data-theme="light"] #cgSpirit .cg-spirit-veil { background: linear-gradient(180deg, rgba(3,8,24,.3) 0%, rgba(3,8,24,0) 22%, rgba(3,8,24,0) 66%, rgba(3,8,24,.38) 100%); }
/* everything of Community sits above the veil, in its own order, exactly as before */
html.cg-spirit-on #tab-foryou > .ls-pager { z-index: 1; }
@media (prefers-reduced-motion: reduce) { #cgSpirit .cg-spirit-veil { transform: none !important; } }
