Pre-launch — Gluecron is in final validation. Public signups and git hosting for non-owner users open after launch review.
CodeIssuesDiscussionsWikiPull RequestsProjectsCommitsActionsReleasesContributorsPulse● GatesSecuritySettingsDeploymentsPipelineInsightsAgents✨ Explain✨ Ask AI✨ Workspace✨ Spec✨ Tests▓ Debt Map✨ NL Search🏛 Archaeology
claude/adoring-hopper-5x74bqclaude/affectionate-feynman-ykrf1hclaude/architecture-audit-design-wxprenclaude/build-status-update-3MXsfclaude/charming-meitner-mllb5rclaude/compare-gate-gluecron-s4mFQclaude/confident-faraday-tikcwbclaude/continue-work-XMTlIclaude/crontech-gluecron-deploy-7MIECclaude/crontech-platform-setup-SeKfwclaude/design-2026claude/ecstatic-ptolemy-jMdigclaude/enhance-github-integration-QNHdGclaude/fix-aa-loop-issue-PonMQclaude/fix-actions-and-processclaude/fix-desktop-errors-XqoW8claude/fix-red-workflowsclaude/fix-website-access-6FKJNclaude/gatetest-integration-hardeningclaude/github-audit-improvements-bDFr9claude/gluecron-launch-status-FoMRlclaude/hopeful-lamport-olfCTclaude/issue-to-pr-and-protectionsclaude/jolly-heisenberg-2sg1Qclaude/launch-preparation-QmTb6claude/new-session-xk1l7claude/plan-platform-architecture-kkN4yclaude/platform-analysis-roadmap-1nUGLclaude/platform-launch-assessment-8dWV8claude/polish-platform-release-AeDrUclaude/resume-previous-work-KzyLwclaude/review-crontech-handoff-qYEVqclaude/review-project-completeness-lHhS2claude/review-readme-docs-ulqPKclaude/serene-edison-rj87weclaude/setup-multi-repo-dev-BCwNQclaude/ship-fixes-and-tests-Jvz1cclaude/site-audit-competitive-pctlwgclaude/site-migration-vercel-XstpKclaude/standalone-product-repos-XHFTDcopilot/feat-smart-empty-states-keyboard-first-enhancementcopilot/feat-smart-morning-digest-review-context-restorecopilot/fix-and-process-workflowscopilot/update-ai-powered-code-reviewfeat/debt-mapfeat/push-policy-codeowners-hardeningfeat/smart-digest-contextfeat/stage-impactfeat/t1-secret-migrationfeat/u-polishfeat/w-self-hostfeat/w2-claude-configfix/agent-journey-orphan-sweepgatetest/auto-fix-1776586424172gatetest/auto-fix-1776586534814gatetest/auto-fix-1776590685143gatetest/auto-fix-1776590808199mainops/redeploy-retriggerstyle/dxt-cta-themeworktree-agent-a3377aad30d55da26worktree-agent-a7ef607b7ee1d6c74
distribution.tsx19.9 KB · 756 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
import type { FC } from "hono/jsx";

export interface DistributionViewProps {
  user?: any;
}

const agents = [
  { name: "migration-pilot — schema change agent", initials: "MP", bg: "#41707e", installs: "3.1k installs" },
  { name: "a11y-guard — accessibility gate", initials: "AG", bg: "#4353c9", installs: "2.4k installs" },
  { name: "perf-sentry — bundle & latency budget", initials: "PS", bg: "#b45309", installs: "1.8k installs" },
  { name: "license-warden — dependency compliance", initials: "LW", bg: "#16181d", installs: "1.2k installs" },
];

export const DistributionView: FC<DistributionViewProps> = (props) => {
  const { user } = props;

  return (
    <>
      <style dangerouslySetInnerHTML={{ __html: css }} />
      <div class="di-root">

        <header class="di-header">
          <a href="/" class="di-logo">
            <span class="di-logo-mark" />
            gluecron
          </a>
          <span class="di-header-sep">/</span>
          <span class="di-header-crumb">Everywhere you work</span>
          <div class="di-header-right">
            {user ? (
              <a href="/dashboard" class="di-btn-primary">Dashboard</a>
            ) : (
              <a href="/login" class="di-btn-primary">Sign in</a>
            )}
          </div>
        </header>

        <main class="di-main">

          <div class="di-hero">
            <div class="di-eyebrow">Distribution · five channels, one platform</div>
            <h1 class="di-hero-title">Gluecron lives where you already work.</h1>
            <p class="di-hero-desc">Editor, terminal, README, chat, marketplace — the web app is just one door of five.</p>
          </div>

          <div class="di-cards">

            {/* Card 1 — IDE */}
            <div class="di-card">
              <div class="di-card-copy">
                <div class="di-eyebrow">01 · The IDE invasion</div>
                <h2 class="di-card-title">A full Gluecron client in your editor sidebar.</h2>
                <p class="di-card-desc">PR live sessions, AI commit messages, issue tracking, agent supervision — VS Code and JetBrains extensions with zero context switching. The browser becomes optional.</p>
                <a href="/ide-multiplayer" class="di-card-link">See a live editor session →</a>
              </div>
              <div class="di-preview di-preview-light di-preview-ide">
                <div class="di-code-comment">// VS Code · Gluecron sidebar</div>
                <div class="di-ide-row">
                  <span class="di-dot di-dot-amber di-dot-pulse" />
                  <span class="di-ide-text">PR №218 — repair in progress</span>
                </div>
                <div class="di-ide-row">
                  <span class="di-dot di-dot-green" />
                  <span class="di-ide-text">3 issues assigned to you</span>
                </div>
                <div class="di-ide-row">
                  <span class="di-dot di-dot-indigo" />
                  <span class="di-ide-text">&#x270e; commit message drafted — accept?</span>
                </div>
              </div>
            </div>

            {/* Card 2 — CLI */}
            <div class="di-card">
              <div class="di-card-copy">
                <div class="di-eyebrow">02 · Command-line dominance</div>
                <h2 class="di-card-title">The whole platform from your shell.</h2>
                <p class="di-card-desc">One single-file binary. Clone, watch gates stream live, trigger deploys, supervise agents — Gluecron feels like part of the operating system, not a distant web app.</p>
                <a href="/repos" class="di-card-link">Get the CLI →</a>
              </div>
              <div class="di-preview di-preview-dark">
                <div class="di-term-line"><span class="di-term-prompt">$</span> gluecron watch</div>
                <div class="di-term-line di-term-dim">&#x23E7; feat/auth-header · pushed 4s ago</div>
                <div class="di-term-line">
                  <span class="di-term-green">&#x2713;</span> gate: security ·{" "}
                  <span class="di-term-green">&#x2713;</span> gate: types
                </div>
                <div class="di-term-line">
                  <span class="di-term-amber">&#x25CF;</span> gate: tests — running in sandbox…
                </div>
                <div class="di-term-line">
                  <span class="di-term-green">&#x2713;</span> sonnet-5 review — approved
                </div>
              </div>
            </div>

            {/* Card 3 — Badges */}
            <div class="di-card">
              <div class="di-card-copy">
                <div class="di-eyebrow">03 · Public proof &amp; viral loops</div>
                <h2 class="di-card-title">Every public README becomes a billboard.</h2>
                <p class="di-card-desc">Live health scores, green rates, and self-repair stats embed as dynamic badges. Every repo that shows one is a working demo of the platform — proof, not marketing.</p>
                <a href="/trust" class="di-card-link">See the live numbers behind them →</a>
              </div>
              <div class="di-preview di-preview-light di-preview-badges">
                <div class="di-badges-filename">README.md</div>
                <div class="di-badge-strip">
                  <span class="di-badge">
                    <span class="di-badge-key">health</span>
                    <span class="di-badge-val di-badge-green">A · 91</span>
                  </span>
                  <span class="di-badge">
                    <span class="di-badge-key">gates</span>
                    <span class="di-badge-val di-badge-green">green 30d</span>
                  </span>
                  <span class="di-badge">
                    <span class="di-badge-key">self-repair</span>
                    <span class="di-badge-val di-badge-indigo">93.5%</span>
                  </span>
                  <span class="di-badge">
                    <span class="di-badge-key">reviewed by</span>
                    <span class="di-badge-val di-badge-dark">sonnet 5</span>
                  </span>
                </div>
                <div class="di-badges-meta">live · updates on every push · one line of markdown</div>
              </div>
            </div>

            {/* Card 4 — ChatOps */}
            <div class="di-card">
              <div class="di-card-copy">
                <div class="di-eyebrow">04 · ChatOps</div>
                <h2 class="di-card-title">Inside the team's nervous system.</h2>
                <p class="di-card-desc">Slack and Discord integrations push the moments that matter — a repaired build, an agent PR awaiting approval — and take action right from the thread. Approve without leaving chat.</p>
                <a href="/daily-brief" class="di-card-link">See the daily brief it feeds →</a>
              </div>
              <div class="di-preview di-preview-light di-preview-chat">
                <div class="di-chat-msg">
                  <span class="di-chat-avatar">GC</span>
                  <div class="di-chat-body">
                    <div class="di-chat-header">
                      <strong>gluecron</strong>
                      <span class="di-chat-meta">APP · #eng-core</span>
                    </div>
                    <div class="di-chat-text">
                      &#x2705; Repair converged on <strong>gluecron №218</strong> — gates green, waiting on one approval.
                    </div>
                    <div class="di-chat-actions">
                      <span class="di-chat-btn-primary">Approve &amp; merge</span>
                      <span class="di-chat-btn-secondary">Open diff</span>
                    </div>
                  </div>
                </div>
              </div>
            </div>

            {/* Card 5 — Marketplace */}
            <div class="di-card">
              <div class="di-card-copy">
                <div class="di-eyebrow">05 · The agent marketplace</div>
                <h2 class="di-card-title">An ecosystem that builds itself.</h2>
                <p class="di-card-desc">Scoped bot identities and developer apps let anyone ship specialized agents on the platform — every install runs under the same gates, audit trail, and reversibility guarantee as ours.</p>
                <a href="/trust" class="di-card-link">The trust rules every agent obeys →</a>
              </div>
              <div class="di-preview di-preview-light di-preview-marketplace">
                {agents.map((a) => (
                  <div class="di-agent-row" key={a.name}>
                    <span class="di-agent-avatar" style={`background:${a.bg}`}>{a.initials}</span>
                    <span class="di-agent-name">{a.name}</span>
                    <span class="di-agent-installs">{a.installs}</span>
                  </div>
                ))}
              </div>
            </div>

          </div>
        </main>
      </div>
      <script dangerouslySetInnerHTML={{ __html: js }} />
    </>
  );
};

export default DistributionView;

const js = `
(function() {
  // Animate CLI terminal lines sequentially on scroll into view
  var termLines = document.querySelectorAll('.di-preview-dark .di-term-line');
  if (termLines.length) {
    termLines.forEach(function(el, i) {
      el.style.opacity = '0';
      el.style.transform = 'translateX(-6px)';
      el.style.transition = 'opacity 0.28s ease, transform 0.28s ease';
    });
    var termAnimated = false;
    function animateTerminal() {
      if (termAnimated) return;
      termAnimated = true;
      termLines.forEach(function(el, i) {
        setTimeout(function() {
          el.style.opacity = '1';
          el.style.transform = 'translateX(0)';
        }, i * 140);
      });
    }
    var observer = new IntersectionObserver(function(entries) {
      entries.forEach(function(entry) {
        if (entry.isIntersecting) animateTerminal();
      });
    }, { threshold: 0.3 });
    var termCard = document.querySelector('.di-preview-dark');
    if (termCard) observer.observe(termCard);
  }

  // Badge hover effect — slight lift
  var badges = document.querySelectorAll('.di-badge');
  badges.forEach(function(b) {
    b.addEventListener('mouseenter', function() {
      b.style.transform = 'translateY(-1px)';
      b.style.transition = 'transform 0.15s ease';
    });
    b.addEventListener('mouseleave', function() {
      b.style.transform = '';
    });
  });

  // Chat action buttons — mock interactivity
  var approveBtn = document.querySelector('.di-chat-btn-primary');
  if (approveBtn) {
    approveBtn.addEventListener('click', function() {
      var original = approveBtn.textContent;
      approveBtn.textContent = 'Merged!';
      approveBtn.style.background = '#1e7f5c';
      setTimeout(function() {
        approveBtn.textContent = original;
        approveBtn.style.background = '';
      }, 2000);
    });
  }

  // Agent marketplace rows — stagger fade in on scroll
  var agentRows = document.querySelectorAll('.di-agent-row');
  if (agentRows.length) {
    agentRows.forEach(function(el) {
      el.style.opacity = '0';
      el.style.transform = 'translateY(6px)';
      el.style.transition = 'opacity 0.26s ease, transform 0.26s ease';
    });
    var agentObserver = new IntersectionObserver(function(entries) {
      entries.forEach(function(entry) {
        if (entry.isIntersecting) {
          agentRows.forEach(function(el, i) {
            setTimeout(function() {
              el.style.opacity = '1';
              el.style.transform = 'translateY(0)';
            }, i * 80);
          });
          agentObserver.disconnect();
        }
      });
    }, { threshold: 0.2 });
    var mp = document.querySelector('.di-preview-marketplace');
    if (mp) agentObserver.observe(mp);
  }
})();
`;

const css = `
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;450;500;600;700&family=Inter+Tight:wght@500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

@keyframes gcPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

*, *::before, *::after {
  box-sizing: border-box;
}

.di-root {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: -0.008em;
  color: #16181d;
  background: #fcfcfd;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ── Header ── */
.di-header {
  height: 56px;
  border-bottom: 1px solid rgba(22,24,29,0.07);
  background: #fcfcfd;
  display: flex;
  align-items: center;
  padding: 0 28px;
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.di-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: #16181d;
  text-decoration: none;
}

.di-logo-mark {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: #4353c9;
  display: inline-block;
  flex-shrink: 0;
}

.di-header-sep {
  color: #c4c6cf;
  user-select: none;
}

.di-header-crumb {
  font-size: 13px;
  color: #16181d;
  font-weight: 500;
}

.di-header-right {
  margin-left: auto;
}

.di-btn-primary {
  padding: 8px 15px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  background: #16181d;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  display: inline-block;
  letter-spacing: -0.008em;
}

.di-btn-primary:hover {
  background: #2a2d36;
}

/* ── Main ── */
.di-main {
  flex: 1;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 52px 32px 88px;
}

/* ── Hero ── */
.di-hero {
  max-width: 660px;
  margin-bottom: 44px;
}

.di-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a8d99;
  margin-bottom: 10px;
}

.di-hero-title {
  font-family: 'Inter Tight', sans-serif;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.026em;
  line-height: 1.12;
  margin: 0 0 10px;
  color: #111318;
}

.di-hero-desc {
  font-size: 14.5px;
  color: #6b7080;
  margin: 0;
  line-height: 1.6;
}

/* ── Cards list ── */
.di-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ── Individual card ── */
.di-card {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.1fr);
  gap: 44px;
  align-items: center;
  border: 1px solid rgba(22,24,29,0.08);
  border-radius: 18px;
  background: #ffffff;
  padding: 38px 42px;
  transition: border-color 0.18s ease;
}

.di-card:hover {
  border-color: rgba(22,24,29,0.14);
}

/* ── Card copy ── */
.di-card-copy .di-eyebrow {
  margin-bottom: 10px;
}

.di-card-title {
  font-family: 'Inter Tight', sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: #111318;
  line-height: 1.2;
}

.di-card-desc {
  font-size: 13.5px;
  color: #6b7080;
  margin: 0 0 14px;
  line-height: 1.65;
}

.di-card-link {
  font-size: 13px;
  font-weight: 600;
  color: #4353c9;
  text-decoration: none;
}

.di-card-link:hover {
  text-decoration: underline;
}

/* ── Preview panels (shared) ── */
.di-preview {
  border-radius: 12px;
  padding: 18px 20px;
}

.di-preview-light {
  border: 1px solid rgba(22,24,29,0.07);
  background: #fcfcfd;
}

/* ── IDE preview ── */
.di-preview-ide {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  line-height: 1.9;
}

.di-code-comment {
  color: #8a8d99;
}

.di-ide-row {
  display: flex;
  align-items: center;
  gap: 9px;
}

.di-ide-text {
  color: #16181d;
}

.di-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

.di-dot-amber { background: #b45309; }
.di-dot-green { background: #1e7f5c; }
.di-dot-indigo { background: #4353c9; }
.di-dot-pulse { animation: gcPulse 1.4s ease-in-out infinite; }

/* ── CLI / Terminal preview ── */
.di-preview-dark {
  border: 1px solid rgba(22,24,29,0.9);
  border-radius: 12px;
  background: #0f1116;
  padding: 18px 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  line-height: 1.9;
  color: #d6d8e0;
}

.di-term-line {
  display: block;
}

.di-term-dim {
  color: #8a8d99;
}

.di-term-prompt { color: #5f8fa0; }
.di-term-green  { color: #2fbf83; }
.di-term-amber  { color: #e0a35a; }

/* ── Badges preview ── */
.di-preview-badges {}

.di-badges-filename {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #8a8d99;
  margin-bottom: 12px;
}

.di-badge-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.di-badge {
  display: inline-flex;
  font-size: 11px;
  font-weight: 600;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid rgba(22,24,29,0.10);
  cursor: default;
  user-select: none;
}

.di-badge-key {
  background: #3a3d45;
  color: #fff;
  padding: 4px 8px;
}

.di-badge-val {
  padding: 4px 8px;
  color: #fff;
}

.di-badge-green  { background: #1e7f5c; }
.di-badge-indigo { background: #4353c9; }
.di-badge-dark   { background: #16181d; }

.di-badges-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: #8a8d99;
  margin-top: 12px;
}

/* ── ChatOps preview ── */
.di-preview-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.di-chat-msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.di-chat-avatar {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: #4353c9;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
}

.di-chat-body {
  flex: 1;
}

.di-chat-header {
  font-size: 12.5px;
  color: #16181d;
}

.di-chat-meta {
  color: #8a8d99;
  font-size: 11px;
  margin-left: 4px;
}

.di-chat-text {
  font-size: 12.5px;
  color: #3a3d45;
  margin-top: 2px;
  line-height: 1.55;
}

.di-chat-actions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.di-chat-btn-primary {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px;
  background: #16181d;
  color: #fff;
  cursor: pointer;
  user-select: none;
  transition: background 0.18s ease;
  display: inline-block;
}

.di-chat-btn-primary:hover {
  background: #2a2d36;
}

.di-chat-btn-secondary {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid rgba(22,24,29,0.14);
  color: #16181d;
  cursor: pointer;
  user-select: none;
  background: transparent;
  display: inline-block;
  transition: border-color 0.18s ease;
}

.di-chat-btn-secondary:hover {
  border-color: rgba(22,24,29,0.28);
}

/* ── Marketplace preview ── */
.di-preview-marketplace {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.di-agent-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(22,24,29,0.06);
  border-radius: 9px;
  background: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.di-agent-row:hover {
  border-color: rgba(22,24,29,0.13);
  box-shadow: 0 1px 4px rgba(22,24,29,0.06);
}

.di-agent-avatar {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
}

.di-agent-name {
  font-size: 12.5px;
  font-weight: 500;
  color: #16181d;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.di-agent-installs {
  font-size: 11px;
  color: #8a8d99;
  font-family: 'JetBrains Mono', monospace;
  flex-shrink: 0;
  margin-left: auto;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .di-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 24px;
  }

  .di-main {
    padding: 36px 20px 64px;
  }

  .di-hero-title {
    font-size: 24px;
  }
}

@media (max-width: 560px) {
  .di-header {
    padding: 0 16px;
    gap: 12px;
  }

  .di-header-crumb {
    display: none;
  }

  .di-badge-strip {
    gap: 6px;
  }
}
`;