/* 小方块推荐（首页小图标 / 播放页小图标）：一排方形图标 + 名称，放不下时横向滑动 */
.app-icons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  min-width: 0;
  padding: 16px 0;
  box-sizing: border-box;
}

.app-icons__label {
  font-size: 12px;
  line-height: 18px;
  color: rgba(255, 255, 255, 0.4);
}

.app-icons__row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.app-icons__row::-webkit-scrollbar {
  display: none;
}

.app-icons__item {
  flex: 0 0 auto;
  width: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.app-icons__img {
  width: 96px;
  height: 96px;
  display: block;
  object-fit: cover;
  border-radius: 16px;
  background: #232328;
}

.app-icons__name {
  max-width: 100%;
  overflow: hidden;
  font-size: 14px;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .app-icons {
    gap: 6px;
    padding: 12px var(--h5-gutter, 16px);
  }

  .app-icons__row {
    gap: 10px;
  }

  .app-icons__item {
    width: 64px;
  }

  .app-icons__img {
    width: 64px;
    height: 64px;
    border-radius: 14px;
  }

  .app-icons__name {
    font-size: 12px;
    line-height: 18px;
  }
}
