.socials-page-panel,
.users-page-panel {
  padding: 12px;
}

.social-page-list,
.linked-users-list {
  display: grid;
  gap: 12px;
}

.brand-link {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 20px;
  color: inherit;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.045);
  transition: transform 0.2s ease, background 0.2s ease;
}

.brand-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
}

.brand-icon,
.mini-brand {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.brand-icon svg,
.mini-brand svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.brand-link span:last-child {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.brand-link strong {
  color: #fff;
  font-size: 15px;
}

.brand-link small {
  color: rgba(255,255,255,0.48);
  font-size: 12px;
  font-weight: 700;
}

.instagram { color: #ff4ec7; }
.discord { color: #8ea1ff; }
.github { color: #ffffff; }

.linked-user-card {
  position: relative;
  overflow: hidden;
  min-height: 0;
  aspect-ratio: 1 / 1;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(14,14,18,0.78), rgba(3,3,5,0.82));
  box-shadow: 0 22px 62px rgba(0,0,0,0.58);
}

.linked-user-banner {
  position: relative;
  height: 46%;
  min-height: 136px;
  overflow: hidden;
  background: linear-gradient(135deg, #111, #2c0a12);
}

.linked-user-banner-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.linked-user-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.22), rgba(0,0,0,.58));
  pointer-events: none;
}

.banner-one {
  background: linear-gradient(135deg, rgba(0,0,0,.25), rgba(0,0,0,.7)), url("https://i.ibb.co/QvZfxwS5/c952c91cb34cd7b239bbcb4648a4340b.gif") center / cover no-repeat;
}

.banner-two {
  background: radial-gradient(circle at 20% 20%, rgba(180,108,255,.55), transparent 34%), linear-gradient(135deg, #07070b, #1d1029);
}

.banner-three {
  background: radial-gradient(circle at 80% 30%, rgba(255,82,170,.52), transparent 34%), linear-gradient(135deg, #08080b, #2a0716);
}

.linked-user-body {
  position: relative;
  min-height: 54%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 0 16px 18px;
  text-align: center;
}

.linked-user-avatar-wrap {
  position: relative;
  width: 88px;
  height: 88px;
  margin-top: -44px;
  flex: 0 0 auto;
}

.linked-user-avatar {
  width: 88px;
  height: 88px;
  margin-top: -44px;
  border: 6px solid #06070a;
  border-radius: 999px;
  object-fit: cover;
  background: #090a10;
  box-shadow: 0 16px 34px rgba(0,0,0,.48);
}

.linked-user-avatar-wrap .linked-user-avatar {
  margin-top: 0;
}

.discord-presence {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 22px;
  height: 22px;
  border: 5px solid #06070a;
  border-radius: 999px;
  background: #80848e;
  box-sizing: border-box;
  box-shadow: 0 6px 16px rgba(0,0,0,.35);
}

.discord-presence.online { background: #23a55a; }
.discord-presence.manual,
.discord-presence.offline { background: #80848e; }

.discord-presence.idle {
  background: #f0b232;
}

.discord-presence.idle::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -2px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #06070a;
}

.discord-presence.dnd {
  background: #f23f43;
}

.discord-presence.dnd::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 4px;
  border-radius: 999px;
  background: #06070a;
  transform: translate(-50%, -50%);
}

.linked-user-info {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 4px;
}

.linked-user-info strong {
  color: #fff;
  font-size: 18px;
  line-height: 1;
}

.linked-user-info small {
  color: rgba(255,255,255,.48);
  font-size: 12px;
  font-weight: 700;
}

.linked-user-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding-top: 8px;
}

.mini-brand {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: rgba(255,255,255,.07);
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}

.mini-brand:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.12);
}

.linked-user-empty {
  color: rgba(255,255,255,.35);
  font-size: 12px;
  font-weight: 700;
}

.presence-line {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  margin-top: 4px;
  padding: 7px 9px;
  border-radius: 16px;
  background: rgba(255,255,255,.045);
}

.presence-line > span:last-child {
  min-width: 0;
  display: grid;
  justify-items: start;
  gap: 1px;
  text-align: left;
}

.presence-line strong,
.presence-line small {
  max-width: 190px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.presence-line strong {
  color: rgba(255,255,255,.76);
  font-size: 11px;
  line-height: 1;
}

.presence-line small {
  color: rgba(255,255,255,.42);
  font-size: 10px;
  font-weight: 700;
}

.presence-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #80848e;
  flex: 0 0 auto;
}

.presence-line.online .presence-dot { background: #23a55a; }
.presence-line.idle .presence-dot { background: #f0b232; }
.presence-line.dnd .presence-dot { background: #f23f43; }
