/* GF4-MUMBLE-LIVE-V1 */

.mumble-live-panel {
  display: none;
  min-width: 0;
  margin-top: 12px;
  padding: 16px;
  border: 1px solid #303844;
  border-radius: 10px;
  background: #141a21;
}

.chat.is-expanded .mumble-live-panel {
  display: block;
}

.mumble-live-heading,
.mumble-live-title,
.mumble-channel-heading {
  display: flex;
  align-items: center;
}

.mumble-live-heading {
  justify-content: space-between;
  gap: 16px;
}

.mumble-live-title {
  min-width: 0;
  gap: 9px;
}

.mumble-live-title h3 {
  margin: 0;
  color: #f2f5f8;
  font-size: 14px;
  font-weight: 600;
}

.mumble-live-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #6fc482;
  box-shadow: 0 0 0 4px rgba(111, 196, 130, 0.1);
}

.mumble-live-dot.is-offline {
  background: #7e8995;
  box-shadow: 0 0 0 4px rgba(126, 137, 149, 0.1);
}

.mumble-live-count {
  flex: 0 0 auto;
  color: #8eb9d8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.widget .mumble-live-note {
  margin-top: 8px;
  color: #728090;
  font-size: 12px;
}

.mumble-channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 9px;
  margin-top: 13px;
}

.mumble-channel {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #29333e;
  border-radius: 8px;
  background: #171e26;
}

.mumble-channel.is-child {
  border-left-color: #52718a;
}

.mumble-channel-heading {
  justify-content: space-between;
  gap: 10px;
}

.mumble-channel-name {
  overflow: hidden;
  color: #dce5ed;
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mumble-channel-count {
  flex: 0 0 auto;
  color: #697787;
  font-size: 11px;
}

.mumble-user-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 22px;
  margin-top: 9px;
}

.mumble-user,
.mumble-channel-empty {
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 11px;
}

.mumble-user {
  overflow: hidden;
  color: #b9d7c0;
  background: rgba(111, 196, 130, 0.1);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mumble-channel-empty {
  color: #65717f;
  background: #141a21;
}

@media (max-width: 700px) {
  .mumble-live-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .mumble-channel-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
