
    :root {
      --bg: #ffffff;
      --surface: #fafafa;
      --surface-hover: #f5f5f5;
      --border: #e5e5e5;
      --text: #0a0a0a;
      --muted: #737373;
      --accent: #0a0a0a;
      --radius: 16px;
    }
    * { box-sizing: border-box; }
    html, body { margin: 0; padding: 0; height: 100%; font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--bg); color: var(--text); }
    .codex-header {
      position: sticky; top: 0; z-index: 50;
      background: rgba(255,255,255,0.92); backdrop-filter: blur(8px);
      border-bottom: 1px solid var(--border);
      padding: 16px 24px;
    }
    .codex-header-inner {
      max-width: 1100px; margin: 0 auto;
      display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    }
    .codex-brand {
      display: flex; align-items: center; gap: 10px;
      font-family: ui-monospace, monospace; font-weight: 700; font-size: 18px;
      text-decoration: none; color: var(--text);
    }
    .codex-brand span { color: var(--muted); }
    .codex-search {
      flex: 1; min-width: 220px;
      position: relative;
    }
    .codex-search input {
      width: 100%; padding: 12px 16px 12px 42px;
      border: 1px solid var(--border); border-radius: 12px;
      font-size: 15px; background: var(--surface);
      outline: none;
    }
    .codex-search input:focus { border-color: var(--accent); background: #fff; }
    .codex-search svg {
      position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
      width: 18px; height: 18px; color: var(--muted);
    }
    .codex-back {
      margin-left: auto;
      font-size: 14px; color: var(--muted); text-decoration: none;
      display: flex; align-items: center; gap: 6px;
    }
    .codex-back:hover { color: var(--text); }
    .codex-main {
      max-width: 1100px; margin: 0 auto; padding: 40px 24px 80px;
    }
    .codex-title {
      font-size: 36px; font-weight: 800; margin: 0 0 12px;
      letter-spacing: -0.02em;
    }
    .codex-subtitle {
      color: var(--muted); font-size: 17px; max-width: 640px; margin-bottom: 32px;
      line-height: 1.5;
    }
    .codex-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      gap: 20px;
    }
    .codex-card {
      display: block;
      border: 1px solid var(--border); border-radius: var(--radius);
      padding: 24px;
      background: var(--surface);
      text-decoration: none; color: inherit;
      transition: transform .15s, box-shadow .15s, border-color .15s;
    }
    .codex-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 32px rgba(0,0,0,0.08);
      border-color: #d4d4d4;
    }
    .codex-card-icon {
      width: 48px; height: 48px; border-radius: 12px;
      display: flex; align-items: center; justify-content: center;
      font-size: 24px; margin-bottom: 16px;
      background: #fff; border: 1px solid var(--border);
    }
    .codex-card-title {
      font-size: 18px; font-weight: 700; margin: 0 0 6px;
    }
    .codex-card-desc {
      font-size: 14px; color: var(--muted); line-height: 1.45;
      margin: 0 0 14px;
    }
    .codex-card-count {
      display: inline-flex; align-items: center; gap: 6px;
      font-family: ui-monospace, monospace; font-size: 12px;
      color: var(--muted); background: #fff;
      padding: 4px 10px; border-radius: 20px; border: 1px solid var(--border);
    }
    .codex-empty {
      display: none;
      text-align: center; padding: 60px 20px; color: var(--muted);
    }
    .codex-empty.visible { display: block; }
    @media (max-width: 640px) {
      .codex-title { font-size: 28px; }
      .codex-grid { grid-template-columns: 1fr; }
    }
  