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

    :root {
      --bg: #f4f2ee;
      --white: #ffffff;
      --text: #12151f;
      --text-2: #444c5e;
      --text-3: #8891a6;
      --accent: #1847e3;
      --accent-hover: #1238c0;
      --accent-light: #eef1fd;
      --accent-muted: #c7d0f9;
      --border: #e0dcd4;
      --border-light: #ebebee;
      --shadow: 0 1px 3px rgba(18,21,31,.06);
      --shadow-md: 0 4px 12px rgba(18,21,31,.10);
      --radius: 10px;
      --radius-sm: 6px;
      --radius-pill: 100px;
    }

    html { font-size: 16px; scroll-behavior: smooth; }
    body {
      font-family: 'Onest', sans-serif;
      background: var(--bg);
      color: var(--text);
      min-height: 100vh;
      -webkit-font-smoothing: antialiased;
    }

    .container {
      font-family: 'Onest', sans-serif;
      -webkit-font-smoothing: antialiased;
      color: var(--text);
      width: 100%;
      max-width: 1120px;
      padding: 0 24px;
      margin: 0 auto;
    }

    .breadcrumb {
      padding: 18px 0 0;
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 13px;
      color: var(--muted);
    }

    .breadcrumb a {
      color: var(--muted);
      transition: color .15s;
    }

    .breadcrumb a:hover { color: var(--accent); }

    .breadcrumb-sep {
      color: var(--muted-2);
      font-size: 11px;
    }

    .breadcrumb-current { color: var(--text-2); font-weight: 500; }

    /* ─────────────────────────────────────────
       Page Layout
    ───────────────────────────────────────── */
    .page-grid {
      display: grid;
      grid-template-columns: 1fr 300px;
      gap: 28px;
      margin-top: 24px;
      margin-bottom: 24px;
      align-items: start;
    }

    .page-left { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
    .page-right { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 16px; }


    /* ── Buttons ── */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      font-family: 'Onest', sans-serif;
      font-size: 14px;
      font-weight: 600;
      border-radius: var(--radius-pill);
      border: none;
      cursor: pointer;
      transition: background .15s, box-shadow .15s;
      text-decoration: none;
      white-space: nowrap;
    }
    .btn-primary {
      background: var(--accent);
      color: var(--white);
      padding: 8px 16px;
    }
    .btn-primary:hover {
      background: var(--accent-hover);
      box-shadow: 0 2px 8px rgba(24,71,227,.25);
    }
    .btn-ghost {
      background: var(--white);
      color: var(--text);
      border: 1px solid var(--border);
      padding: 7px 14px;
    }
    .btn-ghost:hover { background: var(--bg); }
    .btn-sm { font-size: 13px; padding: 6px 14px; }

    /* ── Feed layout ── */
    .feed-wrap {
      max-width: 640px;
      margin: 0 auto;
      padding: 20px 16px 84px;
    }

    .feed-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 16px;
    }

    .feed-tabs {
      display: flex;
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: var(--radius-pill);
      padding: 3px;
      gap: 2px;
    }
    .feed-tab {
      font-size: 13px;
      font-weight: 500;
      padding: 5px 14px;
      border-radius: var(--radius-pill);
      border: none;
      background: none;
      color: var(--text-2);
      cursor: pointer;
      font-family: 'Onest', sans-serif;
      transition: background .15s, color .15s;
    }
    .feed-tab.active { background: var(--accent); color: var(--white); }

    /* ── Cards ── */
    .card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 16px;
      margin-bottom: 10px;
    }

    .card-header {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      margin-bottom: 8px;
    }

    .project-icon {
      width: 40px;
      height: 40px;
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      flex-shrink: 0;
    }

    .project-icon img {
      max-width: 40px;
      max-height: 40px;
    }

    .card-header-info { flex: 1; min-width: 0; }

    .card-title {
      font-family: 'Geologica', sans-serif;
      font-size: 16px;
      font-weight: 600;
      letter-spacing: -0.02em;
      color: var(--text);
      line-height: 1.3;
    }

    .card-meta {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: 5px;
      flex-wrap: wrap;
    }

    .stage-badge {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      font-size: 11.5px;
      font-weight: 600;
      padding: 2px 8px;
      border-radius: var(--radius-pill);
    }
    .stage-badge::before {
      content: '';
      display: block;
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: currentColor;
    }

    .stage-idea  { background: #eef1fd; color: #1847e3; }
    .stage-teaming  { background: #fef3c7; color: #92400e; }
    .stage-planning  { background: #f3e8ff; color: #7e22ce; }
    .stage-prototype { background: #dcfce7; color: #16a34a; }
    .stage-accelerator { background: #cffafe; color: #0e7490; }
    .badge-accel { background: #fff1f2; color: #e11d48; border: 1px solid #fecdd3; }  
      
    .card-founder {
      font-size: 12.5px;
      color: var(--text-2);
      display: flex;
      align-items: center;
      gap: 5px;
    }
    .founder-dot {
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background: var(--accent-light);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 9px;
      font-weight: 700;
      color: var(--accent);
      flex-shrink: 0;
    }

    .event-label {
      font-size: 12px;
      color: var(--text-3);
      display: flex;
      align-items: center;
      gap: 5px;
      margin-bottom: 8px;
    }
    .event-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--accent-muted);
      flex-shrink: 0;
    }

    .card-desc {
      font-size: 14px;
      color: var(--text-2);
      line-height: 1.55;
      margin-bottom: 12px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .roles-needed {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
      margin-bottom: 0px;
    }
    .role-tag {
      font-size: 12px;
      font-weight: 500;
      color: var(--text-2);
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius-pill);
      padding: 3px 10px;
    }
    .role-tag-open {
      color: var(--accent);
      background: var(--accent-light);
      border-color: var(--accent-muted);
      font-size: 11.5px;
    }

    .card-footer {
      display: flex;
      align-items: center;
      gap: 6px;
      flex-wrap: wrap;
      border-top: 1px solid var(--border-light);
      padding-top: 12px;
    }

    .action-btn {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 13px;
      font-weight: 500;
      border: 1px solid var(--border);
      border-radius: var(--radius-pill);
      background: none;
      color: var(--text-2);
      padding: 5px 12px;
      cursor: pointer;
      transition: all .15s;
      font-family: 'Onest', sans-serif;
    }
    .action-btn:hover { background: var(--bg); }
    .action-btn.watching {
      background: var(--accent-light);
      border-color: var(--accent-muted);
      color: var(--accent);
    }
    .action-btn.join-btn {
      background: var(--accent);
      border-color: var(--accent);
      color: var(--white);
      font-weight: 600;
      margin-left: auto;
    }
    .action-btn.join-btn:hover { background: var(--accent-hover); }

    .card-closed-label {
      margin-left: auto;
      font-size: 12px;
      color: var(--text-3);
    }

    /* ── Bottom Nav (mobile only) ── */
    .bottom-nav {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 100;
      height: 64px;
      background: rgba(244, 242, 238, 0.95);
      backdrop-filter: blur(16px);
      border-top: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: space-around;
      padding: 0 4px;
    }
    .bottom-nav-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 3px;
      padding: 8px 18px;
      border-radius: var(--radius);
      color: var(--text-3);
      font-size: 10.5px;
      font-weight: 500;
      text-decoration: none;
      cursor: pointer;
      border: none;
      background: none;
      font-family: 'Onest', sans-serif;
      transition: color .15s;
    }
    .bottom-nav-item.active { color: var(--accent); }
    .bottom-nav-item svg { width: 22px; height: 22px; }
    .bottom-nav-create { color: var(--accent); }

    /* ── Desktop: show nav links, hide bottom nav ── */
    @media (min-width: 768px) {
      .nav-links { display: flex; }
      .bottom-nav { display: none; }
      .feed-wrap { padding: 24px 24px 48px; }
    }

    /* ── Desktop Kanban ── */
    .kanban-wrap { display: none; }

    @media (min-width: 1080px) {
      .feed-wrap { display: none; }
      .kanban-wrap {
        display: block;
        padding: 24px 24px 48px;
        overflow-x: auto;
      }
      .kanban-board {
        display: flex;
        gap: 14px;
        min-width: max-content;
        align-items: flex-start;
      }
      .kanban-col { width: 272px; flex-shrink: 0; }
      .kanban-col-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 10px;
        padding: 0 4px;
      }
      .kanban-col-title {
        font-family: 'Geologica', sans-serif;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: -0.01em;
        color: var(--text-2);
      }
      .kanban-col-count {
        font-size: 11.5px;
        font-weight: 600;
        color: var(--text-3);
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: var(--radius-pill);
        padding: 1px 8px;
      }
      .kanban-card {
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        padding: 14px;
        margin-bottom: 10px;
        transition: box-shadow .15s, transform .15s;
      }
      .kanban-card a {
        text-decoration: none;
        color: var(--text-2);
      }


      .kanban-card:hover {
        box-shadow: var(--shadow-md);
        transform: translateY(-1px);
      }
      .kanban-card-title {
        font-family: 'Geologica', sans-serif;
        font-size: 14px;
        font-weight: 600;
        letter-spacing: -0.02em;
        margin: 8px 0 6px;
      }
      .kanban-card-desc {
        font-size: 12.5px;
        color: var(--text-2);
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 10px;
      }
      .kanban-card-footer {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid var(--border-light);
      }
      .kanban-card-footer .action-button {
        font-size: 12px;
        font-weight: 500;
        padding: 4px 10px;
        border: 1px solid var(--border);
        border-radius: var(--radius-pill);
        background: none;
        color: var(--text-2);
        cursor: pointer;
        font-family: 'Onest', sans-serif;
        transition: all .15s;
        display: inline-flex;
        align-items: center;
        gap: 4px;
      }
      .kanban-card-footer .action-button:hover { background: var(--bg); }
      .kanban-card-footer .action-button.watching {
        background: var(--accent-light);
        border-color: var(--accent-muted);
        color: var(--accent);
      }
      .kanban-join {
        background: var(--accent);
        border-color: var(--accent);
        color: var(--white);
        font-weight: 600;
        margin-left: auto;
      }
      .kanban-join:hover { background: var(--accent-hover); }
      .kanban-empty {
        background: var(--white);
        border: 1px dashed var(--border);
        border-radius: var(--radius);
        padding: 24px 16px;
        text-align: center;
        color: var(--text-3);
        font-size: 13px;
        line-height: 1.5;
      }
    }

