:root {
  --surface: #ffffff;
  --line: #dde3ea;
  --muted: #667085;
  --accent: #3157d5;
}

body {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(49, 87, 213, 0.08), rgba(255, 255, 255, 0) 320px),
    #f6f8fb;
  color: #1f2937;
}

.navbar-brand {
  color: var(--accent);
}

.board-shell,
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem;
}

.panel {
  box-shadow: 0 8px 24px rgba(26, 39, 68, 0.06);
}

.post-item {
  cursor: pointer;
}

.post-item:hover {
  background: #f8fbff;
}

.title-grid {
  display: grid;
  gap: 0.5rem;
  max-height: 420px;
  overflow: auto;
  padding-right: 0.2rem;
}

.title-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 42px;
}

.locked-title {
  opacity: 0.48;
}

.empty-state {
  display: grid;
  min-height: 180px;
  place-items: center;
  color: var(--muted);
  text-align: center;
}

.comment {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}

.comment:first-child {
  border-top: 0;
}

.content-block {
  white-space: pre-wrap;
  line-height: 1.7;
}

.badge-title {
  vertical-align: 0.08em;
}

@media (max-width: 576px) {
  .board-shell,
  .panel {
    padding: 1rem;
  }

  .navbar .container {
    align-items: flex-start;
  }

  #authArea {
    justify-content: flex-end;
    max-width: 68%;
  }
}
