:root{
      --brand-green: #16a34a;
      --bg: #ffffff;
      --muted: #6b7280;
      --card: #f9fafb;
      --gap: 14px;
    }
    *{box-sizing: border-box}
    body{
      margin:0;
      font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
      background: var(--bg);
      color:#111827;
      -webkit-font-smoothing:antialiased;
      -moz-osx-font-smoothing:grayscale;
    }
    .container{
      max-width:900px;
      margin:18px auto;
      border:1px solid #e6e6e6;
      border-radius:12px;
      overflow:hidden;
      box-shadow:0 6px 20px rgba(16,24,40,0.04);
      background:white;
    }

    /* PROFILE HEADER */
    .profile-header{
      padding:22px;
      border-bottom:4px solid var(--brand-green);
      text-align:center;
    }
    .profile-top{
      display:flex;
      align-items:center;
      gap:18px;
      justify-content:center;
    }
    .profile-pic{
      width:96px;
      height:96px;
      border-radius:50%;
      object-fit:cover;
      border:3px solid var(--brand-green);
    }
    .profile-info{
      text-align:left;
    }
    .profile-name{
      display:flex;
      align-items:center;
      gap:10px;
      font-size:20px;
      font-weight:700;
    }
    .verified{
      background:var(--brand-green);
      color:#fff;
      font-size:12px;
      padding:4px 8px;
      border-radius:12px;
    }
    .stats{
      display:flex;
      gap:20px;
      margin-top:8px;
      color:var(--muted);
      font-size:14px;
    }

    .action-btns{
      margin-top:14px;
      display:flex;
      justify-content:center;
      gap:10px;
    }
    .btn{
      border:none;
      padding:10px 16px;
      border-radius:10px;
      font-weight:600;
      cursor:pointer;
      font-size:14px;
    }
    .follow-btn{ background:var(--brand-green); color:#fff; }
    .message-btn{ background:#111827; color:#fff; opacity:0.95; }

    .bio{
      margin-top:12px;
      color:var(--muted);
      font-size:14px;
      text-align:center;
      padding:0 18px 8px;
    }

    /* NEWS SLIDER */
    .news-slider{
      display:flex;
      gap:12px;
      overflow-x:auto;
      padding:14px;
      background:var(--card);
      -webkit-overflow-scrolling: touch;
    }
    .news-card{
      min-width:220px;
      background:#fff;
      border-radius:10px;
      box-shadow:0 6px 18px rgba(17,24,39,0.03);
      border:1px solid #eee;
      overflow:hidden;
      flex-shrink:0;
    }
    .news-card img{
      width:100%;
      height:120px;
      object-fit:cover;
      display:block;
    }
    .news-card .news-body{
      padding:10px;
    }
    .news-card h4{
      margin:0 0 6px;
      font-size:15px;
    }
    .news-card p{ margin:0; color:var(--muted); font-size:13px; }

    /* POSTS */
    .posts{ padding:16px; }
    .post{
      border-bottom:1px solid #f1f1f1;
      padding:14px 0;
    }
    .post-header{
      display:flex;
      align-items:center;
      gap:10px;
      margin-bottom:8px;
    }
    .post-header img{ width:40px; height:40px; border-radius:50%; object-fit:cover; border:2px solid #eee; }
    .post-header .meta{ font-size:14px; color:var(--muted); }
    .post-text{ font-size:15px; margin:6px 0; color:#111827; }
    .post-image{ width:100%; max-height:420px; object-fit:cover; border-radius:10px; margin-top:8px; display:block; }

    .actions{
      display:flex;
      gap:16px;
      margin-top:10px;
      align-items:center;
    }
    .actions button{
      background:none;
      border:none;
      cursor:pointer;
      font-size:18px;
      color:var(--muted);
      display:flex;
      align-items:center;
      gap:8px;
      padding:6px;
      border-radius:8px;
    }
    .actions button:hover{ background:#f3f4f6; color:#111827; }
    .actions button.liked{ color:var(--brand-green); }

    /* small screens */
    @media (max-width:640px){
      .container{ margin:8px; }
      .news-card{ min-width:180px; }
      .profile-top{ gap:12px; }
      .profile-name{ font-size:18px; }
      .profile-pic{ width:80px; height:80px; }
    }
    .share-popup {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex; justify-content: center; align-items: center;
  z-index: 99999;
}
.share-card {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  width: 90%;
  max-width: 300px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}
.share-buttons {
  display: flex; justify-content: space-around; margin: 15px 0;
}
.share-buttons a, .share-buttons button {
  font-size: 22px; color: #16a34a; background: none; border: none;
  cursor: pointer;
}
.share-buttons a:hover, .share-buttons button:hover { color: #0e7a35; }
.close-share {
  background: #ccc; border: none; border-radius: 10px; padding: 5px 10px;
  cursor: pointer;
}
.delete-btn {
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 8px;
  font-size: 16px;
}
.delete-btn:hover i {
  transform: scale(1.2);
}
