body {
  background: #18191a;
  color: #f5f6fa;
  font-family: 'Inter', Arial, sans-serif;
}
.sidebar {
  width: 220px;
  min-height: 100vh;
  background: #23272f;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 32px;
  z-index: 10;
}
.profile-main {
  max-width: 1400px;
  margin-left: 320px;
  padding: 48px 32px 80px 0;
}
.profile-header {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 18px;
  border-bottom: 1px solid #222;
  padding-bottom: 18px;
}
.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #23272f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
  border: 2px solid #222;
}
.profile-info {
  flex: 1;
}
.profile-name {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: #fff;
}
.profile-bio {
  color: #aaa;
  font-size: 1rem;
  margin-bottom: 8px;
}
.profile-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}
.badge {
  background: #014848;
  color: #fff;
  border-radius: 10px;
  padding: 2px 10px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.profile-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 24px;
  color: #bbb;
  font-size: 0.98rem;
  border-bottom: 1px solid #222;
  padding-bottom: 18px;
}
.profile-links {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
}
.profile-links a {
  color: #014848;
  text-decoration: none;
  font-size: 1.1rem;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.profile-links a:hover {
  opacity: 1;
}
.profile-content {
  margin-top: 18px;
}
.pinned-post {
  background: #23272f;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
  border-left: 3px solid #014848;
}
.streaks {
  background: #23272f;
  border-radius: 10px;
  padding: 10px 16px;
  margin-bottom: 16px;
  color: #014848;
  font-size: 0.98rem;
}
.user-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 18px;
  justify-items: center;
  width: 100%;
}
.user-post {
  background: #23272f;
  border-radius: 12px;
  padding: 32px 48px;
  box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.1);
  border: 1.5px solid #222;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  margin-bottom: 32px;
  min-height: 140px;
  font-size: 1.18rem;
}
.user-post-title {
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: #fff;
}
.user-post-meta {
  color: #aaa;
  font-size: 0.93rem;
  margin-bottom: 6px;
}
.user-post-body {
  font-size: 0.98rem;
  color: #f5f6fa;
}
.filter-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}
.filter-btn {
  background: #014848;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 5px 14px;
  font-size: 0.98rem;
  cursor: pointer;
  opacity: 0.85;
  transition: background 0.2s;
}
.filter-btn.active,
.filter-btn:hover {
  background: #017575;
  color: #fff;
  opacity: 1;
}
