.comments-main {
  flex: 1;
  padding: 48px 20px 64px;
}

.comments-wrap {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

.comments-header {
  margin-bottom: 28px;
}

.comments-header h1 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.comments-header p {
  font-size: 14px;
  color: #8b92a8;
  margin-top: 8px;
  line-height: 1.45;
}

.comments-compose {
  background: #12141c;
  border: 1px solid #1e2230;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 28px;
}

.comments-compose label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #c8cdd8;
  margin-bottom: 8px;
}

.comments-compose textarea {
  width: 100%;
  padding: 12px;
  background: #0a0c10;
  border: 1px solid #2e3344;
  border-radius: 8px;
  color: #e8eaef;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.45;
  resize: vertical;
  min-height: 100px;
}

.comments-compose textarea:focus {
  outline: none;
  border-color: #5b8def;
}

.comments-compose-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.comments-compose-actions .login-submit {
  width: auto;
  padding: 10px 18px;
}

.comments-char-count {
  font-size: 12px;
  color: #6b7289;
}

.comments-signin {
  margin-bottom: 24px;
  padding: 14px 16px;
  background: #12141c;
  border: 1px solid #1e2230;
  border-radius: 10px;
  font-size: 14px;
  color: #8b92a8;
}

.comments-signin a {
  color: #5b8def;
  text-decoration: none;
}

.comments-signin a:hover {
  text-decoration: underline;
}

.comments-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comment-item {
  background: #12141c;
  border: 1px solid #1e2230;
  border-radius: 10px;
  padding: 16px 18px;
}

.comment-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 8px;
}

.comment-author {
  font-size: 13px;
  font-weight: 600;
  color: #c8cdd8;
}

.comment-date {
  font-size: 12px;
  color: #6b7289;
}

.comment-body {
  font-size: 14px;
  line-height: 1.5;
  color: #e8eaef;
  white-space: pre-wrap;
  word-break: break-word;
}

.comment-delete {
  margin-left: auto;
  border: none;
  background: transparent;
  color: #8b92a8;
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
  padding: 2px 0;
}

.comment-delete:hover {
  color: #ff6b6b;
}

.comments-empty {
  text-align: center;
  font-size: 14px;
  color: #6b7289;
  padding: 24px 0;
}

.comments-load-error {
  margin-bottom: 16px;
}

.stats-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.stat-card {
  background: #12141c;
  border: 1px solid #1e2230;
  border-radius: 10px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #e8eaef;
}

.stat-label {
  font-size: 12px;
  color: #8b92a8;
  line-height: 1.35;
}
