.zs-course-live-status { display:inline-block; padding:4px 10px; border-radius:20px; font-size:13px; line-height:1.5; font-weight:600; white-space:nowrap; vertical-align:middle; margin:4px 8px 4px 0; }
.zs-course-live-status.is-live { color:#b42318; background:#ffebe8; }
.zs-course-live-status.is-live::before { content:''; display:inline-block; width:7px; height:7px; border-radius:50%; background:#e53935; margin-right:6px; }
.zs-course-live-status.is-upcoming { color:#245da3; background:#edf4ff; }
.zs-course-live-status.is-ended { color:#626d7b; background:#f0f2f5; }
.top-img > .zs-course-live-status { position:absolute; left:10px; top:10px; z-index:2; margin:0; box-shadow:0 2px 8px #0001; }
@media (max-width:900px) {
    body.zs-my-courses .info .right .set .course-list,
    body.zs-my-courses .info .right .set .course-list1,
    body.zs-my-courses .info .right .set .course-list2 { margin:20px 0 0!important; width:100%!important; flex-direction:column; align-items:stretch; }
    body.zs-my-courses .course-item,
    body.zs-my-courses .course-item1 { box-sizing:border-box; width:100%!important; height:auto!important; margin:0 0 18px!important; flex:none; }
    body.zs-my-courses .course-item .top-img > img:first-child,
    body.zs-my-courses .course-item1 .top-img > img:first-child { width:100%!important; height:auto!important; max-height:240px; object-fit:cover; }
    body.zs-my-courses .top-img > img:not(:first-child) { width:70px!important; height:auto!important; }
    body.zs-my-courses .course-info { box-sizing:border-box; width:100%; }
}

/* Compact mobile cards: show total hours once, in the tag under the title. */
body.zs-my-courses .card .zs-hours-total { background:none; color:inherit; padding:0; margin:0; }
@media (max-width:900px) {
    body.zs-my-courses .course-info { height:auto!important; min-height:0!important; padding:12px 14px 14px!important; }
    body.zs-my-courses .course-item,
    body.zs-my-courses .course-item1 { margin-bottom:14px!important; }
    body.zs-my-courses .zs-hours-divider:not(.is-ydy),
    body.zs-my-courses .zs-hours-summary:not(.is-ydy),
    body.zs-my-courses .zs-hours-total { display:none!important; }
    body.zs-my-courses .course-info .bottom { min-height:0; height:auto; margin-top:10px; }
    body.zs-my-courses .course-info .title { -webkit-line-clamp:2; line-height:1.5; }
}

/* Match the course-center action row without covering the course image. */
.zs-course-live-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding-top:10px}
.zs-course-live-label{display:inline-flex;align-items:center;color:#e91e0e;font-size:14px;font-weight:600;white-space:nowrap}
.zs-course-live-label::before{content:'';width:7px;height:7px;background:#e53935;border-radius:50%;margin-right:6px}
.zs-course-live-actions .zs-course-live-enter{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;margin-left:auto;min-height:32px;padding:6px 12px;border-radius:10px;background:#ff4141;color:#fff;font-size:14px;font-weight:500;line-height:20px;white-space:nowrap;text-decoration:none;cursor:pointer}
.zs-course-live-enter:hover{background:#e63232}
.zs-course-live-enter:focus-visible{outline:2px solid #0869ed;outline-offset:3px}
body.zs-my-courses .course-item,body.zs-my-courses .course-item1{height:auto!important}
body.zs-my-courses .course-info{height:auto!important}
