/* Community: 3D student network, count-ups, 3D channel buttons (pairs with community-fx.js; founder 2026-10-09). */
.sfx-scene.cmx3d { -webkit-mask-image: radial-gradient(ellipse 55% 80% at 30% 50%, #000 35%, transparent 100%); mask-image: radial-gradient(ellipse 55% 80% at 30% 50%, #000 35%, transparent 100%); }
.community-hub > :not(.sfx-scene) { position: relative; z-index: 1; }

.cm-stats strong { font-variant-numeric: tabular-nums; }
.cm-stats span.cmx-live { display: inline-flex; line-height: 1.4; align-items: center; gap: 5px; margin-left: 8px; padding: 1px 7px; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: #25d366; border: 1px solid rgba(37, 211, 102, .45); vertical-align: 1px; }
.cm-stats .cmx-live i { width: 6px; height: 6px; border-radius: 50% !important; background: #25d366; }
html.sfx-on .cm-stats .cmx-live i { animation: cm-pulse 2.4s ease-out infinite; }

/* Channel buttons: icons pop out in 3D under the pointer. */
.cmx-ch { transform-style: preserve-3d; }
.cmx-ch svg { transition: transform .5s cubic-bezier(.3, 1.5, .5, 1); }
.cmx-ch.sfx-hot svg { transform: translateZ(24px) scale(1.12); }

@media (prefers-reduced-motion: reduce) { .cmx-ch.sfx-hot svg { transform: none; } }
