      @keyframes g3d-spin { to { transform: rotate(360deg); } }
      #g3d-wrap { position:relative; height:600px; border:1px solid #374151; border-radius:0.5rem; overflow:hidden; background:#111827; }
      #g3d-graph { width:100%; height:100%; display:block; }
      #g3d-loading { position:absolute;inset:0;background:#111827;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:10;gap:18px; }
      #g3d-loading .g3d-spinner { width:52px;height:52px;border:4px solid rgba(255,255,255,0.15);border-top-color:#7ee8fa;border-radius:50%;animation:g3d-spin 0.9s linear infinite; }
      #g3d-loading p { font-size:14px;color:rgba(255,255,255,0.5);letter-spacing:0.08em; }
      #g3d-error { position:absolute;inset:0;background:#111827;display:none;flex-direction:column;align-items:center;justify-content:center;z-index:10;gap:12px;color:#ff6b6b;font-size:16px; }
      #g3d-controls { position:absolute;top:16px;left:16px;z-index:5;display:flex;flex-direction:column;gap:8px; }
      #g3d-search-wrap { display:flex;gap:6px;align-items:center; }
      #g3d-search { background:rgba(255,255,255,0.08);border:1px solid rgba(255,255,255,0.2);border-radius:6px;color:#fff;font-size:13px;padding:6px 10px;outline:none;width:200px;transition:border-color 0.2s; }
      #g3d-search::placeholder { color:rgba(255,255,255,0.35); }
      #g3d-search:focus { border-color:rgba(126,232,250,0.6); }
      #g3d-btn-reset { background:rgba(251,146,60,0.12);border:1px solid rgba(251,146,60,0.35);border-radius:6px;color:#fb923c;font-size:12px;padding:6px 10px;cursor:pointer;transition:background 0.2s;white-space:nowrap; }
      #g3d-btn-reset:hover { background:rgba(251,146,60,0.25); }
      .g3d-zoom-btn { background:rgba(251,146,60,0.12);border:1px solid rgba(251,146,60,0.35);border-radius:6px;color:#fb923c;font-size:16px;font-weight:bold;width:32px;height:32px;cursor:pointer;transition:background 0.2s;display:flex;align-items:center;justify-content:center;line-height:1; }
      .g3d-zoom-btn:hover { background:rgba(251,146,60,0.25); }
      #g3d-stats { font-size:11px;color:rgba(255,255,255,0.35);padding-left:2px; }
      #g3d-title { position:absolute;top:16px;left:50%;transform:translateX(-50%);z-index:5;font-size:16px;font-weight:600;color:rgba(255,255,255,0.85);text-shadow:0 0 18px rgba(126,232,250,0.6);pointer-events:none;white-space:nowrap; }
      #g3d-legend { position:absolute;top:16px;right:16px;z-index:5;background:rgba(0,0,17,0.75);border:1px solid rgba(255,255,255,0.1);border-radius:8px;padding:12px 14px;max-height:calc(100% - 40px);overflow-y:auto;backdrop-filter:blur(6px);min-width:160px; }
      #g3d-legend h3 { font-size:11px;font-weight:600;letter-spacing:0.1em;text-transform:uppercase;color:rgba(255,255,255,0.45);margin-bottom:10px; }
      .g3d-legend-item { display:flex;align-items:center;gap:8px;margin-bottom:6px;cursor:pointer;border-radius:4px;padding:2px 4px;transition:background 0.15s; }
      .g3d-legend-item:hover { background:rgba(255,255,255,0.07); }
      .g3d-legend-swatch { width:12px;height:12px;border-radius:50%;flex-shrink:0; }
      .g3d-legend-label { font-size:12px;color:rgba(255,255,255,0.75); }
      .g3d-tooltip { background:rgba(0,0,20,0.92)!important;border:1px solid rgba(255,255,255,0.15)!important;border-radius:8px!important;padding:10px 14px!important;font-size:13px!important;color:#fff!important;max-width:280px!important;pointer-events:none!important; }
      .g3d-tt-name { font-weight:700;font-size:15px;margin-bottom:4px; }
      .g3d-tt-creator { font-size:11px;color:rgba(255,255,255,0.45);margin-bottom:6px; }
      .g3d-tt-summary { font-size:12px;color:rgba(255,255,255,0.72);line-height:1.5;margin-bottom:6px; }
      .g3d-tt-trust { font-size:11px;color:#7ee8fa; }
      .g3d-tt-badge { display:inline-block;border-radius:4px;padding:1px 6px;font-size:10px;margin-right:3px;margin-top:4px;opacity:0.85; }
      #g2d-graph { position:absolute;top:0;left:0;width:100%;height:100%; }
      #g2d-tooltip { pointer-events:none;max-width:280px;background:rgba(0,0,20,0.92);border:1px solid rgba(255,255,255,0.15);border-radius:8px;padding:10px 14px;font-size:13px;color:#fff;position:absolute;z-index:6; }
      .g3d-graph-btn { background:rgba(251,146,60,0.12);border:1px solid rgba(251,146,60,0.35);border-radius:6px;color:#fb923c;font-size:12px;font-weight:600;padding:5px 11px;cursor:pointer;transition:background 0.2s,color 0.2s;white-space:nowrap; }
      .g3d-graph-btn:hover { background:rgba(251,146,60,0.25); }
      .g3d-graph-btn.active { background:rgba(251,146,60,0.28);border-color:#fb923c;color:#fff; }