/* =========================================================
   PROFILE / SOCIAL NETWORK
   ========================================================= */

.profile-social-card__head {
  align-items: center;
  margin-bottom: 17px;
}

.profile-social-card__tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

.profile-social-total {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(218, 226, 230, 0.5);
  font-size: 12px;
}

.profile-social-total b {
  color: #eaf5ee;
  font-size: 15px;
  font-weight: 760;
}

.profile-social-overview {
  min-height: 46px;
  margin-bottom: 13px;
  padding: 0 2px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-social-overview > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(235, 241, 243, 0.68);
  font-size: 12px;
  white-space: nowrap;
}

.profile-social-overview i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00ff66;
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.42);
}

.profile-social-overview p {
  max-width: 430px;
  margin: 0;
  color: rgba(213, 222, 226, 0.42);
  font-size: 12px;
  line-height: 1.55;
  text-align: right;
}

.profile-social-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.profile-social-row {
  position: relative;
  min-width: 0;
  min-height: 82px;
  padding: 12px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 15px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.026), transparent 62%),
    rgba(4, 8, 11, 0.36);
  transition: border-color 170ms ease, background 170ms ease, transform 170ms ease;
}

.profile-social-row:hover {
  border-color: rgba(0, 255, 102, 0.13);
  background:
    linear-gradient(135deg, rgba(0, 255, 102, 0.035), transparent 62%),
    rgba(5, 10, 13, 0.5);
  transform: translateY(-1px);
}

.profile-social-row::before {
  content: "";
  position: absolute;
  inset: 10px auto 10px 0;
  width: 2px;
  border-radius: 0 2px 2px 0;
  background: rgba(255, 255, 255, 0.08);
}

.profile-social-row.is-online::before {
  background: #00ff66;
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.35);
}

.profile-social-avatar {
  position: relative;
  width: 46px;
  height: 46px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, rgba(0, 255, 102, 0.13), transparent 56%), #0d1418;
  color: rgba(240, 245, 247, 0.88);
  font-size: 13px;
  font-weight: 720;
  text-decoration: none;
}

.profile-social-avatar img { width: 100%; height: 100%; object-fit: cover; }

.profile-social-avatar::after {
  content: "";
  position: absolute;
  right: 1px;
  bottom: 2px;
  width: 9px;
  height: 9px;
  border: 2px solid #090e11;
  border-radius: 50%;
  background: #42494d;
}

.profile-social-avatar.is-online::after {
  background: #00ff66;
  box-shadow: 0 0 8px rgba(0,255,102,.35);
}

.profile-social-identity {
  min-width: 0;
}

.profile-social-identity a {
  display: block;
  overflow: hidden;
  color: rgba(243, 247, 249, 0.94);
  font-size: 13px;
  font-weight: 690;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-social-identity small {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: rgba(219, 226, 230, 0.46);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-social-identity > span {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: rgba(218, 226, 230, 0.38);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-social-row.is-online .profile-social-identity > span {
  color: rgba(0, 255, 102, 0.68);
}

.profile-social-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0.72;
  transition: opacity 170ms ease;
}

.profile-social-row:hover .profile-social-actions {
  opacity: 1;
}

.profile-social-action {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.065);
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.025);
  color: rgba(226,232,235,.48);
  cursor: pointer;
  text-decoration: none;
  transition: 150ms ease;
}

.profile-social-action svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-social-action:hover {
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: #fff;
}

.profile-social-action.is-danger:hover {
  border-color: rgba(255,91,113,.2);
  background: rgba(255,91,113,.07);
  color: #ff91a1;
}

.profile-social-empty {
  min-height: 150px;
  grid-column: 1 / -1;
  padding: 24px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  border: 1px dashed rgba(255, 255, 255, 0.075);
  border-radius: 15px;
  text-align: center;
}

.profile-social-empty > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 255, 102, 0.16);
  border-radius: 50%;
  background: rgba(0, 255, 102, 0.04);
  color: #00ff66;
  font-size: 20px;
  font-weight: 300;
}

.profile-social-empty strong {
  color: rgba(238, 244, 246, 0.72);
  font-size: 13px;
  font-weight: 650;
}

.profile-social-empty p {
  max-width: 390px;
  margin: 0;
  color: rgba(219, 226, 230, 0.42);
  font-size: 12px;
  line-height: 1.55;
}

html.profile-social-modal-open,
html.profile-social-modal-open body { overflow: hidden; }

.profile-social-modal[hidden] { display: none !important; }
.profile-social-modal {
  position: fixed;
  inset: 0;
  z-index: 10200;
  display: grid;
  place-items: center;
  padding: 18px;
}
.profile-social-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(1,4,7,.8);
  backdrop-filter: blur(11px);
}
.profile-social-modal__card {
  position: relative;
  width: min(430px, 100%);
  padding: 23px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px;
  background: rgba(8,12,15,.98);
  box-shadow: 0 28px 90px rgba(0,0,0,.56), inset 0 1px rgba(255,255,255,.025);
}
.profile-social-modal__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,91,113,.15);
  border-radius: 14px;
  background: rgba(255,91,113,.045);
  color: #ff8fa0;
}
.profile-social-modal__icon svg { width: 21px; height: 21px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.profile-social-modal__copy { margin-top: 17px; }
.profile-social-modal__copy > span { color: rgba(255,91,113,.72); font-size: 12px; font-weight: 740; letter-spacing: .14em; }
.profile-social-modal__copy h2 { margin: 5px 0 0; color: rgba(245,248,250,.96); font-size: 19px; font-weight: 670; letter-spacing: -.025em; }
.profile-social-modal__copy p { margin: 8px 0 0; color: rgba(220,227,231,.5); font-size: 12px; line-height: 1.55; }
.profile-social-modal__actions { margin-top: 21px; display: flex; justify-content: flex-end; gap: 8px; }
.profile-social-button {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  background: rgba(255,255,255,.035);
  color: rgba(235,240,243,.68);
  font: inherit;
  font-size: 13px;
  font-weight: 640;
  cursor: pointer;
}
.profile-social-button--danger { border-color: rgba(255,91,113,.18); background: rgba(255,91,113,.075); color: #ff9baa; }

@media (max-width: 620px) {
  .profile-social-card__head { align-items: flex-start; }
  .profile-social-card__tools { align-items: flex-end; flex-direction: column; gap: 5px; }
  .profile-social-overview { align-items: flex-start; flex-direction: column; gap: 7px; }
  .profile-social-overview p { text-align: left; }
  .profile-social-list { grid-template-columns: 1fr; }
  .profile-social-row { padding: 10px; }
  .profile-social-actions { gap: 4px; }
  .profile-social-action { width: 34px; height: 34px; }
}
