/* Tabs */
.tabs__list {
  display: flex;
  gap: var(--space-1);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs__list::-webkit-scrollbar {
  display: none;
}
.tabs--underline .tabs__list {
  border-bottom: 1px solid var(--line-2);
}
.tabs__tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: none;
  min-height: var(--touch);
  padding: 0 var(--space-4);
  color: var(--text-3);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease-out);
}
.tabs--block .tabs__list {
  display: flex;
}
.tabs--block .tabs__tab {
  flex: 1 1 0;
}
.tabs__tab:hover {
  color: var(--text-1);
}
.tabs__tab:focus-visible {
  outline-offset: -3px;
  border-radius: var(--radius-sm);
}
.tabs--underline .tabs__tab.is-active {
  color: var(--text-1);
}
.tabs--underline .tabs__tab.is-active::after {
  content: '';
  position: absolute;
  left: var(--space-3);
  right: var(--space-3);
  bottom: -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--volt-400);
  box-shadow: 0 0 12px var(--volt-glow);
}
.tabs--pill .tabs__list {
  display: inline-flex;
  max-width: 100%;
  padding: 3px;
  border-radius: var(--radius-pill);
  background: rgb(4 7 15 / 0.55);
  border: 1px solid var(--line-2);
}
.tabs--pill .tabs__tab {
  min-height: 38px;
  border-radius: var(--radius-pill);
}
@media (pointer: coarse) {
  .tabs--pill .tabs__tab {
    min-height: var(--touch);
  }
}
.tabs--pill .tabs__tab.is-active {
  color: var(--text-1);
  background: var(--surface-4);
  box-shadow: var(--shadow-sm);
}
.tabs__badge {
  min-width: 18px;
  padding: 1px 5px;
  border-radius: var(--radius-pill);
  background: rgb(148 170 220 / 0.16);
  color: var(--text-2);
  font-family: var(--font-num);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
}
.tabs__panel {
  padding-top: var(--space-4);
}
.tabs__panel:focus-visible {
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}
