    /* ── Discover Page (Phase B) ── */
    .discover-section {
      max-width: 800px;
      margin: 0 auto;
      padding: 0 16px;
      display: flex;
      flex-direction: column;
      height: calc(100vh - 60px);
    }
    .discover-header {
      padding: 20px 0 12px;
      border-bottom: 1px solid var(--border);
      flex-shrink: 0;
    }
    .discover-title-row {
      display: flex;
      align-items: center;
      gap: 14px;
    }
    .discover-logo {
      width: 44px;
      height: 44px;
      background: linear-gradient(135deg, var(--orange), var(--gold));
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      flex-shrink: 0;
    }
    .discover-title { font-size: 20px; font-weight: 700; margin: 0; }
    .discover-subtitle { font-size: 13px; color: var(--text-dim); margin: 2px 0 0; }
    .discover-chat {
      flex: 1;
      overflow-y: auto;
      padding: 16px 0;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .discover-chat::-webkit-scrollbar { width: 4px; }
    .discover-chat::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

    .discover-welcome { text-align: center; padding: 40px 20px; animation: fadeInUp 0.5s ease-out; }
    .welcome-icon { font-size: 48px; margin-bottom: 16px; }
    .discover-welcome h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
    .discover-welcome p { color: var(--text-dim); font-size: 14px; margin-bottom: 24px; }
    .welcome-examples { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
    .example-chip {
      padding: 8px 16px; background: var(--bg-card); border: 1px solid var(--border);
      border-radius: 20px; font-size: 13px; cursor: pointer; transition: all 0.2s; color: var(--text);
    }
    .example-chip:hover { border-color: var(--orange); background: var(--orange-glow); color: var(--orange); }

    .d-bubble { max-width: 88%; animation: fadeInUp 0.3s ease-out; }
    .d-bubble.user { align-self: flex-end; }
    .d-bubble.system { align-self: flex-start; }
    .d-bubble.user .d-bubble-content {
      background: linear-gradient(135deg, rgba(244,114,43,.15), rgba(251,191,36,.10));
      border: 1px solid rgba(244,114,43,.25);
      border-radius: 18px 18px 4px 18px;
      padding: 12px 18px; font-size: 15px; line-height: 1.6; color: var(--text);
    }
    .d-bubble.system .d-bubble-label {
      font-size: 11px; color: var(--text-dim); margin-bottom: 4px; padding-left: 4px;
      display: flex; align-items: center; gap: 6px;
    }
    .d-bubble.system .d-bubble-content {
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: 18px 18px 18px 4px;
      padding: 16px 20px; font-size: 14px; line-height: 1.6; color: var(--text);
    }

    .d-agent-cards { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
    .d-agent-card {
      background: rgba(255,255,255,.03); border: 1px solid var(--border);
      border-radius: 12px; padding: 14px 16px; transition: all 0.2s;
    }
    .d-agent-card:hover { border-color: rgba(244,114,43,.3); background: rgba(244,114,43,.04); }
    .d-agent-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
    .d-agent-card-emoji { font-size: 22px; }
    .d-agent-card-name { font-size: 15px; font-weight: 600; color: var(--text); }
    .d-agent-card-score {
      margin-left: auto; padding: 2px 8px; border-radius: 10px;
      font-size: 12px; font-weight: 600; background: rgba(244,114,43,.12); color: var(--orange);
    }
    .d-agent-card-desc {
      font-size: 13px; color: var(--text-dim); line-height: 1.5; margin-bottom: 8px;
      display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    }
    .d-agent-card-reason { font-size: 12px; color: var(--gold); margin-bottom: 8px; }
    .d-agent-card-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 8px; }
    .d-agent-card-tags .tag { padding: 2px 8px; font-size: 11px; }
    .d-agent-card-actions { display: flex; gap: 8px; }
    .d-agent-card-actions a {
      padding: 4px 12px; border-radius: 8px; font-size: 12px; font-weight: 500;
      transition: all 0.2s; text-decoration: none;
    }
    .d-agent-card-actions .d-btn-primary {
      background: rgba(244,114,43,.12); color: var(--orange); border: 1px solid rgba(244,114,43,.2);
    }
    .d-agent-card-actions .d-btn-primary:hover { background: rgba(244,114,43,.2); opacity: 1; }
    .d-agent-card-actions .d-btn-secondary {
      background: rgba(59,130,246,.1); color: var(--blue); border: 1px solid rgba(59,130,246,.2);
    }

    .discover-quick-replies { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 0 8px; }
    .quick-reply-btn {
      padding: 6px 14px; background: var(--bg-card); border: 1px solid var(--border);
      border-radius: 18px; font-size: 13px; color: var(--text); cursor: pointer;
      transition: all 0.2s; white-space: nowrap;
    }
    .quick-reply-btn:hover { border-color: var(--orange); background: var(--orange-glow); color: var(--orange); }

    .discover-input-area { flex-shrink: 0; padding: 12px 0 20px; border-top: 1px solid var(--border); }
    .discover-input-row { display: flex; align-items: flex-end; gap: 10px; }
    .discover-input {
      flex: 1; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--border);
      background: var(--bg-card); color: var(--text); font-size: 15px; font-family: inherit;
      line-height: 1.5; resize: none; outline: none; min-height: 46px; max-height: 120px;
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .discover-input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-glow); }
    .discover-input::placeholder { color: var(--text-dim); }
    .discover-send-btn {
      width: 46px; height: 46px; border-radius: 14px; border: none;
      background: var(--orange); color: #fff; cursor: pointer;
      display: flex; align-items: center; justify-content: center; flex-shrink: 0;
      transition: transform 0.15s, box-shadow 0.15s;
    }
    .discover-send-btn:hover { transform: scale(1.05); box-shadow: 0 4px 16px var(--orange-glow); }

    .d-typing { display: flex; gap: 4px; padding: 8px 0; }
    .d-typing span {
      width: 8px; height: 8px; background: var(--text-dim); border-radius: 50%;
      animation: typingDot 1.4s infinite;
    }
    .d-typing span:nth-child(2) { animation-delay: 0.2s; }
    .d-typing span:nth-child(3) { animation-delay: 0.4s; }
    @keyframes typingDot {
      0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
      30% { opacity: 1; transform: translateY(-4px); }
    }
    @keyframes fadeInUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

    @media (max-width: 600px) {
      .discover-section { height: calc(100vh - 56px); padding: 0 10px; }
      .discover-welcome h3 { font-size: 17px; }
      .welcome-examples { gap: 6px; }
      .example-chip { font-size: 12px; padding: 6px 12px; }
      .d-bubble { max-width: 95%; }
    }


    .hamburger { display: none; background: none; border: none; cursor: pointer; width: 36px; height: 36px; position: relative; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
    .hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }
    .hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
    .mobile-menu { display: none; position: fixed; top: 60px; left: 0; right: 0; bottom: 0; background: rgba(13,13,15,.96); backdrop-filter: blur(12px); z-index: 99; flex-direction: column; align-items: center; padding-top: 40px; gap: 8px; }
    .mobile-menu.active { display: flex; }
    .mobile-menu a { color: var(--text-dim); padding: 14px 32px; border-radius: 12px; font-size: 18px; font-weight: 500; width: 80%; text-align: center; transition: all .2s; }
    .mobile-menu a:hover,.mobile-menu a.active { color: var(--orange); background: var(--bg-card); }
    .detail-hero { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; margin-bottom: 24px; position: relative; overflow: hidden; }
    .detail-hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg,var(--orange),var(--gold)); }
    .detail-score { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 4px 12px; border-radius: 8px; background: rgba(251,191,36,.1); font-size: 13px; color: var(--gold); font-weight: 600; }
    .capabilities-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: 12px; }
    .capability-card { background: rgba(59,130,246,.06); border: 1px solid rgba(59,130,246,.12); border-radius: 10px; padding: 14px 16px; transition: all .2s; }
    .capability-card:hover { border-color: rgba(59,130,246,.3); background: rgba(59,130,246,.1); }
    .capability-card .cap-icon { font-size: 20px; margin-bottom: 6px; }
    .capability-card .cap-name { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
    .capability-card .cap-desc { font-size: 12px; color: var(--text-dim); line-height: 1.4; }
    .file-tree-item { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px; cursor: pointer; transition: background .15s; color: var(--text); font-family: 'SF Mono','Fira Code','Consolas',monospace; font-size: 13px; }
    .file-tree-item:hover { background: var(--bg-card-hover); }
    .file-tree-item.active { background: rgba(244,114,43,.1); color: var(--orange); }
    .file-tree-item .ft-icon { font-size: 16px; flex-shrink: 0; width: 20px; text-align: center; }
    .file-tree-item .ft-name { flex: 1; }
    .file-tree-group-title { font-size: 12px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.5px; padding: 4px 12px; margin-bottom: 2px; margin-top: 8px; }
    .code-preview { background: #0a0a0c; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin-top: 12px; }
    .code-preview-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; background: rgba(255,255,255,.03); border-bottom: 1px solid var(--border); }
    .code-preview-filename { font-size: 13px; color: var(--text-dim); font-family: 'SF Mono',monospace; }
    .code-preview-copy { background: none; border: 1px solid var(--border); color: var(--text-dim); padding: 4px 10px; border-radius: 6px; font-size: 12px; cursor: pointer; transition: all .2s; }
    .code-preview-copy:hover { color: var(--orange); border-color: var(--orange); }
    .code-preview pre { padding: 16px; overflow-x: auto; font-size: 13px; line-height: 1.6; font-family: 'SF Mono','Fira Code','Consolas',monospace; color: #c9d1d9; max-height: 400px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
    .code-preview pre code { white-space: pre; }
    .code-preview .kw { color: #ff7b72; } .code-preview .str { color: #a5d6ff; } .code-preview .cm { color: #8b949e; }
    .code-preview .fn { color: #d2a8ff; } .code-preview .num { color: #79c0ff; } .code-preview .dec { color: #ffa657; }
    .usage-example { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 16px; margin-bottom: 12px; }
    .usage-example:last-child { margin-bottom: 0; }
    .usage-example-title { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
    .usage-example-title .ue-num { width: 22px; height: 22px; border-radius: 6px; background: var(--orange); color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; font-weight: 700; }
    .usage-example pre { background: #0a0a0c; border-radius: 8px; padding: 12px 16px; overflow-x: auto; font-size: 13px; line-height: 1.5; font-family: 'SF Mono','Fira Code','Consolas',monospace; color: #c9d1d9; -webkit-overflow-scrolling: touch; }
    .related-agents { display: grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); gap: 14px; }
    .related-card { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 16px; cursor: pointer; transition: all .2s; text-decoration: none; display: block; }
    .related-card:hover { border-color: rgba(244,114,43,.3); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,.2); opacity: 1; }
    .related-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
    .related-card-emoji { font-size: 22px; }
    .related-card-name { font-size: 15px; font-weight: 600; color: var(--text); }
    .related-card-desc { font-size: 13px; color: var(--text-dim); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    @media (max-width: 768px) {
      .nav { display: none !important; }
      .hamburger { display: flex !important; }
      .hero { padding: 50px 16px 40px; }
      .hero-evo-timeline { gap: 0; }
      .evo-line { width: 24px; }
      .evo-dot { width: 28px; height: 28px; font-size: 11px; }
      .evo-dot.current { width: 34px; height: 34px; }
      .evo-label { font-size: 9px; max-width: 56px; }
      .section { padding: 40px 16px; }
      .cards, #marketplace-list, #skills-list { grid-template-columns: 1fr; }
      .features { grid-template-columns: 1fr 1fr; }
      .stats { grid-template-columns: repeat(2,1fr); }
      .search-box { max-width: 100%; }
      .chat-search-section { padding: 0 16px 40px; }
      .chat-bubble { max-width: 95%; }
      .detail-page { padding: 20px 16px 40px; }
      .detail-hero { padding: 20px; }
      .detail-header { flex-direction: column; align-items: flex-start; }
      .detail-icon { width: 52px; height: 52px; font-size: 26px; }
      .detail-title h1 { font-size: 22px; }
      .detail-info-grid { grid-template-columns: 1fr; }
      .detail-section { padding: 16px; }
      .capabilities-grid, .related-agents { grid-template-columns: 1fr; }
      .intent-input-row { flex-direction: column; }
      .intent-send-btn { width: 100%; }
      .intent-result-score { display: none; }
    }
    @media (max-width: 375px) {
      .header { padding: 0 12px; } .header-inner { height: 52px; }
      .logo { font-size: 17px; } .logo-icon { width: 28px; height: 28px; font-size: 14px; border-radius: 6px; }
      .hero { padding: 36px 12px 30px; } .hero h1 { font-size: 28px; } .hero p { font-size: 14px; }
      .evo-line { width: 16px; }
      .evo-node { min-width: 52px; }
      .hero-quote { padding: 12px 16px; }
      .section { padding: 30px 12px; } .section-title { font-size: 22px; }
      .detail-page { padding: 16px 12px 32px; } .detail-hero { padding: 16px; border-radius: 12px; }
      .detail-title h1 { font-size: 20px; } .detail-section { padding: 14px; border-radius: 10px; }
      .detail-actions { flex-direction: column; } .detail-btn { width: 100%; justify-content: center; }
      .features { grid-template-columns: 1fr; } .footer { padding: 24px 12px; }
    }


