#nav {
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 8px;
    margin: 20px;
  }
  
  .category {
    width: 100%;
    margin-bottom: 20px;
  }
  
  .category h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #333;
  }
  
  .items-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* 左对齐 */
  }
  
  .item {
    width: 180px; /* 固定卡片宽度，扩大 */
    height: 60px; /* 固定卡片高度，缩小 */
    margin: 5px; /* 缩小卡片间距 */
    padding: 8px; /* 缩小卡片内边距 */
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    vertical-align: top;
    text-decoration: none;
    color: #333;
    position: relative; /* 相对定位，方便悬停显示描述 */
    overflow: hidden; /* 隐藏溢出内容 */
    flex-direction: column; /* 垂直排列内容 */
    align-items: flex-start; /* 左对齐 */
  }
  
  .item:hover {
    background-color: #f5f5f5;
  }
  
  /* 图标文本左右排列 */
  .item-content {
    display: flex;
    align-items: center;
    width: 100%;
  }
  
  .item-icon {
    width: 24px; /* 缩小图标 */
    height: 24px; /* 缩小图标 */
    margin-right: 8px; /* 调整图标间距 */
  }
  
  .item-name {
    font-size: 0.9em; /* 缩小字体 */
    font-weight: bold;
  }
  
  .item-description {
    font-size: 0.7em; /* 缩小字体 */
    color: #777;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 4px;
    background-color: rgba(255, 255, 255, 0.9);
    transition: top 0.3s ease;
    box-sizing: border-box;
  }
  
  .item:hover .item-description {
    top: 45px; /* 悬停时显示描述 */
  }
  
  .item::after {
    content: "\203A"; /* 添加小箭头 */
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    font-size: 1em;
    color: #999;
  }
  