.x-profile-container {
    max-width: 100%;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: transparent;
    color: #0f1419;
    border: 0px solid #eff3f4;
    border-radius: 0;
    overflow: hidden;
}
button.x-btn-follow a {
    color: #fff;
}
        .x-top-bar {
            display: flex;
            align-items: center;
            padding: 10px 16px;
            gap: 20px;
        }
        .x-back-arrow {
            font-size: 18px;
            cursor: pointer;
            text-decoration: none;
            color: #0f1419;
            font-weight: bold;
        }
        .x-top-title {
            font-size: 18px;
            font-weight: 700;
            margin: 0;
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .x-verified-badge {
            width: 18px;
            height: 18px;
            fill: #1d9bf0;
            vertical-align: middle;
        }
        .x-post-count {
            font-size: 13px;
            color: #536471;
            margin: 0;
        }

        /* Header Banner Image */
        .x-banner-container {
            width: 100%;
            height: 180px;
            background-color: #cfd9de;
            overflow: hidden;
        }
        .x-banner-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* Profile Actions Row (Avatar + Buttons) */
        .x-profile-header-actions {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            padding: 0 16px;
            position: relative;
            margin-top: -65px; /* Overlaps avatar onto banner */
            margin-bottom: 12px;
        }
        .x-avatar-wrapper {
            position: relative;
            width: 130px;
            height: 130px;
            border-radius: 50%;
            border: 4px solid #ffffff;
            background-color: #ffffff;
            overflow: hidden;
        }
        .x-avatar-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .x-action-buttons {
            display: flex;
            gap: 8px;
            align-items: center;
        }
.x-btn-icon {
    border-radius: 50%;
    border: 1px solid #cfd9de;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 21px;
    transition: background 0.2s;
    padding: 8px 8px;
}
        .x-btn-icon:hover {
            background-color: #eff3f4;
        }
        .x-btn-follow {
            background-color: #0f1419;
            color: #ffffff;
            border: none;
            border-radius: 20px;
            padding: 8px 18px;
            font-weight: 700;
            font-size: 14px;
            cursor: pointer;
            transition: background 0.2s;
        }
        .x-btn-follow:hover {
            background-color: #272c30;
        }

        /* Profile Info Body */
        .x-profile-details {
            padding: 0 16px 16px 16px;
        }
        .x-name-heading {
            font-size: 20px;
            font-weight: 800;
            margin: 0;
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .x-handle {
            font-size: 14px;
            color: #536471;
            margin: 2px 0 12px 0;
        }
        .x-bio-text {
            font-size: 14px;
            line-height: 1.4;
            margin: 0 0 12px 0;
            color: #0f1419;
        }

        /* Meta details line (Location, Link, Joined) */
        .x-meta-info {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            font-size: 14px;
            color: #536471;
            margin-bottom: 12px;
        }
        .x-meta-item {
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .x-meta-link {
            color: #1d9bf0;
            text-decoration: none;
        }
        .x-meta-link:hover {
            text-decoration: underline;
        }

        /* Follower Stats */
        .x-stats-row {
            display: flex;
            gap: 16px;
            font-size: 14px;
            color: #536471;
        }
        .x-stat-val {
            font-weight: 700;
            color: #0f1419;
        }
.fb-page-container {
    max-width: 100%;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: transparent;
    color: #050505;
}

.fb-cover-container {
  position: relative;
  width: 100%;
  height: 250px;
  background-color: #e4e6eb;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  overflow: hidden;
}
ul.fb-intro-list {
    padding-left: 0px;
}
.fb-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.fb-header-section {
  display: flex;
  align-items: flex-end;
  padding: 0 32px 16px 32px;
  position: relative;
  margin-top: -60px; 
}

.fb-profile-avatar-wrapper {
  position: relative;
  width: 160px;
  height: 160px;
  flex-shrink: 0;
}

.fb-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 4px solid #ffffff;
  object-fit: cover;
  background-color: #ffffff;
}

.fb-camera-icon {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background-color: #e4e6eb;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid #ffffff;
  font-size: 16px;
}

.fb-profile-info {
  margin-left: 20px;
  margin-bottom: 12px;
}

.fb-profile-name {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 4px 0;
}

.fb-followers-count {
  font-size: 15px;
  color: #65676b;
  margin: 0;
}

.fb-divider {
  border: none;
  border-top: 1px solid #ced0d4;
  margin: 0 32px 16px 32px;
}

/* Page Layout Grid */
.fb-content-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 16px;
  padding: 0 0px 32px 0px;
}

.fb-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.fb-card-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px 0;
}

/* Sidebar / Intro Card */
.fb-bio-description {
  font-size: 14px;
  color: #050505;
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.4;
}

.fb-intro-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

.fb-intro-list li {
  display: flex;
  align-items: center;
  font-size: 14px;
  margin-bottom: 12px;
  color: #050505;
}

.fb-intro-list a {
  color: #050505;
  text-decoration: none;
}

.fb-intro-list a:hover {
  text-decoration: underline;
}

.fb-icon {
  margin-right: 12px;
  font-size: 18px;
  width: 20px;
  text-align: center;
}

.fb-btn {
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 12px;
  cursor: pointer;
  background-color: #e4e6eb;
  color: #050505;
  transition: background-color 0.2s;
}

.fb-btn:hover {
  background-color: #d8dadf;
}

.fb-btn-block {
  width: 100%;
  margin-bottom: 16px;
}

/* Hobby Tags */
.fb-hobbies-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fb-tag {
  background-color: #ffffff;
  border: 1px solid #ced0d4;
  border-radius: 18px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #050505;
}
.fb-post-card {
  padding: 12px;
}

.fb-post-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.fb-post-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
}

.fb-post-author-details {
  flex-grow: 1;
}

.fb-post-author {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

.fb-post-time {
  font-size: 13px;
  color: #65676b;
}

.fb-post-more-btn {
  background: none;
  border: none;
  font-size: 16px;
  color: #65676b;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 50%;
}

.fb-post-more-btn:hover {
  background-color: #f2f2f2;
}

.fb-post-caption {
  font-size: 14px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.fb-post-media img {
  width: 100%;
  border-radius: 6px;
  display: block;
}



.insta-profile-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: transparent;
    color: #262626;
}
.tab-item img, .tab-item a {
    width: 100%;
    max-width: 100%;
}

.insta-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.insta-profile-pic {
  flex-shrink: 0;
  margin-right: 40px;
}

.insta-profile-pic img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #dbdbdb;
}

.insta-details {
  flex-grow: 1;
}

.insta-username-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.insta-username {
  font-size: 22px;
  font-weight: 300;
  margin: 0;
}

.insta-options-dots {
  font-size: 16px;
  cursor: pointer;
  color: #262626;
}

.insta-stats {
  display: flex;
  gap: 25px;
  margin-bottom: 15px;
  font-size: 14px;
}

.stat-number {
  font-weight: 600;
}

/* Bio */
.insta-bio {
  font-size: 14px;
  line-height: 1.4;
}

.bio-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px 0;
}

.bio-text {
  margin: 0 0 4px 0;
  color: #262626;
}

.bio-link {
  color: #00376b;
  text-decoration: none;
  font-weight: 400;
}

.bio-link:hover {
  text-decoration: underline;
}


.insta-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
}

.btn {
  flex: 1;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-align: center;
}

.btn-follow {
  background-color: #0095f6;
  color: #ffffff;
}

.btn-follow:hover {
  background-color: #1877f2;
}

.btn-message {
  background-color: #efeef0;
  color: #000000;
}

.btn-message:hover {
  background-color: #dbdbdb;
}


.insta-tabs {
  display: flex;
  justify-content: space-around;
  border-top: 1px solid #dbdbdb;
  margin-bottom: 0;
}

.tab-item {
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  cursor: pointer;
  border-top: 1px solid transparent;
}

.tab-item.active {
  border-top: 1px solid #262626;
}


.insta-grid-container {
  margin-top: 0;
  width: 100%;
}

@media (max-width: 768px) {
  .fb-header-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: -80px;
    padding: 0 16px 16px 16px;
  }

  .fb-profile-info {
    margin-left: 0;
    margin-top: 10px;
  }

  .fb-content-grid {
    grid-template-columns: 1fr;
    padding: 0 16px 16px 16px;
  }

  .fb-divider {
    margin: 0 16px 16px 16px;
  }
}


@media (max-width: 600px) {
            .x-banner-container { height: 120px; }
            .x-avatar-wrapper {
                width: 90px;
                height: 90px;
            }
            .x-profile-header-actions { margin-top: -45px; }	
  .insta-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .insta-profile-pic {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .insta-username-row {
    justify-content: center;
    gap: 15px;
  }

  .insta-stats {
    justify-content: center;
  }
}