/* 底部导航栏 */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.06);
    z-index: 100;
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
}

.bottom-nav.visible {
    display: flex;
}

.nav-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 0;
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 10px;
}

.nav-btn .nav-icon {
    width: 22px;
    height: 22px;
    line-height: 1;
}

.nav-btn .nav-label {
    font-size: 10px;
    font-weight: 500;
}

.nav-btn.active {
    color: #ff69b4;
}

.nav-btn:active {
    opacity: 0.6;
}

/* 好友页面 */
#friends-page .content-area {
    padding-bottom: 80px;
}

.friends-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.friends-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    font-size: 13px;
    white-space: nowrap;
}

.friends-table th {
    text-align: left;
    padding: 10px 12px;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
    font-size: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    white-space: nowrap;
}

.friends-table td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.85);
    white-space: nowrap;
}

.friends-table tbody tr:last-child td {
    border-bottom: none;
}

.friends-table tbody tr:active {
    background: rgba(255,255,255,0.03);
}

.friends-empty {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255,255,255,0.4);
    font-size: 14px;
}

/* 内容区域底部留白，避免被导航栏遮挡 */
#info-page .content-area {
    padding-bottom: 80px;
}
