body {
  background: #181b28;
  color: #d9e2ef;
  font-family: 'Tahoma', 'Segoe UI', Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/* Хедер */
#header, .nav, .menu, .navbar, .topnav {
  background: #223567;
  color: #e3eaff;
  border-bottom: 2.5px solid #293b60;
  box-shadow: 0 2px 10px #121a3480;
}

/* Ссылки в меню */
.nav a, .menu a, .navbar a, .topnav a {
  color: #c6dafd;
  text-decoration: none;
  padding: 8px 12px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.nav a:hover,
.menu a:hover,
.navbar a:hover,
.topnav a:hover {
  color: #5fc3fa;
  background: #23294a;
  border-radius: 6px;
}

/* Основной контейнер */
.profile-content, .container, .box, .main, #content {
  background: #202438;
  margin: 30px auto;
  max-width: 900px;
  border-radius: 10px;
  box-shadow: 0 4px 24px #0002;
  padding: 26px 24px 14px 24px;
}

/* Боковые блоки */
.left-col, .right-col, .sidebar, .profile-left, .profile-sidebar {
  background: #23294a;
  border-radius: 10px;
  padding: 18px 10px;
  margin-bottom: 18px;
  box-shadow: 0 2px 9px #14204a50;
  color: #bfcbe6;
}

/* Карточки информации */
.card, .info-box, .profile-info {
  background: #293657;
  border-radius: 8px;
  padding: 13px 15px;
  margin-bottom: 12px;
  color: #e4e9f4;
  box-shadow: 0 1.3px 7px #23345f38;
}

/* Аватар */
.profile-photo, .profile-left img, .profile-avatar img {
  border: 3px solid #3657a6;
  border-radius: 8px;
  width: 145px;
  height: 145px;
  object-fit: cover;
  margin-bottom: 10px;
  background: #16161e;
}

/* Кнопки */
button, .button, input[type=submit] {
  background: #3657a6;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  margin: 7px 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

button:hover, .button:hover, input[type=submit]:hover {
  background: #1e3156;
  color: #bbd0ff;
}

/* Ссылки */
a {
  color: #6cb3fa;
  text-decoration: underline;
  transition: color 0.2s;
}

a:hover {
  color: #53fbfc;
}

h1, h2, h3, h4, h5 {
  color: #e0ecff;
  font-family: 'Trebuchet MS', Tahoma, Arial, sans-serif;
  letter-spacing: 0.04em;
}

/* Комментарии */
.comments, .comment-block, .comment-section {
  background: #22273e;
  border-radius: 9px;
  padding: 17px 17px;
  box-shadow: 0 1.5px 9px #121a3441;
  color: #dae6fd;
  margin-bottom: 10px;
}

.comment-username, .comment-meta {
  color: #7b9cff;
  font-weight: bold;
  font-size: 1em;
}

.comment-text {
  color: #d7def6;
  font-size: 0.97em;
}

/* Ввод комментария */
textarea, .comment-input, input[type=text] {
  background: #161c2f;
  color: #eaefff;
  border: 2px solid #2e3f65;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 1em;
  margin: 8px 0;
  outline: none;
  transition: border-color 0.2s;
}

textarea:focus, .comment-input:focus, input[type=text]:focus {
  border-color: #53fbfc;
}

/* Список друзей */
.friends-list, .friends {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 0;
  margin: 0 0 14px 0;
  list-style: none;
}

.friend-card {
  background: #24345d;
  border-radius: 8px;
  box-shadow: 0 2px 8px #18264a3f;
  padding: 8px 10px;
  min-width: 110px;
  text-align: center;
  color: #a9c1f7;
  font-weight: 600;
}

.friend-card img {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  border: 2px solid #4b7af0;
  margin-bottom: 3px;
}

/* Footer */
footer, .footer, #footer {
  background: #141727;
  color: #7387b6;
  border-top: 2px solid #263353;
  text-align: center;
  padding: 18px 0 7px 0;
  font-size: 0.97em;
  margin-top: 30px;
}

/* Responsive */
@media (max-width: 900px) {
  .profile-content, .container, .box, .main, #content {
    padding: 15px 7vw;
  }
  .left-col, .right-col, .profile-left, .profile-sidebar {
    padding: 15px 6vw;
  }
}
