.tab-set {
  -ms-overflow-style: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.tab-set::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

.tab-set::-webkit-scrollbar-track,
.tab-set::-webkit-scrollbar-thumb {
  display: none !important;
  background: transparent !important;
}

/* 部分内嵌浏览器会强制绘制原生横向滚动条：由父层裁掉轨道，保留触摸滚动。 */
.game-tabs {
  overflow: hidden;
}

.game-tabs .tab-set {
  padding-bottom: 20px;
  margin-bottom: -20px;
}

/* 手机上不使用横向溢出，避免部分内嵌浏览器强制展示系统滚动条。 */
@media (max-width: 760px) {
  .game-tabs {
    overflow: visible;
  }

  .game-tabs .tab-set {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 0;
    overflow: visible;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .game-tabs .tab-set button {
    min-width: 0;
    padding-inline: 3px;
    font-size: 13px;
    white-space: nowrap;
  }

  .game-tabs .tab-set small {
    display: none;
  }
}
