.marquee {
  width: auto;
  height: 36px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;

  display: flex;
  align-items: center;

  font-family: Arial, Helvetica, sans-serif;
  user-select: none;
}

.marquee,
.marquee * {
  box-sizing: border-box;
}
 
.marquee__container {
  width: 100%;
  margin-bottom: 3px;
  position: relative;
  background-color: var(--bs-body-bg);
}
body.dark-mode .marquee__container{
  background-color: #111;
}

.marquee .list__group {
  width: 100%;
  margin: 0;
  padding: 0;
  position: absolute;

  display: flex;

  list-style: none;
}

.marquee .list__item {
  min-width: 15%;
  padding: 0 6px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;

  flex: 0 0 auto;

  color: var(--bs-body-color);
  font-size: 13px;
  text-align: center;
}
body.dark-mode .marquee .list__item{
  color: #ccc;
}

.marquee .list__item a {
  display: flex;
  align-items: center;
  gap: 4px;

  color: inherit !important;
  font-weight: bold;
  text-decoration: none !important;
}

.marquee .list__item img {
  height: 16px;
  border-radius: 50%;
}

.marquee .isUp {
  color: #0f0;
}

.marquee .isDown {
  color: #f00;
}

.marquee__controls {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 100;

  height: 32px;
  padding: 6px;

  display: flex;
  align-items: center;
  gap: 6px;

  background-color: var(--bs-body-bg);
}

body.dark-mode .marquee__controls{
  background-color: #111;
}

.marquee__controls button {
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #777;

  font-size: 10px;
  cursor: pointer;
}

.marquee__controls button:hover {
  background-color: #777;
  color: #fff;
}

.marquee__controls button:active {
  transform: scale(0.9);
}

.marquee__controls button svg {
  width: 18px;
  height: 18px;
}