/* Bot cards on the Discord bots list */
.bot-hub-card {
  min-height: 0;
}

.bot-hub-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #7a4dff, #ff5fb7);
  opacity: 0.85;
}

.bot-hub-lunaya::after {
  background: linear-gradient(90deg, #ffb38a, #7a4dff, #22bfe0);
}

.bot-hub-noxya::after {
  background: linear-gradient(90deg, #6a3dff, #b45cff, #4a6bff);
}

.bot-section-panel-beta .bot-hub-card::after {
  background: linear-gradient(90deg, #f5a524, rgba(245, 165, 36, 0.25));
}

.bot-hub-head {
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}

.bot-hub-avatar {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.bot-hub-avatar.is-empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-style: dashed;
  border-color: rgba(183, 220, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(231, 239, 255, 0.55);
  font-size: 1.6rem;
  font-weight: 900;
  box-shadow: none;
}

.bot-hub-title {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  margin-right: auto;
}

.bot-hub-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #b7dcff;
  font-size: 0.8rem;
  font-weight: 800;
}

.bot-hub-state::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.bot-hub-state.is-live {
  color: #7fe0a6;
}

.bot-hub-state.is-beta {
  color: #ffc76a;
}

.bot-hub-card .bot-badge {
  align-self: flex-start;
}

@media (max-width: 640px) {
  .bot-hub-head {
    flex-direction: row;
    align-items: center;
  }

  .bot-hub-avatar {
    flex-basis: 54px;
    width: 54px;
    height: 54px;
    border-radius: 15px;
  }
}

/* Platform icons on the bots hub */
.bot-platform-icon {
  width: 72px;
  height: 72px;
  margin: -6px -4px -18px 0;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(145, 70, 255, 0.35));
}

.bot-hub-card.bot-hub-loxybot .bot-hub-avatar[src*="loxybot-twitch"] {
  border-color: rgba(145, 70, 255, 0.45);
}

.bot-section-panel:not(.bot-section-panel-beta) .bot-list-grid-twitch .bot-hub-card::after {
  background: linear-gradient(90deg, #9146ff, #a970ff);
}
