.tag-select-page {
  min-height: 100vh;
  padding-bottom: 48rpx;
}

.tag-select-title {
  display: block;
  font-size: 34rpx;
  font-weight: 800;
  margin-bottom: 24rpx;
}

.tag-section {
  margin-bottom: 28rpx;
}

.tag-section__title {
  display: block;
  font-size: 30rpx;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 16rpx;
}

.tag-section__title--spaced {
  margin-top: 8rpx;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 14rpx;
}

.tag-pill {
  padding: 10rpx 18rpx;
  border-radius: 9999rpx;
  background: #f8fafc;
  border: 1rpx solid #e5e7eb;
  font-size: 24rpx;
  color: #4b5563;
  transition: transform 120ms ease, background 120ms ease;
}

.tag-pill:active,
.tag-prof-entry:active,
.tag-select-save:active {
  transform: scale(0.985);
}

.tag-pill--active {
  color: #123e7c;
  border-color: #bdd6f4;
  background: #edf5ff;
  font-weight: 700;
}

.tag-prof-entry {
  background: #ffffff;
  border-radius: 16rpx;
  border: 1rpx solid #d7e2f1;
  padding: 20rpx;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 120ms ease, background 120ms ease;
}

.tag-prof-entry__left {
  min-width: 0;
}

.tag-prof-entry__label {
  display: block;
  font-size: 28rpx;
  color: #0f172a;
  font-weight: 600;
}

.tag-prof-entry__hint {
  display: block;
  margin-top: 8rpx;
  color: #64748b;
  font-size: 24rpx;
}

.tag-prof-entry__arrow {
  color: #94a3b8;
  font-size: 30rpx;
  font-weight: 600;
}

.tag-selected-preview {
  margin-top: 16rpx;
  display: flex;
  flex-wrap: wrap;
  gap: 12rpx;
}

.tag-selected-preview__pill {
  padding: 8rpx 16rpx;
  border-radius: 9999rpx;
  background: #f1f5f9;
  color: #334155;
  font-size: 24rpx;
}

.tag-selected-preview__empty {
  color: #94a3b8;
  font-size: 24rpx;
}

.tag-select-bottom {
  position: static;
  padding: 24rpx 0 0;
  background: transparent;
  border-top: 0;
}

.tag-select-save {
  border: none;
  border-radius: 12rpx;
  background: #123e7c;
  color: #fff;
  font-size: 30rpx;
  font-weight: 700;
  transition: transform 120ms ease, background 120ms ease;
}

.tag-select-save::after {
  border: none;
}
