.ranking-tab-button.active {
  position: relative;
  background: #1976d2;
  color: #fff;
}

.ranking-tab-button.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #1976d2;
}

@media screen and (max-width: 768px) {
  .ranking-tab-content.active {
    display: flex;
    flex-direction: column;
  }
}