/* 可用渠道页面 - 支持模型列加滚动条 */

/* 给 td 设置相对定位，用于放置渐变遮罩 */
td.align-top.px-4.py-3:last-child {
  position: relative;
}

.flex.flex-wrap.gap-1 {
  max-height: 120px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(156, 163, 175, 0.8) rgba(0,0,0,0.05);
}
.flex.flex-wrap.gap-1::-webkit-scrollbar {
  width: 6px;
}
.flex.flex-wrap.gap-1::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.05);
  border-radius: 3px;
}
.flex.flex-wrap.gap-1::-webkit-scrollbar-thumb {
  background-color: rgba(156, 163, 175, 0.8);
  border-radius: 3px;
}

/* 底部渐变遮罩，提示还有更多内容 */
td.align-top.px-4.py-3:last-child::after {
  content: "";
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  height: 28px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.9));
  pointer-events: none;
}

/* 深色模式 */
.dark td.align-top.px-4.py-3:last-child::after {
  background: linear-gradient(to bottom, transparent, rgba(30,30,30,0.9));
}
