/* Only DEX chain filters. Extra context beats the shared button resets in H5 and native WebView. */
.cn-home .cn-category-info .cn-network-tabs,
.ui-market .market-category-note .market-chain-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.cn-home .cn-category-info .cn-network-tabs > button,
.cn-home .cn-category-info .cn-network-tabs > uni-button,
.ui-market .market-category-note .market-chain-tabs > button,
.ui-market .market-category-note .market-chain-tabs > uni-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-sizing: border-box;
  min-width: 44px;
  height: 32px;
  min-height: 32px;
  margin: 0;
  padding: 6px 12px;
  border: 1px solid #e7edde;
  border-radius: 999px;
  background: #f3f6ef;
  color: #687469;
  font-size: 11px;
  font-weight: 500;
  line-height: 18px;
  text-align: center;
  white-space: nowrap;
  touch-action: manipulation;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

.cn-home .cn-category-info .cn-network-tabs > button.selected,
.cn-home .cn-category-info .cn-network-tabs > uni-button.selected,
.ui-market .market-category-note .market-chain-tabs > button.selected,
.ui-market .market-category-note .market-chain-tabs > uni-button.selected {
  background: #d0fa61;
  border-color: #c5ed5a;
  color: #28301e;
  font-weight: 600;
}

.cn-home .cn-category-info .cn-network-tabs > button:focus-visible,
.cn-home .cn-category-info .cn-network-tabs > uni-button:focus-visible,
.ui-market .market-category-note .market-chain-tabs > button:focus-visible,
.ui-market .market-category-note .market-chain-tabs > uni-button:focus-visible {
  outline: 2px solid #718e30;
  outline-offset: 2px;
}
