@media (max-width: 992px) {
    .none-Mobile {
        display: none !important;
    }

    .width-auto {
        width: 100% !important;
    }

    /* 封面 */
    .img-article {
        display: none !important;
    }

    /* 问答卡片的操作栏缩小gap */
    .gap-mob {
        gap: 10px !important;
        white-space: nowrap;
    }

    .post .Commentinformation {
        white-space: nowrap;
        gap: 5px !important;
    }

    /* 帖子 */
    .Label-tag {
        white-space: nowrap;
        gap: 0 !important;
    }

    .le-doem a {
        padding: 0 !important;
        background: transparent !important;
    }

 /* 移动端帖子  图片布局 */
.article-Text .graplist .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 四宫格：2列2行 */
    gap: 8px; /* 极简风用 8，更紧凑干净 */
}

.article-Text .graplist .grid .lsit-box {
    position: relative;
    overflow: hidden;
    width: 100% !important;
    aspect-ratio: 1 / 1; /* 宽高等比，正方形 */
    height: auto !important; /* 覆盖原来的固定高度 */
    border-radius: 6px;
    background: #fafafa;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

/* 极简 hover：不加阴影、不位移，只轻微降低透明度 */
.article-Text .graplist .grid .lsit-box:hover {
    opacity: 0.85;
}

/* 图片统一裁切填满 */
.article-Text .graplist .grid .lsit-box img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 只显示前 4 个，形成真正的四宫格 */
.article-Text .graplist .grid .lsit-box:nth-child(n+5) {
    display: none;
}
 /* end */

    /* .article-Text .graplist .grid {
        justify-content: space-between
    } */

    /* 个人主页 */
    .column {
        flex-direction: column;
    }

    .user-contaienr .user-data .user-avaimg {
        display: none !important;
    }

    /* 帖子 */
    .user-span span {
        /* display: inline-block !important;  */
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-transition: color .2s ease;
        transition: color .2s ease;
        white-space: nowrap;
        max-width: 180px !important;
    }

    /* info */
    .info-data-s[badge] {
        white-space: nowrap;
    }

    .ant-list-item-meta-title .gap-5 {
        white-space: nowrap;
    }

    /* 登录按钮 */
    .btn-login {
        margin-right: 0 !important;
    }

    /* 热门榜单 */
    .column-reverse {
        flex-direction: column-reverse;
    }

    /* 点赞收藏 */
    .Save,
    .lilmop.Like {
        display: none !important;
    }
}

/* 小手机 (≤480px) 进一步优化 */
@media screen and (max-width: 480px) {
    .mobile-user-name {
        display: none !important;
    }

    .user-btnafr {
        gap: 4px;
    }

    .nav-list {
        width: 260px;
    }

    .nav-list>li>a {
        padding: 10px 16px;
        font-size: 14px;
    }

    .nav-list>li .submenu a {
        padding: 10px 16px 10px 40px;
        font-size: 13px;
    }
}

/* 桌面端样式调整  */
@media screen and (min-width: 769px) {

    .mobile-menu-toggle,
    .mobile-search-toggle,
    .mobile-search-modal,
    .mobile-release,
    .mobile-user-name,
    .mobile-overlay {
        display: none !important;
    }

    .nav-list {
        display: flex !important;
    }

    .desktop-search,
    .desktop-release,
    .desktop-user-name {
        display: flex !important;
    }
}

/* 平板设备适配 */
@media screen and (min-width: 481px) and (max-width: 768px) {
    .nav-list {
        width: 320px;
    }

    .logo {
        width: 120px;
        height: 30px;
    }
}