/* 
 Theme Name:   OneNav-child
 Theme URI:    
 Description:  
 Author:       huaijiu
 Author URI:   http://hxalley.com
 Template:     onenav
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 /* == Add your own styles below this line ==
--------------------------------------------*/

/*
 Theme Name: OneNav 子主题
 Description: 自定义样式
*/

/* 确保卡片不会裁剪绝对定位的图标 */
.posts-item.app-item {
    position: relative;
    overflow: visible;
}

/* 平台图标容器：更靠上、靠右 */
.app-platform-icons {
    position: absolute;
    top: -6px;
    right: 4px;
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    line-height: 1;
}

.app-platform-icons i {
    font-size: 16px;
    opacity: 0.3;
    transition: opacity 0.2s;
    margin-right: 3px;   /* 替代 gap: 3px */
    margin-bottom: 3px;  /* 换行时的垂直间距 */
}

/* 处理行内最后一个图标，去掉多余的右边距 */
.app-platform-icons i:last-child {
    margin-right: 0;
}

.app-platform-icons i:hover {
    opacity: 1;
}

@media (max-width: 767.98px) {
    .app-platform-icons {
        top: -5px;
        right: 3px;
    }

    .app-platform-icons i {
        font-size: 12px;
        margin-right: 1px;   /* 替代移动端 gap: 1px */
        margin-bottom: 1px;
    }

    .app-platform-icons i:last-child {
        margin-right: 0;
    }
}