/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(to bottom, #f0f8ff, #ffffff);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-content {
    max-width: 800px;
    width: 100%;
    padding: 20px;
    margin-top: auto;
    margin-bottom: auto;
}

/* 个人信息部分 */
.profile-section {
    text-align: center;
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.location {
    margin: 10px 0;
    color: #666;
}

.name {
    color: #2c3e50;
    font-weight: bold;
}

.bio {
    margin: 15px 0;
    color: #555;
}

.intro {
    background-color: #fff8e1;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.highlight {
    color: #3498db;
    font-weight: bold;
}


    /* 文字框背景色改为透明 */
    background-color: transparent;
    border: 1px solid #2c5282;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
}

.link-btn:hover {
    /*  hover 时背景色改为浅灰色，增强交互感 */
    background-color: #e9ecef;
    border-color: #ced4da;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.friend-link {
    border: 1px solid #2c5282;
    text-align: center;
    cursor: pointer;
}
