    .post-wrapper {
      display: flex;
      flex-direction: column;
      /* max-width: 1000px; */
      /* margin: auto; */
      background: transparent;
      gap: 20px;
      margin: 20px 30px;
    }

    .content-block {
      display: flex;
      flex-direction: column;
      background: transparent;
      gap: 20px;
    }

    @media (min-width: 769px) {
      .content-block {
        flex-direction: row;
        /* flex-direction: column; */
        align-items: stretch;
      }

      .profile-header {
       display: none !important;
      }

      .post-body-wrapper {
        width: 100%;
      }
    }

    .profile-header {
      background: linear-gradient(90deg, rgba(21, 23, 46, 0.92), rgba(45, 31, 38, 0.92)),
                  url(https://i.ibb.co/7C5k0LD/bg-texture.jpg) no-repeat center center;
      background-size: cover;
      border-radius: 10px;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 15px 10px;
      box-shadow: 0 0 10px rgba(0,0,0,0.5);
    }

    .left {
      display: flex;
      align-items: center;
      gap: 15px;
    }

    .avatar {
      width: 55px;
      height: 55px;
      border-radius: 50%;
      object-fit: cover;
    }

    .userinfo {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .username {
      font-weight: bold;
      color: #ff4c91;
      /* display: flex; */
      align-items: center;
      gap: 6px;
    }

    .username a {
      color: #ff3a3a;
      text-decoration: none;
    }

    .username i {
      color: gold;
    }

    .usertitle {
      color: var(--text-light);
      font-size: 13px;
      margin-top: -2px;
      text-align: center;
    }

    .badge-icon {
      width: 36px;
      height: 36px;
      margin-top: 5px;
    }

    .userbar {
      display: flex;
      justify-content: center;
      margin-top: 10px;
    }

    .userbar img {
      height: 40px;
      max-width: 100%;
    }

    .statsthread {
      display: grid;
      grid-template-columns: repeat(2, auto);
      gap: 10px;
      margin-top: 15px;
    }
@media (max-width: 768px) {
  .profile-header {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    text-align: left;
    gap: -4px;
  }
  .username {margin: 0px 0px !important;}
.threadprofile-card {
  display:none
    }
  .left {
    flex-direction: row;
    gap: 10px;
    align-items: center;
  }

  .userinfo {
    align-items: flex-start;
  }

  .userbar,
  .badge-icon {
    /* display: none; */ /* hide on mobile if needed */
  }

  .statsthread {
    margin-top: 0;
    gap: 10px;
    display: grid;
    grid-template-columns: repeat(2, auto);
  }

  .statsthread .box {
    padding: 8px 12px;
  }
}
    .statsthread .box {
      background: #000;
      color: #fff;
      border-radius: 8px;
      padding: 8px 12px;
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 11px;
      min-width: 50px;
      justify-content: center;
    }

    .post-body-wrapper {
      display: flex;
      flex-direction: column;
      gap: 10px;
      align-items: stretch;
    }

    .post-body {
      background: var(--card-bg);
      border-radius: 10px;
      padding: 20px;
      box-shadow: 0 0 8px rgba(0,0,0,0.4);
      display: flex;
      flex-direction: column;
      align-items: stretch;
      height: 100%;
    }

    .post-meta {
      display: flex;
      justify-content: space-between;
      font-size: 13px;
      color: var(--text-light);
      margin-bottom: 10px;
      flex-wrap: wrap;
    }

    .thread-author {
      background: var(--accent);
      color: #000;
      padding: 3px 8px;
      font-size: 12px;
      border-radius: 6px;
      font-weight: bold;
      margin-top: 5px;
    }

    .post-content {
      margin: 15px 0;
      font-size: 15px;
    }

    .post-actions {
      /* display: flex; */
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 10px;
    }

    .post-actions button {
      background: var(--highlight-bg);
      border: none;
      padding: 8px 12px;
      border-radius: 6px;
      color: var(--text-main);
      font-size: 13px;
      display: flex;
      align-items: center;
      gap: 6px;
      cursor: pointer;
    }

    .post-liked {
      background: var(--highlight-bg);
      padding: 10px;
      border-radius: 10px;
      color: var(--text-light);
      font-size: 13px;
    }


    .stat-boxes {
      display: flex;
      gap: 15px;
      background: #15172e;
      padding: 15px;
      border-radius: 12px;
      border: 1px solid #222;
    }

    .stat-card {
      background: #000;
      color: #fff;
      border-radius: 10px;
      padding: 20px 30px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      border: 1px solid #2b2b2b;
      min-width: 100px;
      box-shadow: 0 0 5px rgba(0,0,0,0.3);
      text-align: center;
    }

    .stat-card i {
      font-size: 20px;
      margin-bottom: 8px;
      color: #ffffff;
    }

    .stat-card span {
      font-size: 14px;
      font-weight: 600;
      color: #d3d3e2;
    }

    .threadprofile-card {
      background: var(--secondary-bg);
      border-radius: 14px;
      /* width: 300px; */
      /* padding: 20px; */
      /* margin: auto; */
      text-align: center;
      box-shadow: 0 0 10px rgba(0,0,0,0.6);
      height: 100%;
    }

    .username {
      color: var(--link-color);
      font-size: 22px;
      font-weight: bold;
      margin: 10px 10px;
      position: relative;
      /* z-index: 1; */ /* ensures it's above the background */
      /* display: inline-flex; */
      /* align-items: center; */';;
    }

    .user-role {
      color: var(--text-light);
      font-size: 15px;
      margin-bottom: 15px;
    }

    .avatar-wrapper {
      position: relative;
      margin-bottom: 15px;
    }

    .avatar-wrapper img {
      border-radius: 10px;
      width: 150px;
      height: 150px;
      object-fit: cover;
    }

    .avatar-badge {
      position: absolute;
      bottom: 6px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--accent);
      border-radius: 50%;
      padding: 6px;
      font-size: 12px;
      color: #000;
    }

    .badge-image {
      margin-bottom: 10px;
    }

    .badge-image img {
      max-width: 160px;
      height: auto;
    }

.rep-vouch {
  display: flex;
  justify-content: space-around;
  align-items: center;
  border: 1px solid var(--highlight-bg);
  border-radius: 30px;
  padding: 8px 0; /* Smaller padding */
  margin: 12px 10px; /* Smaller margin */
  background: var(--highlight-bg);
}

.rep-vouch div {
  flex: 1;
  text-align: center;
  font-size: 12px; /* Smaller font size */
  color: var(--text-light);
}

.rep-vouch strong {
  display: block;
  font-size: 14px; /* Smaller font size for the number */
  color: #2aff70;
}

.rep-vouch i {
  font-size: 16px; /* Smaller icon size */
}
    .stats-block {
      background: var(--card-bg);
      border-radius: 14px;
      padding: 10px 30px;
      margin-bottom: 15px;
    }

    .stat {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin: 8px 0;
      padding: 6px 0;
      border-bottom: 1px solid var(--highlight-bg);
      font-size: 14px;
      color: var(--text-light);
    }

    .stat:last-child {
      border-bottom: none;
    }

    .stat i {
      margin-right: 8px;
      color: var(--text-muted);
    }

    .stat .value {
      font-weight: bold;
      color: var(--text-bright);
    }

    .stat.credits .value {
      color: #2aff70;
    }

    .duration-badge {
      background: var(--link-color);
      color: var(--text-bright);
      padding: 10px 16px;
      border-radius: 12px;
      font-weight: bold;
      font-size: 14px;
      margin-top: 10px;
      display: inline-block;
      box-shadow: 0 0 5px rgba(255, 130, 195, 0.3);
    }

    .duration-badge::before,
    .duration-badge::after {
      content: "?";
      margin: 0 6px;
    }
.post_bg {
    background: linear-gradient(90deg, rgba(21, 23, 46, 0.92), rgba(45, 31, 38, 0.92)), url(https://i.ibb.co/7C5k0LD/bg-texture.jpg) no-repeat center center;
    background-size: cover!important;
    /* position: absolute; */
    z-index: 1;
    /* padding: 20px 0; */
    /* top: 0; */
    /* right: 0; */
    /* bottom: 0; */
    /* left: 0; */
    /* opacity: 0.30; */
}

.post_bg.active:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-image: -o-linear-gradient(top,transparent,#282828);
    background-image: -webkit-gradient(linear,left top,left bottom,from(transparent),to(#282828));
    background-image: linear-gradient(to bottom,transparent,#282828)
}
.userDesc {
    color: #6674DE;
    font-size: 13px;
    /* display: flex; */
    margin-bottom: 10px;
    width: 100%;
    border-radius: 3px;
    padding: 8px 12px;
    text-align: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background: rgba(0,0,0,0.20)
}
   .author_statistics {
        width: 100%;
        font-size: 12px;
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .postbit-box {
        display: flex;
        background: #2f2f2f;
        border-radius: 10px;
        padding: 8px;
        margin: 5px 0;
        align-items: center;
        box-sizing: border-box;
        border: 1px solid rgba(0, 0, 0, 0.2);
    }

    .postbit-box .iconpostbit {
        background: #5a3bb6;
        padding: 8px;
        border-radius: 50%;
        margin-right: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .postbit-box .iconpostbit i {
        color: #fff;
    }

    .postbit-box .data {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .postbit-box .text {
        color: rgba(255, 255, 255, 0.7);
        text-transform: uppercase;
    }

    .postbit-box .value a {
        font-weight: bold;
        color: #b772ff;
        text-decoration: none;
    }

    .postbit-box .value {
        font-weight: bold;
        color: rgba(255, 255, 255, 0.9);
    }

    

    .stats-container {
      display: flex;
      flex-direction: column;
      gap: 8px;
      align-items: center;
      padding: 1rem;
    }

    .authorstat-card {
      display: flex;
      align-items: center;
      width: 210px;
      /* background-color: var(--accent); */
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 3px 6px rgba(0,0,0,0.3);
      /* color: var(--text-bright); */
      background-color: var(--secondary-bg);
    }

    .icon-box {
      /* background-color: var(--icon-bg); */
      padding: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      min-width: 38px;
      background-color: rgb(154 127 224 / 10%);
    }

    .icon-box i {
      font-size: 16px;
      color: var(--accent-soft);
    }

    .stat-content {
      flex-grow: 1;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 8px 12px;
      font-size: 13px;
      /* font-style: unset; */
      text-transform: uppercase;
    }

    .label {
      font-weight: 500;
    }

    .value {
      font-weight: bold;
    }
  input.checkbox {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--input-border);
    border-radius: 4px;
    background-color: var(--input-bg);
    display: inline-block;
    position: relative;
    vertical-align: middle;
    margin: -2px 0 0 5px;
    transition: all 0.2s ease;
  }

  input.checkbox:checked {
    background-color: var(--accent);
    border-color: var(--accent-soft);
  }

  input.checkbox:checked::after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: white;
    font-size: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  input.checkbox {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--input-border);
    border-radius: 4px;
    background-color: var(--input-bg);
    display: inline-block;
    position: relative;
    vertical-align: middle;
    margin: -2px 0 0 5px;
    transition: all 0.2s ease;
  }

  input.checkbox:checked {
    background-color: var(--accent);
    border-color: var(--accent-soft);
  }

  input.checkbox:checked::after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: white;
    font-size: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  input.textbox {
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--input-text);
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border 0.3s ease, box-shadow 0.3s ease;
  }

  input.textbox:focus {
    border-color: var(--input-focus-border);
    box-shadow: 0 0 0 2px var(--shadow-color);
  }

  input.radio {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid var(--input-border);
    border-radius: 50%;
    background-color: var(--input-bg);
    position: relative;
    vertical-align: middle;
    margin-right: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  input.radio:checked::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
  }
    .thread-titlex {
      display: flex;
      align-items: center;
      gap: 10px;
      background-color: var(--card-bg);
      padding: 14px 20px;
      border-left: 4px solid var(--accent);
      border-radius: 8px;
      box-shadow: 0 0 8px var(--shadow-color);
      font-size: 1.25rem;
      font-weight: 600;
      color: var(--text-main);
      transition: background 0.3s ease;
      margin: 20px 30px;
    }

    .thread-titlex:hover {
      background-color: var(--highlight-bg);
    }

    .thread-titlex i {
      color: var(--accent-soft);
      font-size: 18px;
    }


    .op-badge {
display: inline-flex
;
    align-items: center;
    background-color: #7f56d92e;
    color: var(--accent-soft);
    font-weight: 600;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 255, 128, 0.2);
    gap: 6px;
    animation: pulseGlow 2s ease-in-out infinite;
    transition: 0.3s ease;
    }

    .op-badge i {
      font-size: 14px;
    }

    @keyframes pulseGlow {
      0% {
        box-shadow: 0 0 5px rgba(127, 86, 217, 0.18);
        transform: scale(1);
      }
      50% {
        box-shadow: 0 0 12px rgba(127, 86, 217, 0.48);
        transform: scale(1.05);
      }
      100% {
        box-shadow: 0 0 5px rgba(127, 86, 217, 0.18);
        transform: scale(1);
      }
    }
  .info-bar {
    background-color: var(--highlight-bg);
    color: var(--accent-soft);
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 13px;
    font-family: Arial, sans-serif;
    display: flex;
    align-items: center;
    gap: 14px;
    width: fit-content;
  }

  .info-bar i {
    margin-right: 6px;
    color: var(--accent-soft);
  }

  .info-section {
    display: flex;
    align-items: center;
  }

  .label {
    font-weight: bold;
    margin-right: 8px;
    color: var(--text-bright);
  }
.profile-header {
  position: relative;
  color: white;
  overflow: hidden;
}

.bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
 
  background-size: cover;
  opacity: 0.4;
  z-index: 0;
}

.profile-header > *:not(.bg-image) {
  position: relative;
  z-index: 1; /* Keep everything else on top */
}
	.bg-imagepc {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 292px;
  background-size: cover;
  opacity: 0.4;
  z-index: 0;
}
.threadprofile-card {
  position: relative;
  color: white;
  overflow: hidden;
}.threadprofile-cardpc> *:not(.bg-image) {
  position: relative;
  z-index: 1; /* Keep everything else on top */
}

    .like-span {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background-color: var(--like-bg);
      color: var(--like-text);
      font-weight: bold;
      font-size: 14px;
      padding: 4px 14px;
      border-radius: 8px;
      box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
      transition: all 0.3s ease;
      cursor: pointer;
    }

    .like-span i {
      font-size: 16px;
      color: var(--like-text);
    }

    .like-span:hover {
      background-color: var(--like-hover);
      box-shadow: 0 0 12px var(--like-glow);
    }


    .liked-by-block {
      background-color: var(--card-bg);
      border: 1px solid var(--border-color);
      border-left: 4px solid var(--accent);
      border-radius: 8px;
      padding: 12px 1px;
      /* max-width: 600px; */
      width: 100%;
      box-shadow: 0 0 8px var(--shadow-color);
      font-size: 14px;
    }

    .liked-by-inline {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 8px;
      font-size: 13px;
      color: var(--text-muted);
      margin-left: 12px;
    }

    .liked-by-inline i {
      font-size: 14px;
      color: var(--accent);
    }

    .liked-by-inline .label {
      font-weight: 600;
      color: var(--accent);
      display: flex;
      align-items: center;
      gap: 5px;
    }

    .liked-by-inline span {
      background: rgba(127, 86, 217, 0.1);
      padding: 4px 8px;
      border-radius: 6px;
      transition: background 0.3s ease;
      cursor: pointer;
    }

    .liked-by-inline span:hover {
      background: rgba(127, 86, 217, 0.25);
      color: var(--text-bright);
    }

		
		