.profile-page { padding-bottom: 48px; min-height: 60vh; }
.profile-page .container { color: #ddd; }
body { background: #141414; }
.profile-cover {
  height: 220px;
  background: linear-gradient(135deg, #1a1a1f 0%, #3a2a35 50%, #2b2b31 100%);
  background-size: cover;
  background-position: center;
  position: relative;
  border-bottom: 1px solid #333;
}
.profile-cover-upload {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: rgba(0,0,0,.65);
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
}
.profile-main { margin-top: -56px; position: relative; z-index: 2; }
.profile-head { display: flex; gap: 20px; align-items: flex-end; margin-bottom: 24px; flex-wrap: wrap; }
.profile-avatar-wrap { position: relative; }
.profile-avatar {
  width: 120px; height: 120px; border-radius: 50%;
  object-fit: cover; border: 4px solid #141414; background: #2b2b31;
}
.profile-avatar-upload {
  position: absolute; right: 4px; bottom: 4px;
  width: 34px; height: 34px; border-radius: 50%;
  background: #ff55a5; color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 13px;
}
.profile-name { color: #fff; margin: 0 0 4px; font-size: 28px; }
.profile-handle { color: #999; margin: 0 0 10px; }
.profile-stats { display: flex; gap: 18px; color: #ccc; margin-bottom: 10px; flex-wrap: wrap; }
.profile-stats strong { color: #fff; }
.profile-bio { color: #ddd; max-width: 640px; }
.profile-info-bits { display: flex; gap: 14px; color: #aaa; margin: 8px 0 12px; flex-wrap: wrap; }
.profile-info-bits a { color: #ff9800; }
.profile-tabs {
  border-bottom: 1px solid #333; margin: 0 0 20px; padding: 0;
  display: flex; gap: 4px; flex-wrap: wrap; list-style: none;
}
.profile-tabs li a {
  display: block; padding: 10px 14px; color: #bbb; text-decoration: none;
  border-bottom: 2px solid transparent;
}
.profile-tabs li.active a { color: #ff55a5; border-bottom-color: #ff55a5; }
.profile-empty { color: #888; padding: 24px 0; }
.profile-post-form, .profile-inline-form, .profile-edit-form {
  background: #1f1f24; padding: 14px; border-radius: 6px; margin-bottom: 16px;
}
.profile-post-form textarea, .profile-edit-form .form-control, .profile-inline-form .form-control {
  background: #2b2b31; border-color: #3a3a42; color: #fff; margin-bottom: 10px;
}
.profile-post {
  background: #1f1f24; border-radius: 6px; padding: 14px 16px; margin-bottom: 12px; color: #ddd;
  position: relative;
}
.profile-post small { color: #777; }
.post-del, .photo-del {
  position: absolute; top: 8px; right: 8px; background: transparent; border: 0; color: #e15554; cursor: pointer;
}
.thumb-block { margin-bottom: 18px; }
.thumb-block .title { color: #ddd; display: block; margin-top: 6px; font-size: 13px; }
.thumb-block .duration {
  position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,.75); color: #fff;
  font-size: 11px; padding: 2px 5px; border-radius: 2px;
}
.thumb-block a { position: relative; display: block; }
.album-card { display: block; color: #ddd; margin-bottom: 16px; text-decoration: none; }
.album-thumb {
  height: 140px; border-radius: 6px; background: #2b2b31 center/cover no-repeat; margin-bottom: 6px;
}
.album-card span { color: #888; font-size: 12px; display: block; }
.profile-gallery { display: flex; flex-wrap: wrap; gap: 10px; }
.gallery-item { position: relative; width: 140px; height: 140px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.profile-subs { display: flex; flex-wrap: wrap; gap: 12px; }
.sub-card {
  width: 100px; text-align: center; color: #ddd; text-decoration: none; font-size: 12px;
}
.sub-card img {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto 6px; background: #2b2b31;
}
@media (max-width: 767px) {
  .profile-cover { height: 160px; }
  .profile-avatar { width: 88px; height: 88px; }
  .profile-name { font-size: 22px; }
}
