  .visitors-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: clamp(8px, 3vw, 16px);
    margin-top: 20px;
    padding: 0 10px; /* 增加边距防止内容贴边 */
  }
  
  .visitor {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    font-size: 14px;
    text-align: center;
    background-color: var(--background-hover, rgba(255 255 255 / 0.05));
    padding: 6px;
    border-radius: 0px;
    transition: all 0.3s ease;
    box-sizing: border-box;
  }
  
  .visitor:hover {
    transform: translateY(-3px);
    background-color: var(--background-hover, rgba(255 255 255 / 0.1));
  }
  
  .visitor img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border-color, #555);
    transition: border-color 0.3s ease;
    object-fit: cover; /* 确保头像不变形 */
  }
  
  .visitor-name {
    margin-top: 6px;
    font-weight: bold;
    color: var(--text-color, #eee);
    transition: color 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
  }
  
  .visitor-count {
    font-size: 12px;
    color: var(--text-secondary-color, #bbb);
    transition: color 0.3s ease;
  }
  
  /* 移动端适配 */
  @media (max-width: 576px) {
    .visitors-container {
      grid-template-columns: repeat(auto-fill, minmax(65px, 1fr));
      gap: 8px;
    }
    
    .visitor img {
      width: 40px;
      height: 40px;
    }
    
    .visitor-name {
      font-size: 12px;
    }
    
    .visitor-count {
      font-size: 10px;
    }
  }
  
  /* 骨架屏加载状态 */
  .skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
  }
  
  @keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
  }