/* Global Styles & Tailwind Overrides */ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;700&display=swap');

body { background-color: #000000; color: #e5e5e5; user-select: none; }

.beam-panel { position: relative; background-color: rgba(10, 10, 10, 0.8); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.08); overflow: hidden; transition: all 0.3s ease; } .beam-panel::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, #f97316, transparent); box-shadow: 0 0 15px 2px rgba(249, 115, 22, 0.4); opacity: 0.6; pointer-events: none; z-index: 10; transition: all 0.3s ease; } .beam-panel:hover { border-color: rgba(249, 115, 22, 0.3); transform: translateY(-2px); } .beam-panel:hover::before { opacity: 1; box-shadow: 0 0 25px 4px rgba(249, 115, 22, 0.7); }

.no-scrollbar::-webkit-scrollbar { display: none; }

/* Active Nav State in Left Rail */ .active-nav img { opacity: 1 !important; filter: drop-shadow(0 0 8px rgba(249,115,22,0.6)); } .active-nav div { height: 32px !important; }

/* Secondary Tabs */ .sub-tab { position: relative; color: #a1a1aa; transition: all 0.2s; cursor: pointer; } .sub-tab:hover { color: white; } .sub-tab.active { color: white; } .sub-tab.active::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background-color: #f97316; box-shadow: 0 -2px 10px rgba(249, 115, 22, 0.5); }

/* Tree Diagram */ #tree-canvas { transform-origin: top center; cursor: grab; transition: transform 0.1s linear; } #tree-canvas:active { cursor: grabbing; } .tf-tree ul { padding-top: 20px; position: relative; display: flex; justify-content: center; } .tf-tree li { float: left; text-align: center; list-style-type: none; position: relative; padding: 20px 5px 0 5px; } .tf-tree li::before, .tf-tree li::after { content: ''; position: absolute; top: 0; right: 50%; border-top: 1px dashed rgba(249, 115, 22, 0.4); width: 50%; height: 20px; } .tf-tree li::after { right: auto; left: 50%; border-left: 1px dashed rgba(249, 115, 22, 0.4); } .tf-tree li:only-child::after, .tf-tree li:only-child::before { display: none; } .tf-tree li:only-child { padding-top: 0; } .tf-tree li:first-child::before, .tf-tree li:last-child::after { border: 0 none; } .tf-tree li:last-child::before { border-right: 1px dashed rgba(249, 115, 22, 0.4); border-radius: 0 5px 0 0; } .tf-tree li:first-child::after { border-radius: 5px 0 0 0; } .tf-tree ul ul::before { content: ''; position: absolute; top: 0; left: 50%; border-left: 1px dashed rgba(249, 115, 22, 0.4); width: 0; height: 20px; }

===== FILE: js/data/mock.js ===== export const toolsList = [ { id: 'actor', name: 'Actor™', label: 'Identity', desc: 'Unified profiles for members & organizations.', icon: 'tribeActor.png' }, { id: 'news', name: 'News™', label: 'Signal', desc: 'Curated news feeds for your niche.', icon: 'tribeNews.png' }, { id: 'chat', name: 'Chat™', label: 'Comms', desc: 'Secure, real-time messaging.', icon: 'tribeChat.png' }, { id: 'vote', name: 'Vote™', label: 'Governance', desc: 'Transparent decision making tools.', icon: 'tribeVote.png' }, { id: 'docs', name: 'Docs™', label: 'Knowledge', desc: 'Shared library for community assets.', icon: 'tribeDocs.png' }, { id: 'cal', name: 'Cal™', label: 'Events', desc: 'Unified calendar.', icon: 'tribeCal.png' } ];

export const feedActions = [ { user: '@vex', action: 'deployed contract', target: 'StarkNet', time: '2s ago' }, { user: '@kara', action: 'replied to', target: '#governance', time: '5s ago' }, { user: '@lume', action: 'joined from', target: 'Singapore', time: '12s ago', highlight: true }, { user: '@nova', action: 'voted YES on', target: 'Prop 420', time: '18s ago' }, { user: '@drx', action: 'minted', target: 'Badge #99', time: '24s ago' } ];

export const chartData = { labels: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'], datasets: [ { label: 'Discussions', data: [12, 19, 15, 25, 32, 28, 35], borderColor: '#f97316' }, { label: 'New Joins', data: [5, 8, 12, 10, 15, 20, 22], borderColor: '#3b82f6' } ] };

export const members = [ { user: '@vex', role: 'Core Contributor', loc: 'Berlin, DE', img: 'https://api.dicebear.com/7.x/avataaars/svg?seed=vex' }, { user: '@kara', role: 'Active Member', loc: 'San Francisco, US', img: 'https://api.dicebear.com/7.x/avataaars/svg?seed=kara' }, { user: '@lume', role: 'New Join', loc: 'Singapore, SG', img: 'https://api.dicebear.com/7.x/avataaars/svg?seed=lume' }, { user: '@nova', role: 'Moderator', loc: 'London, UK', img: 'https://api.dicebear.com/7.x/avataaars/svg?seed=nova' } ];
/* Global Styles & Tailwind Overrides */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;700&display=swap');

body { background-color: #000000; color: #e5e5e5; user-select: none; }

.beam-panel { position: relative; background-color: rgba(10, 10, 10, 0.8); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.08); overflow: hidden; transition: all 0.3s ease; } .beam-panel::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, #f97316, transparent); box-shadow: 0 0 15px 2px rgba(249, 115, 22, 0.4); opacity: 0.6; pointer-events: none; z-index: 10; transition: all 0.3s ease; } .beam-panel:hover { border-color: rgba(249, 115, 22, 0.3); transform: translateY(-2px); } .beam-panel:hover::before { opacity: 1; box-shadow: 0 0 25px 4px rgba(249, 115, 22, 0.7); }

.no-scrollbar::-webkit-scrollbar { display: none; }

/* Active Nav State in Left Rail */ .active-nav img { opacity: 1 !important; filter: drop-shadow(0 0 8px rgba(249,115,22,0.6)); } .active-nav div { height: 32px !important; }

/* Secondary Tabs */ .sub-tab { position: relative; color: #a1a1aa; transition: all 0.2s; cursor: pointer; } .sub-tab:hover { color: white; } .sub-tab.active { color: white; } .sub-tab.active::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background-color: #f97316; box-shadow: 0 -2px 10px rgba(249, 115, 22, 0.5); }

/* Tree Diagram */ #tree-canvas { transform-origin: top center; cursor: grab; transition: transform 0.1s linear; } #tree-canvas:active { cursor: grabbing; } .tf-tree ul { padding-top: 20px; position: relative; display: flex; justify-content: center; } .tf-tree li { float: left; text-align: center; list-style-type: none; position: relative; padding: 20px 5px 0 5px; } .tf-tree li::before, .tf-tree li::after { content: ''; position: absolute; top: 0; right: 50%; border-top: 1px dashed rgba(249, 115, 22, 0.4); width: 50%; height: 20px; } .tf-tree li::after { right: auto; left: 50%; border-left: 1px dashed rgba(249, 115, 22, 0.4); } .tf-tree li:only-child::after, .tf-tree li:only-child::before { display: none; } .tf-tree li:only-child { padding-top: 0; } .tf-tree li:first-child::before, .tf-tree li:last-child::after { border: 0 none; } .tf-tree li:last-child::before { border-right: 1px dashed rgba(249, 115, 22, 0.4); border-radius: 0 5px 0 0; } .tf-tree li:first-child::after { border-radius: 5px 0 0 0; } .tf-tree ul ul::before { content: ''; position: absolute; top: 0; left: 50%; border-left: 1px dashed rgba(249, 115, 22, 0.4); width: 0; height: 20px; }

/* Ticker Animations */
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scroll-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.animate-scroll-left {
  animation: scroll-left 40s linear infinite;
}

.animate-scroll-right {
  animation: scroll-right 45s linear infinite;
}

/* Pause animation on hover */
.ticker-mask:hover .ticker-track {
  animation-play-state: paused;
}

/* --- COMMAND PALETTE STYLES --- */
.beam-glow {
    box-shadow: 0 0 40px -10px rgba(249, 115, 22, 0.3);
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-spin-slow {
    animation: spin-slow 8s linear infinite;
}

/* List Items */
.cmd-item {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    color: #a1a1aa;
    transition: all 0.1s;
    border-left: 2px solid transparent;
}

.cmd-item:hover, .cmd-item.selected {
    background-color: rgba(255,255,255,0.05);
    color: white;
}

.cmd-item.selected {
    border-left-color: #f97316;
    background-color: rgba(249, 115, 22, 0.1);
}

/* ============================= */
/* TICKER PILL STYLES (EVENTS)   */
/* ============================= */

.ticker-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  line-height: 1;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);
  white-space: nowrap;
  transition: all 0.25s ease;
}

.ticker-pill.clickable {
  cursor: pointer;
}

.ticker-pill.clickable:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
}

/* ---- EVENT TYPES ---- */

.news_digest,
.news_ingest {
  color: #fb923c;
  background: rgba(251,146,60,0.12);
  border-color: rgba(251,146,60,0.35);
}

.member_status {
  color: #38bdf8;
  background: rgba(56,189,248,0.12);
  border-color: rgba(56,189,248,0.35);
}

.user_post {
  color: #60a5fa;
  background: rgba(96,165,250,0.12);
  border-color: rgba(96,165,250,0.35);
}

.infra_scale {
  color: #c084fc;
  background: rgba(192,132,252,0.12);
  border-color: rgba(192,132,252,0.35);
}

.graph_replication {
  color: #34d399;
  background: rgba(52,211,153,0.12);
  border-color: rgba(52,211,153,0.35);
}

.traffic_spike {
  color: #f87171;
  background: rgba(248,113,113,0.12);
  border-color: rgba(248,113,113,0.35);
}

/* Pause ticker animations on hover */
.ticker-mask:hover #ticker-track-top,
.ticker-mask:hover #ticker-track-bot {
  animation-play-state: paused;
}

/* Subtle hover affordance for ticker */
.ticker-mask:hover {
  box-shadow: inset 0 0 0 1px rgba(249,115,22,0.15);
}

/* Highlight pulse for org chart nodes */
@keyframes highlight-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(249,115,22,0); }
  50% { box-shadow: 0 0 0 8px rgba(249,115,22,0.4), 0 0 30px rgba(249,115,22,0.6); }
}

.highlight-pulse {
  animation: highlight-pulse 2s ease-in-out 3;
}

/* LED micro-glow for interactive file rows */
.tt-led {
  position: relative;
}

.tt-led::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(249,115,22,0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tt-led:hover::before {
  opacity: 1;
}

/* Calendar Styling for tribeVote™ */
.cal-day {
  padding: 0.75rem 0;
  border-radius: 0.5rem;
  cursor: pointer;
  color: #a1a1aa;
  transition: all 0.2s ease;
}

.cal-day:hover {
  background-color: #1a1a1d;
  color: #ffffff;
}

.cal-day.cal-active {
  background-color: #f97316;
  color: white;
  box-shadow: 0 0 15px rgba(249,115,22,0.3);
  font-weight: 700;
}

.cal-day.cal-range {
  background-color: rgba(249,115,22,0.15);
  color: #f97316;
}

/* Fix org chart avatar overflow */
#tree-canvas {
  overflow: visible !important;
}

.tf-tree {
  overflow: visible !important;
}

.tf-tree ul {
  overflow: visible !important;
  padding-top: 50px !important;
}

.tf-tree li {
  overflow: visible !important;
}

.org-card {
  overflow: visible !important;
}

#tree-container {
  overflow: visible !important;
}
