.profile-page {
  padding-top: 0; 
}
.profile-card {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: var(--gf-gap-y) 0 0;
  border-radius: var(--gf-radius-xl);
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 16px 20px;
}
@media (max-width: 600px) {
  .profile-card {
    grid-template-columns: 72px 1fr;
    padding: 16px;
    padding-right: 48px;
    margin-top: var(--gf-gap-y);
    border-radius: 14px;
  }
}
.profile-card__avatar { display:flex; align-items:center; justify-content:center; }
.profile-card__avatar img {
  width: 96px; height: 96px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 2px solid transparent;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(111, 99, 255, .18);
}
@media (max-width: 600px) {
  .profile-card__avatar img { width: 72px; height: 72px; box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(111, 99, 255, .18); }
}
.profile-card__meta { display:flex; flex-direction:column; justify-content:center; }
.profile-topline {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.profile-nickname {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;       
  color: #111827;   
  letter-spacing: -0.01em;  
}
@media (max-width: 600px) { .profile-nickname { font-size: 20px; } }
.profile-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  padding: 4px 8px;
  border: 1px solid #e7ecf5;
  background: rgba(246,248,255,.72);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.profile-status .dot { width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 0 2px #fff; }
.profile-status .dot.online  { background: #16a34a; }
.profile-status .dot.offline { background: #9ca3af; }
@media (max-width: 600px) {
  .profile-status { font-size: 12px; padding: 3px 6px; border: none; background: rgba(246,248,255,.58); flex-basis: 100%; }
}
.profile-registered { color: #6b7280; font-size: 14px; margin-top: 6px; }
.profile-card__actions { display: flex; align-items: center; justify-content: flex-end; }
@media (max-width: 600px) {
  .profile-card__actions { grid-column: 1 / -1; justify-content: center; margin-top: 8px; }
}
.btn-message {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  color: #0f172a;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 6px 18px rgba(17,24,39,0.08), inset 0 1px 0 rgba(255,255,255,.9);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease, background .15s ease;
  -webkit-tap-highlight-color: transparent;
  font-size: 14px;
}
.btn-message__text { white-space: nowrap; }
.btn-message:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(17,24,39,0.10); }
.btn-message:active { transform: translateY(0); filter: brightness(.98); }
@media (max-width: 600px) {
  .btn-message {
    width: 100%;
    justify-content: center;
    padding: 9px 14px;
    font-size: 13px;
    box-shadow: 0 4px 14px rgba(17,24,39,.08);
  }
}
.profile-bottom-spacer { height: 72px; }
@media (max-width: 600px) { .profile-bottom-spacer { height: 56px; } }
.container { --container: 1300px; }
.profile-settings-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}
@media (max-width: 600px) {
  .profile-settings-btn {
    top: 10px;
    right: 10px;
  }
}