/* ====================== Forum Thread Listing (postLists) ====================== */

#postLists #narrative .thread-list {
  margin-top: 8px;
}

/* Individual thread row */
#postLists .thread-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e4e8ee;
  border-radius: 6px;
  margin-bottom: 8px;
  transition: box-shadow 0.15s, border-color 0.15s, background 0.15s;
}

#postLists .thread-row:hover {
  background: #fafbff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  border-color: #c5ccd8;
}

/* Avatar */
#postLists .thread-avatar-link {
  flex-shrink: 0;
  display: block;
  width: 46px;
  height: 46px;
}

#postLists .thread-avatar-img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

#postLists .thread-avatar-icon {
  font-size: 44px;
  line-height: 1;
  color: #7A92FF;
  display: block;
}

/* Thread body: title + meta */
#postLists .thread-body {
  flex: 1;
  min-width: 0;
}

#postLists .thread-title {
  margin: 0 0 5px;
  background: none;
  border: 0;
  text-shadow: none;
  font-size: 100%;
}

#postLists .thread-title a {
  font-size: 17px !important;
  font-weight: 600;
  color: #1a1a2e;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}

#postLists .thread-title a:hover {
  color: #016DC5;
}

#postLists .thread-meta {
  font-size: 13px;
  color: #888;
  margin: 0;
  line-height: 1.5;
}

#postLists .thread-meta .thread-author {
  color: #555;
  font-weight: 500;
  text-decoration: none;
}

#postLists .thread-meta .thread-author:hover {
  color: #016DC5;
  text-decoration: underline;
}

/* Stats column — hero reply count */
#postLists .thread-stats {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 60px;
  text-align: center;
}

#postLists .stat-replies {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}

#postLists .stat-replies .stat-count {
  font-size: 22px;
  font-weight: 700;
  color: #016DC5;
  line-height: 1;
}

#postLists .stat-replies em {
  font-style: normal;
  font-size: 11px;
  color: #aab4c4;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

#postLists .stat-views {
  font-size: 12px;
  color: #aab4c4;
}

#postLists .stat-views .fas {
  font-size: 11px;
}

/* Activity states */

/* Hot thread (≥10 replies): orange accent */
#postLists .thread-row--hot {
  border-left: 3px solid #e07b39;
}
#postLists .thread-row--hot .stat-count {
  color: #e07b39;
}

/* Cold thread (0 replies): muted count */
#postLists .thread-row--cold .stat-count {
  color: #c0c8d4;
  font-weight: 600;
}

/* Empty state */
#postLists .thread-list-empty {
  padding: 48px 20px;
  text-align: center;
  color: #aab4c4;
  border: 1px dashed #e4e8ee;
  border-radius: 6px;
}
#postLists .thread-list-empty .fas {
  font-size: 36px;
  display: block;
  margin-bottom: 12px;
}
#postLists .thread-list-empty p {
  font-size: 15px;
  margin: 0;
}

/* Mobile */
@media screen and (max-width: 600px) {
  #postLists .thread-row {
    gap: 10px;
    padding: 12px;
  }

  #postLists .thread-title a {
    font-size: 15px !important;
  }

  #postLists .thread-stats {
    min-width: auto;
  }
}
