/* =========================================================
   24直播网
   录像详情页 V1

   说明：
   1. 不负责 Header
   2. 不负责 Footer
   3. 不修改 body 全局样式
   4. 不依赖 Bootstrap
   5. 所有样式使用 lx-detail 命名空间
   ========================================================= */


/* =========================================================
   01. PAGE
   ========================================================= */

.lx-detail {
    width: 100%;
    padding: 20px 0 55px;
    background: #f4f5f7;
    color: #20252b;
    box-sizing: border-box;
}

.lx-detail *,
.lx-detail *::before,
.lx-detail *::after {
    box-sizing: border-box;
}

.lx-detail a {
    text-decoration: none;
}


/* =========================================================
   02. CONTAINER
   ========================================================= */

.lx-detail-container {
    width: 1200px;
    max-width: calc(100% - 32px);
    margin: 0 auto;
}


/* =========================================================
   03. BREADCRUMB
   ========================================================= */

.lx-detail-breadcrumb {
    min-height: 38px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 13px;

    color: #929aa3;
    font-size: 12px;
    line-height: 20px;

    white-space: nowrap;
    overflow: hidden;
}

.lx-detail-breadcrumb a {
    flex: 0 0 auto;
    color: #747d86;
}

.lx-detail-breadcrumb a:hover {
    color: #e53935;
}

.lx-detail-breadcrumb span {
    flex: 0 0 auto;
    color: #c1c6ca;
}

.lx-detail-breadcrumb strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    color: #9ca3aa;
    font-weight: 400;
}


/* =========================================================
   04. MAIN LAYOUT
   ========================================================= */

.lx-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 20px;
    align-items: start;
}

.lx-detail-main {
    min-width: 0;
}

.lx-detail-sidebar {
    min-width: 0;
}


/* =========================================================
   05. TITLE CARD
   ========================================================= */

.lx-detail-title-card {
    position: relative;
    padding: 25px 28px 23px;

    background: #fff;
    border: 1px solid #e5e8eb;
    border-radius: 6px;

    box-shadow: 0 2px 8px rgba(20, 28, 36, .035);

    overflow: hidden;
}

.lx-detail-title-card::after {
    content: "";
    position: absolute;
    right: -50px;
    top: -70px;

    width: 190px;
    height: 190px;

    border: 1px solid rgba(229, 57, 53, .08);
    border-radius: 50%;
}

.lx-detail-kicker {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 10px;

    color: #e53935;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.lx-detail-kicker-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #e53935;
    box-shadow: 0 0 0 4px rgba(229, 57, 53, .10);
}

.lx-detail-title-card h1 {
    position: relative;
    z-index: 1;

    margin: 0;

    color: #1d2329;
    font-size: 26px;
    line-height: 1.45;
    font-weight: 600;
}

.lx-detail-meta {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;

    margin-top: 13px;

    color: #929aa3;
    font-size: 12px;
}

.lx-detail-meta i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #c5cbd0;
}


/* =========================================================
   06. PLAYER
   ========================================================= */

.lx-player-card {
    margin-top: 14px;

    background: #fff;
    border: 1px solid #e5e8eb;
    border-radius: 6px;

    overflow: hidden;
    box-shadow: 0 2px 8px rgba(20, 28, 36, .035);
}

.lx-player-head {
    height: 54px;
    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid #edf0f2;
}

.lx-player-head > div {
    display: flex;
    align-items: center;
    gap: 9px;
}

.lx-section-mark {
    display: inline-block;

    width: 3px;
    height: 16px;

    border-radius: 2px;
    background: #e53935;
}

.lx-player-head strong {
    color: #252b31;
    font-size: 15px;
    font-weight: 600;
}

.lx-player-tip {
    color: #a0a7ae;
    font-size: 11px;
}


/* =========================================================
   07. PLAYER COVER
   ========================================================= */

.lx-player-cover {
    position: relative;

    display: block;
    width: 100%;

    aspect-ratio: 16 / 7;

    overflow: hidden;

    background: #151a20;
}

.lx-player-cover img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform .35s ease;
}

.lx-player-cover:hover img {
    transform: scale(1.025);
}

.lx-player-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(8, 11, 15, .70),
            rgba(8, 11, 15, .25),
            rgba(8, 11, 15, .58)
        );
}

.lx-player-button {
    position: absolute;
    left: 50%;
    top: 50%;

    width: 62px;
    height: 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,.48);
    border-radius: 50%;

    background: rgba(229,57,53,.92);

    transform: translate(-50%, -50%);

    box-shadow:
        0 8px 25px rgba(0,0,0,.25),
        0 0 0 8px rgba(255,255,255,.08);

    transition:
        transform .2s ease,
        background .2s ease;
}

.lx-player-cover:hover .lx-player-button {
    transform: translate(-50%, -50%) scale(1.06);
    background: #e53935;
}

.lx-player-button span {
    width: 0;
    height: 0;

    margin-left: 4px;

    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 13px solid #fff;
}

.lx-player-text {
    position: absolute;
    left: 24px;
    bottom: 20px;

    display: flex;
    flex-direction: column;
    gap: 4px;

    color: #fff;
}

.lx-player-text strong {
    font-size: 16px;
    font-weight: 600;
}

.lx-player-text small {
    color: rgba(255,255,255,.62);
    font-size: 9px;
    letter-spacing: 1.3px;
}


/* =========================================================
   08. VIDEO LIST
   ========================================================= */

.lx-video-list {
    padding: 0 20px 18px;
}

.lx-video-list-title {
    height: 47px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid #edf0f2;

    color: #394149;
    font-size: 13px;
    font-weight: 600;
}

.lx-video-list-title em {
    color: #a1a8ae;
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
}

.lx-video-item {
    min-height: 46px;

    display: flex;
    align-items: center;
    gap: 11px;

    border-bottom: 1px solid #f0f2f4;

    color: #555e66;

    transition: background .18s ease;
}

.lx-video-item:last-child {
    border-bottom: 0;
}

.lx-video-item:hover {
    background: #fafbfc;
}

.lx-video-index {
    width: 23px;
    height: 23px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 23px;

    color: #e53935;
    background: #fff2f2;

    border-radius: 4px;

    font-size: 11px;
}

.lx-video-name {
    min-width: 0;
    flex: 1;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    font-size: 13px;
}

.lx-video-watch {
    flex: 0 0 auto;

    color: #9ba2a9;
    font-size: 11px;
}

.lx-video-watch b {
    margin-left: 4px;

    color: #e53935;
    font-size: 16px;
    font-weight: 400;
    vertical-align: -1px;
}


/* =========================================================
   09. TAGS
   ========================================================= */

.lx-detail-tags {
    margin-top: 12px;
    padding: 15px 18px;

    display: flex;
    align-items: flex-start;
    gap: 13px;

    background: #fff;
    border: 1px solid #e5e8eb;
    border-radius: 6px;
}

.lx-tags-title {
    flex: 0 0 auto;

    padding-top: 4px;

    color: #8b949c;
    font-size: 12px;
}

.lx-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.lx-tags-list a {
    padding: 4px 9px;

    color: #727b84;
    background: #f5f6f7;

    border-radius: 3px;

    font-size: 11px;
}

.lx-tags-list a:hover {
    color: #e53935;
    background: #fff0f0;
}


/* =========================================================
   10. SOURCE
   ========================================================= */

.lx-detail-source {
    margin-top: 10px;
    padding: 10px 2px;

    display: flex;
    align-items: center;
    gap: 7px;

    color: #a2a9b0;
    font-size: 11px;
    line-height: 20px;
}

.lx-source-icon {
    width: 15px;
    height: 15px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 15px;

    color: #fff;
    background: #b8bec4;

    border-radius: 50%;

    font-size: 10px;
}


/* =========================================================
   11. PREV NEXT
   ========================================================= */

.lx-prev-next {
    margin-top: 5px;

    background: #fff;
    border: 1px solid #e5e8eb;
    border-radius: 6px;

    overflow: hidden;
}

.lx-prev-next-item {
    min-height: 48px;
    padding: 0 17px;

    display: flex;
    align-items: center;
    gap: 12px;

    border-bottom: 1px solid #edf0f2;
}

.lx-prev-next-item:last-child {
    border-bottom: 0;
}

.lx-prev-next-label {
    flex: 0 0 42px;

    color: #e53935;
    font-size: 11px;
}

.lx-prev-next-item a {
    min-width: 0;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    color: #606971;
    font-size: 12px;
}

.lx-prev-next-item a:hover {
    color: #e53935;
}


/* =========================================================
   12. RELATED / HOT
   ========================================================= */

.lx-related {
    margin-top: 15px;

    padding: 0 20px 22px;

    background: #fff;
    border: 1px solid #e5e8eb;
    border-radius: 6px;

    box-shadow: 0 2px 8px rgba(20, 28, 36, .035);
}

.lx-related-head {
    height: 57px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid #edf0f2;
}

.lx-related-head > div {
    display: flex;
    align-items: center;
    gap: 9px;
}

.lx-related-head h2 {
    margin: 0;

    color: #252b31;
    font-size: 15px;
    font-weight: 600;
}

.lx-related-head > a {
    color: #929aa2;
    font-size: 11px;
}

.lx-related-head > a:hover {
    color: #e53935;
}

.lx-related-head > a b {
    margin-left: 3px;

    color: #e53935;
    font-size: 16px;
    font-weight: 400;
    vertical-align: -1px;
}


/* =========================================================
   13. HOT GRID
   ========================================================= */

.lx-hot-grid {
    padding-top: 17px;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px 13px;
}

.lx-hot-card {
    min-width: 0;
}

.lx-hot-image {
    position: relative;

    width: 100%;
    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #eef0f2;
    border-radius: 4px;
}

.lx-hot-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform .25s ease;
}

.lx-hot-card:hover .lx-hot-image img {
    transform: scale(1.04);
}

.lx-hot-play {
    position: absolute;
    left: 10px;
    bottom: 9px;

    width: 25px;
    height: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0,0,0,.58);
    border-radius: 50%;
}

.lx-hot-play::after {
    content: "";

    margin-left: 2px;

    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid #fff;
}

.lx-hot-title {
    margin-top: 8px;

    height: 36px;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    overflow: hidden;

    color: #4e5861;
    font-size: 12px;
    line-height: 18px;
}

.lx-hot-card:hover .lx-hot-title {
    color: #e53935;
}


/* =========================================================
   14. SIDEBAR CARD
   ========================================================= */

.lx-side-card {
    margin-bottom: 14px;
    padding: 0 17px 17px;

    background: #fff;
    border: 1px solid #e5e8eb;
    border-radius: 6px;

    box-shadow: 0 2px 8px rgba(20, 28, 36, .035);
}

.lx-side-title {
    min-height: 50px;

    display: flex;
    align-items: center;
    gap: 9px;

    border-bottom: 1px solid #edf0f2;

    color: #252b31;
    font-size: 14px;
    font-weight: 600;
}


/* =========================================================
   15. AUTHOR
   ========================================================= */

.lx-author-card {
    padding-bottom: 0;
}

.lx-author {
    padding: 17px 0;

    display: flex;
    align-items: center;
    gap: 11px;
}

.lx-author img {
    width: 44px;
    height: 44px;

    flex: 0 0 44px;

    display: block;

    object-fit: cover;

    border-radius: 50%;
    border: 1px solid #e8eaec;
}

.lx-author-info {
    min-width: 0;

    display: flex;
    flex-direction: column;
    gap: 5px;
}

.lx-author-info strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    color: #333a40;
    font-size: 13px;
}

.lx-author-info span {
    color: #9ca3aa;
    font-size: 10px;
}

.lx-author-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;

    margin-bottom: 14px;

    border-top: 1px solid #f0f2f4;
    border-bottom: 1px solid #f0f2f4;
}

.lx-author-stats div {
    padding: 11px 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.lx-author-stats div + div {
    border-left: 1px solid #f0f2f4;
}

.lx-author-stats strong {
    color: #3d454d;
    font-size: 14px;
    font-weight: 600;
}

.lx-author-stats span {
    color: #a1a8ae;
    font-size: 10px;
}

.lx-author-more {
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #6f7880;
    border-top: 0;

    font-size: 11px;
}

.lx-author-more:hover {
    color: #e53935;
}

.lx-author-more b {
    margin-left: 4px;

    color: #e53935;
    font-size: 16px;
    font-weight: 400;
}


/* =========================================================
   16. RELATED VIDEO
   ========================================================= */

.lx-side-video-list {
    padding-top: 5px;
}

.lx-side-video-list a {
    min-height: 39px;

    display: flex;
    align-items: center;
    gap: 7px;

    border-bottom: 1px solid #f0f2f4;

    color: #606971;
    font-size: 11px;
}

.lx-side-video-list a:last-child {
    border-bottom: 0;
}

.lx-side-video-list a:hover {
    color: #e53935;
}

.lx-side-video-list a > span:nth-child(2) {
    min-width: 0;
    flex: 1;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lx-side-video-dot {
    width: 5px;
    height: 5px;

    flex: 0 0 5px;

    border-radius: 50%;
    background: #d4d9dd;
}

.lx-side-video-list a:hover .lx-side-video-dot {
    background: #e53935;
}

.lx-side-video-list b {
    color: #c0c6cb;
    font-size: 15px;
    font-weight: 400;
}

.lx-side-video-list a:hover b {
    color: #e53935;
}


/* =========================================================
   17. RELATED GAMES
   ========================================================= */

.lx-games {
    padding-top: 6px;
}

.lx-game {
    display: block;

    padding: 11px 0;

    border-bottom: 1px solid #edf0f2;
}

.lx-game:last-child {
    border-bottom: 0;
}

.lx-game:hover {
    background: #fafbfc;
}

.lx-game-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 9px;

    color: #9ca4ab;
    font-size: 9px;
}

.lx-game-top em {
    padding: 3px 6px;

    color: #8d969e;
    background: #f4f5f6;

    border-radius: 3px;

    font-style: normal;
}

.lx-game-teams {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.lx-game-teams > div {
    min-width: 0;

    display: flex;
    align-items: center;
    gap: 6px;
}

.lx-game-teams img {
    width: 25px;
    height: 25px;

    flex: 0 0 25px;

    object-fit: contain;
}

.lx-game-teams span {
    min-width: 0;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    color: #535d66;
    font-size: 10px;
}

.lx-game-more {
    margin-top: 8px;

    color: #a3aab0;
    font-size: 9px;
    text-align: right;
}

.lx-game-more b {
    margin-left: 2px;

    color: #d1d5d8;
    font-size: 14px;
    font-weight: 400;
}

.lx-game:hover .lx-game-more,
.lx-game:hover .lx-game-more b {
    color: #e53935;
}


/* =========================================================
   18. RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .lx-detail-container {
        max-width: calc(100% - 28px);
    }

    .lx-detail-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 16px;
    }

    .lx-hot-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


@media (max-width: 900px) {

    .lx-detail-container {
        max-width: calc(100% - 20px);
    }

    .lx-detail-layout {
        display: block;
    }

    .lx-detail-sidebar {
        margin-top: 16px;

        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
        align-items: start;
    }

    .lx-author-card {
        grid-column: 1 / -1;
    }

    .lx-side-card {
        margin-bottom: 0;
    }

}


@media (max-width: 640px) {

    .lx-detail {
        padding: 12px 0 35px;
    }

    .lx-detail-container {
        max-width: calc(100% - 16px);
    }

    .lx-detail-breadcrumb {
        margin-bottom: 8px;
    }

    .lx-detail-title-card {
        padding: 19px 16px;
    }

    .lx-detail-title-card h1 {
        font-size: 20px;
    }

    .lx-detail-meta {
        gap: 7px;
    }

    .lx-player-head {
        padding: 0 14px;
    }

    .lx-player-tip {
        display: none;
    }

    .lx-player-cover {
        aspect-ratio: 16 / 9;
    }

    .lx-player-button {
        width: 52px;
        height: 52px;
    }

    .lx-player-text {
        left: 16px;
        bottom: 15px;
    }

    .lx-video-list {
        padding-left: 14px;
        padding-right: 14px;
    }

    .lx-detail-tags {
        display: block;
    }

    .lx-tags-title {
        display: block;
        margin-bottom: 8px;
    }

    .lx-detail-source {
        align-items: flex-start;
    }

    .lx-hot-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 10px;
    }

    .lx-related {
        padding-left: 14px;
        padding-right: 14px;
    }

    .lx-detail-sidebar {
        display: block;
    }

    .lx-side-card {
        margin-bottom: 12px;
    }

}


@media (max-width: 420px) {

    .lx-hot-grid {
        grid-template-columns: 1fr 1fr;
    }

    .lx-prev-next-item {
        padding-left: 12px;
        padding-right: 12px;
        gap: 8px;
    }

    .lx-prev-next-label {
        flex-basis: 38px;
    }

}