.app-tabs {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 14px 0;
  display: flex;
  gap: 6px;
}

.app-tab {
  flex: 1 1 0;
  min-width: 0;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 10px 12px;
  font-family: "Outfit", sans-serif;
  font-size: clamp(11px, 2.2vw, 14px);
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.app-tab:hover {
  color: var(--text-main);
  background: var(--hover-bg);
}

.app-tab.is-active {
  background: var(--text-main);
  color: var(--bg-color);
  border-color: transparent;
}

#panel-livestream[hidden],
#panel-ranker[hidden] {
  display: none !important;
}

@media (max-width: 720px) {
  .app-tabs {
    flex-direction: column;
    gap: 6px;
    padding: 10px 10px 0;
  }
  .app-tab {
    /* Full label, still forced to a single line */
    flex: 0 0 auto;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 999px;
    padding: 11px 14px;
    font-size: clamp(12px, 3.4vw, 14px);
  }
}
