.box2 {
    height: 86px;
    cursor: pointer;
    border-radius: 4px;
    padding: 0px 30px 0px 30px;
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #e4ecf3;
    margin: 20px 0 0 0;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.box2:hover {
    transform: translateY(-6px);
    -webkit-transform: translateY(-6px);
    -moz-transform: translateY(-6px);
    box-shadow: 0 26px 40px -24px rgba(0, 36, 100, 0.3);
    -webkit-box-shadow: 0 26px 40px -24px rgba(0, 36, 100, 0.3);
    -moz-box-shadow: 0 26px 40px -24px rgba(0, 36, 100, 0.3);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.xe-comment-entry img {
    float: left;
    display: block;
    margin-right: 10px;
}
.xe-comment {
    transform: translateY(-50%);
    position: absolute;
    margin-left: 50px;
    top: 50%;
}
.xe-comment p {
    margin-bottom: 0px;
    margin-right: 15px;
}
.overflowClip_1 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.overflowClip_2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}


.submit-tag{
    margin-top: 50px;

}

.img-circle {
    padding: 7px 0;
}

/* 移动端优化样式 */
@media screen and (max-width: 768px) {
    /* 移动端网站卡片调整 */
    .box2 {
        height: 70px;
        padding: 0px 15px;
        margin: 10px 0;
        /* 触摸优化 */
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .box2:active {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
    
    .xe-comment-entry img {
        width: 32px;
        height: 32px;
        margin-right: 8px;
    }
    
    .xe-comment {
        margin-left: 40px;
    }
    
    /* 移动端登录按钮样式 */
    #btn-mobile-login {
        background: #2c2e2f;
        color: #fff;
        padding: 12px 15px;
        border-bottom: 1px solid #3d3f40;
        font-weight: 500;
        /* 触摸优化 */
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        transition: background-color 0.2s ease;
    }
    
    #btn-mobile-login:hover {
        background: #3d3f40;
    }
    
    #btn-mobile-login:active {
        background: #1a1b1c;
        transform: translateX(2px);
    }
    
    /* 移动端退出按钮样式 */
    #btn-mobile-logout {
        background: #2c2e2f;
        color: #fff;
        padding: 12px 15px;
        border-bottom: 1px solid #3d3f40;
        font-weight: 500;
        /* 触摸优化 */
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        transition: background-color 0.2s ease;
    }
    
    #btn-mobile-logout:hover {
        background: #e74c3c;
    }
    
    #btn-mobile-logout:active {
        background: #c0392b;
        transform: translateX(2px);
    }
    
    #btn-mobile-login i {
        margin-right: 8px;
        width: 20px;
        text-align: center;
    }
    
    /* 移动端用户头像调整 */
    .user-avatar {
        width: 32px;
        height: 32px;
        line-height: 32px;
        font-size: 14px;
    }
    
    /* 移动端侧边栏优化 */
    .sidebar-menu {
        width: 280px;
    }
    
    /* 移动端内容区域调整 */
    .main-content {
        padding: 15px;
    }
    
    /* 移动端滚动优化 */
    body {
        -webkit-overflow-scrolling: touch;
    }
    
    /* 加载状态优化 */
    .empty-state {
        padding: 30px 20px;
        text-align: center;
    }
    
    .empty-state i {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .empty-state p {
        font-size: 16px;
    }
}

/* 平板设备优化 (iPad等) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    /* 竖屏iPad优化 - 缩小侧边栏增加内容区 */
    .sidebar-menu {
        width: 240px;
    }
    
    .page-container .main-content {
        padding: 20px;
    }
    
    /* 卡片布局优化 */
    .box2 {
        height: 80px;
        padding: 0px 20px;
    }
}

/* 11英寸 iPad Pro 竖屏专项优化 (834px宽度) */
@media screen and (min-width: 834px) and (max-width: 900px) {
    .sidebar-menu {
        width: 220px;
    }
    
    .page-container .main-content {
        padding: 18px;
    }
    
    /* 更紧凑的卡片 */
    .box2 {
        height: 75px;
        padding: 0px 15px;
        margin: 12px 0 0 0;
    }
    
    .xe-comment-entry img {
        width: 36px;
        height: 36px;
    }
}

/* iPad横屏优化 (1024px-1400px) */
@media screen and (min-width: 1025px) and (max-width: 1400px) {
    /* 保持正常布局，微调间距 */
    .page-container .main-content {
        padding: 25px;
    }
}

@media screen and (max-width: 480px) {
    .box2 {
        height: 60px;
        padding: 0px 10px;
    }
    
    .xe-comment-entry img {
        width: 28px;
        height: 28px;
        margin-right: 6px;
    }
    
    .xe-comment {
        margin-left: 34px;
    }
    
    .xe-comment p {
        font-size: 13px;
    }
    
    /* 极小屏幕适配 */
    .sidebar-menu {
        width: 240px;
    }
}