/* 容器布局：左侧分类，右侧网格 */
.group-row { 
    display: flex; 
    margin-bottom: 60px; 
    align-items: flex-start; 
}

.group-label-site { 
    width: 120px; 
    flex-shrink: 0; 
    padding-top: 15px;
}

/* 分组标签样式 */
.cat-tag { 
    background: #f4f4f9; 
    color: #555; 
    padding: 6px 18px; 
    border-radius: 10px; 
    font-size: 14px; 
    font-weight: 500;
}

/* 链接网格：图标垂直排列 */
.nav-grid { 
    flex-grow: 1; 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); 
    gap: 40px 20px; 
}

/* 链接块：焦点在圆形图标上 */
.nav-item { 
    display: flex;
    flex-direction: column; /* 纵向排列 */
    align-items: center;    /* 居中 */
    text-decoration: none;
    position: relative;
    transition: transform 0.2s ease;
}

.nav-item:hover { transform: translateY(-5px); }

/* 圆形图标焦点 */
.icon-circle {
    width: 64px; 
    height: 64px; 
    border-radius: 50%; 
    background: #7a94ff; 
    color: white; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 24px; 
    font-weight: bold;
    margin-bottom: 12px; /* 与下方文字的间距 */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
    border: none; /* 去除框线 */
}

/* 圆形图标内的图片 */
.icon-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保证图标填满圆形 */
    background: white;
}

/* 导航标题 */
.nav-title { 
    font-size: 14px; 
    color: #333; 
    text-align: center;
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 管理模式图标调整 */
.edit-tools { 
    position: absolute; 
    top: -5px; 
    right: 10px; 
    display: none; 
    z-index: 10; 
    gap: 4px;
}
.edit-mode .edit-tools { display: flex; }
.tool-dot {
    width: 20px; height: 20px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 10px; cursor: pointer; border: none;
}