@media (max-width: 992px) {

  .left-contaienr {
    margin-right: 0;
    border-right: 0;
    box-shadow: none;
    border: none;
  }
  

  .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 {
    gap: 3px; /* 移动端屏幕小，间隙更紧凑 */
  }

  .article-Text .graplist .grid .lsit-box {
    position: relative;
    overflow: hidden;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;  
    height: auto !important;
    border-radius: 0 !important;  
    background: #fafafa;
    cursor: pointer;
  }

  /* 移动端悬停反馈（只降透明度） */
  .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;
  }

  /* 移除之前强制隐藏第 5 张图片的代码，让 5 张图可以完整一行排开 */
  /* 如果移动端单图也想缩小一点，可以保留单图限制 */
  .article-Text .graplist .grid.grid-1 {
    max-width: 35%;
  }
  /* end */

  /* .article-Text .graplist .grid {
        justify-content: space-between
    } */

  /* 个人主页 */
  .column {
    flex-direction: column;
  }

  /* 帖子 */
  .user-span span {
    /* display: inline-block !important;  */
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-transition: color 0.2s ease;
    transition: color 0.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;
  }
}
