/* 💗 babecore discord widget 💗 */
/* babie ~ 5bv8755u9 */

.babecore-discord-widget {
  width: 205px;
  margin: 10px auto;
  padding: 10px;
  background: rgba(255, 182, 193, 0.25);
  border: 1px solid #f88cff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(255, 105, 180, 0.25);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  font-size: 11px;
  color: #5a2a3a;
}

.babecore-discord-widget::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 300px;
  background-image: url('/wp-content/themes/babecore/images/pink-glam.webp');
  background-size: auto;
  background-repeat: no-repeat;
  background-position: top center;
  mask-image: linear-gradient(to bottom, black 0%, black 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 40%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}

.babecore-discord-widget::after {
  background-image: url("/wp-content/themes/babecore/images/haileysquirt777.jpg");
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: auto;
  content: "";
  height: 389px;
  left: 0;
  mask-image: linear-gradient(to bottom, black 0%, black 40%, transparent 100%);
  opacity: 0.2;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 40%, transparent 100%);
  z-index: -0;
}

.babecore-discord-widget-header,
.babecore-discord-widget-members,
.babecore-discord-widget-join {
  position: relative;
  z-index: 1;
}

.babecore-discord-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.babecore-discord-widget-logo {
  height: 26px;
  width: auto;
  border-radius: 6px;
}

.babecore-discord-widget-count {
  font-weight: 600;
}

.babecore-discord-widget-subtext {
  margin: -2px 0 8px 0;
  padding-right: 4px;
  position: relative;
  z-index: 1;
  font-size: 11px;
  line-height: 1.3;
  opacity: 0.75;
  color: #822263;
}

.babecore-discord-widget-members {
  display: flex;
  flex-direction: column;
  gap: 1px;
  max-height: 209px;
  overflow-y: scroll;
  overflow-x: hidden;
  padding-right: 4px;
  scrollbar-color: #f88cff rgba(255, 182, 193, 0.4);
  scrollbar-width: thin;
}

.babecore-discord-widget-members::-webkit-scrollbar {
  width: 6px;
}

.babecore-discord-widget-members::-webkit-scrollbar-track {
  background: rgba(255, 182, 193, 0.2);
  border-radius: 10px;
}

.babecore-discord-widget-members::-webkit-scrollbar-thumb {
  background: #f88cff;
  border-radius: 10px;
}

.babecore-discord-widget-member {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 1px 2px;
  background: transparent;
  border-radius: 4px;
  transition: 0.15s ease;
}

.babecore-discord-widget-member:hover {
  background: rgba(245, 94, 247, 0.29);
}

.babecore-discord-widget-avatar-wrap {
  position: relative;
  width: 16px;
  height: 16px;
}

.babecore-discord-widget-avatar {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: block;
}

.babecore-discord-widget-status-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 0px solid rgba(255, 255, 255, 0.8);
}

.babecore-discord-widget-status-online { background: #24934e; }
.babecore-discord-widget-status-idle { background: #ffd97a; }
.babecore-discord-widget-status-dnd { background: #ff7a9e; }
.babecore-discord-widget-status-offline { background: #bfbfbf; }

.babecore-discord-widget-info {
  display: flex;
  flex-direction: row;
  gap: 4px;
  align-items: center;
  width: 100%;
}

.babecore-discord-widget-username {
  font-weight: 600;
  white-space: nowrap;
}

.babecore-discord-widget-activity {
  font-size: 11px;
  opacity: 0.7;
  white-space: nowrap;
}

.babecore-discord-widget-join {
  display: block;
  margin-top: 10px;
  padding: 6px 10px;
  background: rgba(255, 182, 193, 0.45);
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  color: #5a2a3a;
  text-decoration: none;
  transition: 0.15s ease;
}

.babecore-discord-widget-join:hover {
  background: rgba(255, 182, 193, 0.65);
}