 /* Post Composer Trigger */
  .txt-trigger {
    background: var(--background);
    border: 1px solid var(--simple-color);
    border-radius: 12px;
    max-width:99%;
    padding: 8px 12px;
    margin: 15px auto;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .txt-trigger:hover {
    border-color: var(--branding);
    box-shadow: 0 0 0 2px rgba(0, 255, 224, 0.1);
  }

  .txt-trigger-content {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .txt-trigger-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--branding);
  }

  .txt-trigger-text {
    color: var(--light-text);
    opacity: 0.8;
    font-size: 0.95rem;
    flex-grow: 1;
    text-align: left; }

  /* Post Composer Overlay */
  .txt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:var(--background);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: flex-start;
    padding-top: 2rem;
  }

  .txt-overlay.active {
    display: flex;
  }

  .txt-container {
    background: var(--background);
    border-radius: 5px;
    width: 96%;
    max-width: 600px;
    max-height: 90vh;
    display: flex;
    margin:10px auto;
    flex-direction: column;
    border: 1px solid var(--simple-color);
    box-shadow: 0 10px 30px rgba(0, 255, 224, 0.15);
  }

  .txt-header {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--simple-color);
  }

  .txt-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--branding);
    margin: 0;
  }

  .txt-close {
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s ease;
  }

  .txt-close:hover {
    color: var(--branding);
  }

  .txt-body {
    padding: 8px;
    overflow-y: auto;
  }

  .txt-user {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
  }

  .txt-user-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--branding);
  }

  .txt-user-name {
    font-weight: 600;
    color: var(--light-text);
  }

  .txt-textarea {
    width: 100%;
    height: 170px;
    background: transparent;
    border-radius:5px;
    border: 2px dashed var(--simple-color);
    color: var(--light-text);
    font-size: 0.9rem;
    resize: none;
    outline: none;
    line-height: 1.5;
    padding: 10px;
  }

  .txt-textarea::placeholder {
    color: var(--light-text));
   opacity:0.8;
  }

  .txt-actions {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid var(--simple-color);
  }

  .txt-action-btn {
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.8;
  }

  .txt-action-btn:hover {
    color: var(--branding);
    opacity: 1;
    transform: translateY(-2px);
  }

  .txt-submit {
    margin-left: auto;
    background: var(--g-branding);
    color: black;
    border: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .txt-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(150, 201, 61, 0.3);
  }
  
.txt-preview {
    margin-top: 20px;
    display: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
  }

  .txt-preview.active {
    display: grid;
  }

  .txt-preview-image {
    position: relative;
    height: 120px;
  }

  .txt-preview-img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--simple-color);
  }
  
  .txt-note {
      white-space:nowrap;
      opacity:0.6;
      color:var(--light-text);
      font-size:10px;
      margin:2px 2px 0;
  }
  
  .txt-preview-remove {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--danger);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    cursor: pointer;
    border: 2px solid var(--card-bg);
  }

  /* Hidden file input */
  .txt-file-input {
    display: none;
  }
  
  
  /* dumb social-fool type shit */
  
  .feature-head { margin:10px; }
.feature-head h1 { font-size:17px;
font-weight:bold; line-height:1.4;
color:var(--light-text); }

.feature-head .sub-tag {
    font-size:12px; line-height:1.4;
    opacity:0.7; margin:5px;
    color:var(--light-text); }
.social-fool {
       display:flex;
       /*align-items:flex-start;*/
       margin:4px auto; justify-content:center; gap:5px; max-width:800px; 
    } 
.news-tag {
  display:inline-block;
  background: rgba(0, 128, 255, 0.1); /* subtle blue tint */
  color:var(--light-text);
  padding: 5px;
  white-space:nowrap;
  opacity:0.7;
  border-radius: 9px;
  font-size: 10px;
  animation: gentle-blink 3s infinite;
}

.news-tag i {
  margin-right: 4px;
  font-size: 10px;
}

/* Gentle blinking */
@keyframes gentle-blink {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 0.5; }
}


/* Post Content Styles */
.post-content-wrapper {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.post-content-inner {
    transition: max-height 0.3s ease-out;
    overflow: hidden;
    padding:0 3px 0 46px;
}

.post-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: var(--card-bg);
    opacity:0.7;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.see-more-btn:hover {
    color: var(--branding);
}

/* Make sure images don't affect the height calculation */
.post-content-inner img {
    max-width: 100%;
    height: auto;
}

.title-solo {
        color: var(--light-text);
        font-size: 17px;
        margin:3px auto;
        padding:1px 1px 1px 30px;
        text-align:left;
        line-height:1.3;
}

.content-solo {
    color: var(--light-text);
        font-size: 16px;
        margin:3px auto;
        text-align:left;
        line-height:1.5;
        white-space: pre-line;
        padding:3px;
}

.displaySummary {
    font-size:11px;
}

/* Post Container */
.post-container {
  max-width: 500px;
  width: 98%;
  border: 1px solid var(--simple-color);
  border-radius: 8px;
  margin: 0 auto 5px;
  background: var(--card-bg);
  overflow: hidden;
  position: relative;
}

/* Post Header */
.post-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 6px;
  border-bottom: 1px solid var(--simple-color);
}

.post-time {
  font-size: 12px;
  color: var(--muted-text);
}

.post-author {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.author-name {
  font-size: 12px;
  font-weight: bold;
  color: var(--light-text);
}

.username-holder {
  font-size: 12px;
  color: var(--light-text);
  margin-top: 2px;
}

/* Post Content */
.post-content {
  padding: 2px;
  cursor: pointer; }

.post-content-wrapper {
    position: relative;
    overflow: hidden; }

.see-more-btn {
    display: none;
    background: transparent;
    color: var(--branding);
    cursor: pointer;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 6px 0;
    width: 100%;
    text-align: center;
}

.post-image-container {
    max-height: 400px;
    max-width:100%;
    border-radius: 5px;
    margin-top: 5px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    background-color: var(--card-bg);
}

.image-scroll-container {
    display:flex;
    justify-content:start;
    align-items:center;
    flex-wrap:nowrap;
    gap: 6px;
    margin:auto 6px;
}

.scroll-image-item {
    display: inline-block;
    max-height: 380px;
    min-width:200px;
    max-width:97%;
    position: relative;
}

.scroll-image-item img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 5px;
   /* border:1px solid var(--simple-color); 
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); */
}

/* Hide scrollbar but keep functionality */
.post-image-container::-webkit-scrollbar {
    height: 5px;
}

.post-image-container::-webkit-scrollbar-track {
    background:var(--simple-color);
    border-radius: 10px;
}

.post-image-container::-webkit-scrollbar-thumb {
     background:var(--simple-color);
    border-radius: 10px;
}

.post-image-container::-webkit-scrollbar-thumb:hover {
     background:var(--simple-color);
}

/* Post Actions */
.post-actions {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 5px;
  border-top: 1px solid var(--secondary-color);
  position: relative;
}

.post-action {
  cursor: pointer;
  color: var(--muted-text);
  font-size: 16px;
  transition: all 0.2s ease;  
  padding: 5px 7px;
  background-color: var(--branding-hover, rgba(13, 210, 250, 0.1));
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  -webkit-tap-highlight-color: transparent;
}

.post-action:hover {
  color: var(--primary-text);
  background-color:transparent;
}

/* Reaction Popup */
.reaction-popup {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--card-bg);
  border: 1px solid var(--simple-color);
  border-radius: 24px;
  padding: 8px 15px;
  z-index: 100;
  display: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  min-width: 250px;
}

.reaction-popup::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px 8px 0;
  border-style: solid;
  border-color: var(--popup-bg) transparent transparent;
}

.reaction-emoji {
  font-size: 50px;
  margin: 0 3px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-block;
  padding: 5px;
  -webkit-tap-highlight-color: transparent;
}

.reaction-emoji:hover {
  transform: scale(1.3);
}

.reaction-active {
  color: var(--branding);
  position: relative;
}

.reaction-active::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  background: var(--branding);
  border-radius: 50%;
}

/* Share Popup */
.share-popup {
  position: absolute;
  bottom: calc(100% + 10px);
  right: 10px;
  background:var(--card-bg);
 border: 1px solid var(--simple-color);
  border-radius: 8px;
  padding: 10px;
  z-index: 100;
  display: none;
  width: 180px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.share-popup::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 15px;
  border-width: 8px 8px 0;
  border-style: solid;
  border-color: var(--simple-color) transparent transparent;
}

.share-option {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.share-option:hover {
  background: var(--card-bg);
  border:2px dashed var(simple-color);
}

.share-icon {
  margin-right: 10px;
  font-size: 18px;
  width: 20px;
  text-align: center;
}

/* Reaction States */
.has-reaction {
  color: var(--muted-text);
}

.has-reaction.user-reaction {
  color: var(--branding);
  font-weight: bold;
}

/* Mobile Responsiveness */
@media (max-width: 576px) {
  .post-container {
    width: 100%;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
  
  .post-actions {
    justify-content: space-between;
    padding: 8px 2px;
  }
  
  .reaction-popup {
    min-width: 260px;
    padding: 6px 10px;
    bottom: calc(100% + 5px);
  }
  
  .reaction-emoji {
   font-size: 40px;
    margin: 0 2px;
  }
  
  .share-popup {
    right: 5px;
    width: 160px;
  }
}
 
        .posts-container {
            max-width: 800px;
            margin: 0 auto;
        }
        
        .loading-spinner {
            display: none;
            text-align: center;
            padding: 20px;
        }
        
        .spinner {
            width: 40px;
            height: 40px;
            border: 4px solid var(--simple-color);
            border-top: 4px solid var(--branding);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        .no-posts {
            text-align: center;
            padding: 40px;
            background-color: var(--card-bg);
            border-radius: 12px;
        }
        
        