/**
 * Run Gaming - Daily Updates Feed Styling (<300 lines limit)
 */
.updates-feed-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-top: 1rem;
}

.creator-post-card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  background: rgba(13, 17, 30, 0.75);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.post-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.post-author-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.post-author-avatar {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  border: 2px solid var(--accent-cyan);
  object-fit: cover;
}

.post-author-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.post-time {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.post-content {
  margin-top: 1.2rem;
}

.post-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.post-body {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-main);
  white-space: pre-line;
}

.post-footer-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: var(--text-dim);
}

.post-stat-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
}

.comments-stream-card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  background: rgba(10, 14, 26, 0.85);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.comments-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.comment-input-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.9rem;
  margin-top: 1rem;
}

.comment-input-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.comment-user-avatar {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-full);
  border: 1px solid var(--accent-cyan);
  object-fit: cover;
}

.comment-textarea {
  width: 100%;
  min-height: 72px;
  padding: 0.65rem 0.85rem;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.86rem;
  resize: vertical;
  margin-top: 0.4rem;
  outline: none;
  transition: var(--transition-fast);
}

.comment-textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.25);
}

.comment-form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}

.comment-char-counter {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.btn-submit-comment {
  font-size: 0.8rem;
  padding: 0.45rem 1rem;
}

.comments-feed-list {
  margin-top: 1.2rem;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.comment-bubble {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  transition: var(--transition-fast);
}

.comment-bubble:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(6, 182, 212, 0.25);
}

.comment-bubble-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.comment-author-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.comment-author-avatar {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  border: 1px solid var(--accent-cyan);
  object-fit: cover;
}

.comment-author-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
}

.comment-level-pill {
  font-size: 0.65rem;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
  font-weight: 700;
}

.comment-text-body {
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--text-main);
  margin-top: 0.5rem;
  word-break: break-word;
}

.comment-bubble-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.65rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.comment-timestamp {
  font-size: 0.7rem;
  color: var(--text-dim);
}

.btn-comment-like {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  color: var(--text-dim);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-comment-like:hover {
  background: rgba(244, 63, 94, 0.15);
  border-color: rgba(244, 63, 94, 0.4);
  color: #f43f5e;
}

.btn-comment-like.liked {
  background: rgba(244, 63, 94, 0.2);
  border-color: #f43f5e;
  color: #f43f5e;
}

@media (max-width: 900px) {
  .updates-feed-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .creator-post-card, .comments-stream-card {
    padding: 1.1rem 0.9rem;
  }
  .post-title {
    font-size: 1.15rem;
  }
}

