/* 课程编号由后台自定义，可能较长，超出封面宽度时省略 */
.goods-no-badge {
    max-width: calc(100% - 24px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.course-sort-summary {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.course-learning-rights-link {
    white-space: nowrap;
}

.course-learning-rights-link:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }

/* PC 端内联筛选区；移动端改用底部抽屉，这里整体隐藏
   （与源码市场 .market-layout > .filter-bar 的隐藏口径一致） */
@media (max-width: 992px) {
    .course-filter-desktop {
        display: none;
    }
    /* 窄屏优先保留排序和筛选；权益仍可通过全站「我的会员」访问。 */
    .course-sort-summary {
        display: none;
    }
}

/* PC 端不渲染「关键字」行（见下方 filterBar(false)），搜索统一走顶部头部搜索框，
   与源码市场 PC 端隐藏 .filter-row[data-param="g"] 的口径一致；手机上仍在筛选抽屉里 */
