/* Board — Mobile-first dark theme */

.board-container {
  max-width: 640px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

/* Header & Tabs */
.board-header {
  margin-bottom: 1.5rem;
}

.board-header h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 1rem;
}

.board-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.5rem;
}

.board-tab {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.board-tab:hover {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.04);
}

.board-tab--active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* Back link */
.board-back {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}

.board-back:hover {
  color: #fff;
}

/* Feed list */
.feed-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feed-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: rgba(255, 255, 255, 0.4);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
}

/* Feed card */
.feed-card {
  display: block;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 1rem;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.feed-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.feed-card--compact {
  padding: 0.75rem 1rem;
}

.feed-card--compact .feed-card__title {
  font-size: 0.875rem;
  margin: 0;
}

.feed-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.feed-card__type {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.feed-card__type--session {
  background: rgba(59, 130, 246, 0.25);
  color: #93bbfd;
}

.feed-card__type--update {
  background: rgba(16, 185, 129, 0.25);
  color: #6ee7b7;
}

.feed-card__type--memory-change {
  background: rgba(168, 85, 247, 0.25);
  color: #c4b5fd;
}

.feed-card__date {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

.feed-card__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  margin: 0 0 0.5rem;
}

.feed-card__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 0.5rem;
}

.feed-card__bullets li {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  padding: 0.15rem 0 0.15rem 1rem;
  position: relative;
}

.feed-card__bullets li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.3);
}

.feed-card__more {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  display: block;
  margin-bottom: 0.5rem;
}

.feed-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.5rem;
}

.feed-card__tag {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 0.15rem 0.5rem;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}

.feed-card__tag:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

/* Load more */
.board-load-more {
  text-align: center;
  margin-top: 1.5rem;
}

/* Projects grid */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 480px) {
  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Project card */
.project-card {
  display: block;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 1rem;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.project-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.project-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.project-card__status {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  color: #fff;
}

.project-card__status--active {
  background: rgba(16, 185, 129, 0.25);
  color: #6ee7b7;
}

.project-card__status--paused {
  background: rgba(234, 179, 8, 0.25);
  color: #fde68a;
}

.project-card__status--idea {
  background: rgba(168, 85, 247, 0.25);
  color: #c4b5fd;
}

.project-card__status--done {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
}

.project-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  color: #fff;
  background: #ef4444;
  border-radius: 50%;
  padding: 0 0.3rem;
}

.project-card__name {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  margin: 0 0 0.375rem;
}

.project-card__summary {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 0.5rem;
  line-height: 1.4;
}

.project-card__date {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.35);
  display: block;
}

/* Detail card */
.detail-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.detail-card .feed-card__title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.detail-summary {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin: 0.75rem 0 0;
}

.detail-bullets {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.detail-bullets li {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  padding: 0.3rem 0 0.3rem 1.25rem;
  position: relative;
  line-height: 1.5;
}

.detail-bullets li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.3);
}

/* Detail sections */
.detail-section {
  margin-bottom: 1.5rem;
}

.detail-section h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 1rem;
}

/* Comments */
.comments-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.comments-empty {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}

.comment {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.75rem 1rem;
}

.comment--new {
  border-color: rgba(59, 130, 246, 0.3);
  animation: commentFadeIn 0.3s ease;
}

@keyframes commentFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.comment__text {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 0.5rem;
  line-height: 1.5;
}

.comment__date {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.35);
}

.comment__badge {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  color: #fde68a;
  background: rgba(234, 179, 8, 0.15);
  border-radius: 4px;
  padding: 0.15rem 0.4rem;
  margin-left: 0.5rem;
}

/* Comment form */
.comment-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.comment-form textarea {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 0.75rem;
  resize: vertical;
  min-height: 60px;
  outline: none;
  transition: border-color 0.2s;
}

.comment-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.comment-form textarea:focus {
  border-color: rgba(59, 130, 246, 0.5);
}

.btn-comment {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
  background: #3B82F6;
  border: none;
  border-radius: 6px;
  padding: 0.6rem 1.25rem;
  cursor: pointer;
  align-self: flex-end;
  transition: background 0.2s;
}

.btn-comment:hover {
  background: #2563eb;
}

.btn-comment:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}