.section {
  margin-bottom: 28px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.headerActions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navPair {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navBtn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--text-secondary);
  transition: background 0.2s, color 0.2s;
}

.navBtn:hover {
  background: rgba(var(--primary-rgb) / 0.1);
  color: var(--primary);
}

.trackWrap {
  position: relative;
}

.track {
  --card-col-width: 180px;
  --card-body-height: 148px;
  display: flex;
  align-items: stretch;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 4px 2px 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.45) transparent;
}

.track::-webkit-scrollbar {
  height: 6px;
}

.track::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.45);
  border-radius: 50px;
}

.cardSlot {
  flex: 0 0 var(--card-col-width);
  min-height: calc(var(--card-col-width) + var(--card-body-height));
  scroll-snap-align: start;
  display: flex;
  min-width: 0;
}

.cardSlot > * {
  width: 100%;
  height: 100%;
}

.cardSlot > span {
  display: flex;
}

.cardSlot > span > button {
  flex: 1;
  width: 100%;
}

.addCard {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px dashed rgba(var(--primary-rgb) / 0.35);
  border-radius: var(--radius);
  color: var(--primary);
  transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.addCard:hover {
  background: rgba(var(--primary-rgb) / 0.08);
  border-color: rgba(var(--primary-rgb) / 0.55);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(31, 38, 135, 0.1);
}

.addIcon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(var(--primary-rgb) / 0.1);
}

@media (min-width: 640px) {
  .track {
    --card-col-width: 200px;
  }
}

@media (min-width: 1024px) {
  .track {
    --card-col-width: 220px;
  }
}
