html,body {
    width: 100%;
    height: 100%;
    background: #292B2C;
}
#loginContent {
    position: absolute;
    right: 80px;
    top: 6px;
    left: auto;
    font-size: 16px;
    display: flex;
    width: max-content;
    align-items: center;
    color: #fff;
}
#logoutButton {
    color: #CCCCCC;
}
.live-container {
    width: 1500px;
    height: 640px;
    padding: 50px 80px;
    background: #292B2C;
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
}

.live-container .live-head {
    width: 100%;
    height: 100px;
    padding: 0 30px;
    box-sizing: border-box;
    background: #36393A;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

.live-head .live-title {
    width: 836px;
    height: 50px;
    line-height: 50px;
    font-weight: 400;
    font-size: 22px;
    color: #FFFFFF;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.live-head .live-info {
    width: 836px;
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #999999;
}

.live-info .live-online-person {
    display: flex;
    align-items: center;
}

.live-info .live-online-person img {
    width: 19px;
    height: 15px;
    margin-right: 8px;
}

.live-info .count-down span {
    color: #FFFFFF;
}

.live-container .live-content {
    width: 100%;
    display: flex;
    background: #36393A;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    position: relative;
}

.live-container .live-content .praise-box {
    position: absolute;
    right: 20px;
    bottom: 90px;
    text-align: center;
    font-size: 14px;
    color: #FFE9E5;
    cursor: pointer;
}

.live-content .praise-box img {
    width: 30px;
    height: 30px;
    margin-bottom: 3px;
}
.praise-heart {
    position: absolute;
    left: 5px;
    bottom: 29px;
    width: 20px;
    height: 20px;
    background: url('../img/heart-icon.png') no-repeat center center;
    background-size: contain;
    opacity: 0;
    animation: heartAnimation 1s ease-out;
}

@keyframes heartAnimation {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

    50% {
        transform: translateY(-50px) scale(1.2);
        opacity: 0.8;
    }

    100% {
        transform: translateY(-100px) scale(1.5);
        opacity: 0;
    }
}

.video-js .vjs-picture-in-picture-control {
    display: none;
}

.video-js .vjs-live-control .vjs-live-display {
    display: none;
}

.video-js .vjs-subs-caps-button {
    display: none;
}

.video-js .vjs-remaining-time .vjs-control-text+span[aria-hidden="true"] {
    display: none;
}
.video-js .vjs-error-display {
    display: none;
}

.live-content .live-tv {
    width: 860px;
    height: 484px;
}

.live-content .live-tv .video-js {
    width: 860px;
    height: 484px;
    display: none
}

.live-content .live-tv .vjs-big-play-button {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.live-content .live-tv .my-img {
    width: 860px;
    height: 484px;
    object-fit: contain;
    display: none;
}

.live-content .live-tv .live-text {
    width: 100%;
    height: 100%;
    color: #fff;
    background: #000;
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}

.live-content .live-tabs-container {
    flex: 1;
}

.live-content .live-tabs {
    height: 43px;
    display: flex;
    padding-left: 20px;
    border-top: 1px solid #27292A;
    border-bottom: 1px solid #424748;
}

.live-content .live-tab-pane {
    padding: 10px 20px;
    cursor: pointer;
    position: relative;
    top: 1px;
    font-size: 14px;
    color: #fff;
    border-bottom: 0;
    transition: all 0.3s ease-in-out;
}

.live-content .live-tab-pane:hover {
    color: #E03501;
}

.live-content .live-tab-pane.active {
    color: #E03501;
}

.live-content .live-tab-pane.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 2px;
    background-color: #E03501;
}

.live-content .live-tab-content {
    height: 440px;
    box-sizing: border-box;
    padding: 10px 10px 6px;
    border-radius: 4px;
}

.live-content .live-tab-content .live-comment-section {
    width: 100%;
    height: 100%;
    position: relative;
    padding-top: 20px;
    box-sizing: border-box;
}

.live-content .live-tab-content .interaction {
    padding-top: 0;
}

.live-comment-section .live-comment-asc {
    width: 60px;
    height: 20px;
    line-height: 20px;
    font-size: 12px;
    color: #E03501;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2000;
    cursor: pointer;
}

.live-comment-section .live-comment-asc img {
    width: 9px;
    height: 12px;
}

.live-content .live-tab-content .live-comment-section #commentsList {
    height: 400px;
    overflow: auto;
    margin-bottom: 10px;
    padding: 0 20px 0 30px;
}

.image-text {
    height: 528px;
}

.live-content .live-tab-content .interaction #commentsList {
    height: 380px;
    padding-left: 20px;
}

/* 滚动条轨道样式 */
.live-content ::-webkit-scrollbar {
    width: 8px;
    /* 设置滚动条宽度 */
}

/* 滚动条滑块样式 */
.live-content ::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

/* 滚动条轨道（背景）样式 */
.live-content ::-webkit-scrollbar-track {
    background-color: #36393A;
}

/* 滚动条轨道hover状态样式 */
.live-content ::-webkit-scrollbar-track:hover {
    background-color: #36393A;
    /* 设置轨道hover状态时的背景颜色 */
}

/* 滚动条滑块hover状态样式 */
.live-content ::-webkit-scrollbar-thumb:hover {
    background-color: #c1c1c1;
    /* 设置滑块hover状态时的背景颜色 */
}

.live-comment-form #loginToComment {
    width: 100%;
    height: 36px;
    line-height: 36px;
    background: #2F3233;
    border-radius: 4px;
    font-size: 14px;
    color: #fff;
    text-align: center;
    cursor: pointer;
}

.live-comment-form #loginToComment span {
    color: #E03501;
    margin-right: 10px;
}

.live-content .gallery-section {
    margin-top: 20px;
}

.live-content .gallery-image {
    width: 100px;
    height: 100px;
    margin-right: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
}

.live-content .recommendations-section {
    margin-top: 20px;
}

.live-content .recommendation-image {
    width: 100px;
    height: 100px;
    margin-right: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
}

.live-content .live-comment-section.active {
    display: block;
}

.live-content .live-comment-header {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.live-content .live-comment-form {
    display: flex;
    align-items: flex-end;
}

.live-comment-form #liveCommentTextarea {
    display: flex;
    width: 100%;
    align-items: center;
}

#liveCommentTextarea .live-comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 10px;
}

#liveCommentTextarea .live-comment-input {
    resize: none;
    flex: 1;
    height: 36px;
    border: none;
    color: #fff;
    background: #2F3233;
    border-radius: 4px;
    box-sizing: border-box;
}

#liveCommentTextarea .live-comment-input:focus {
    outline: none;
}

#liveCommentTextarea button {
    width: 66px;
    height: 36px;
    font-size: 14px;
    color: #737576;
    background: #444748;
    border-radius: 4px;
    border: none;
    margin-left: 6px;
    transition: background-color 0.3s;
    cursor: pointer;
}

#liveCommentTextarea button:hover {
    background-color: #2F3233;
}

.live-content .live-comment-item {
    width: 100%;
    padding-bottom: 15px;
    position: relative;
}

.interaction .live-comment-content {
    display: flex;
}

.live-content .live-comment-item .icon-dot {
    width: 12px;
    height: 12px;
    background: #35393A;
    border-radius: 50%;
    border: 2px solid #CCCCCC;
    position: absolute;
    top: 0;
    left: -21px;
    z-index: 2000;
}

.live-content .live-comment-item .icon-line {
    width: 2px;
    height: 100%;
    background: #CCCCCC;
    position: absolute;
    top: 0;
    left: -14px;
    z-index: 1000;
}

.live-comment-item .live-comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 8px;
}

.live-comment-item .live-comment-user {
    font-size: 12px;
    color: #CCCCCC;
    margin-bottom: 5px;
}

.live-comment-item .live-comment-text {
    font-size: 14px;
    color: #FFFFFF;
    line-height: 24px;
}

.live-comment-item .live-comment-time {
    font-size: 12px;
    color: #CCCCCC;
}

.interaction .live-comment-time {
    text-align: center;
    height: 30px;
    line-height: 30px;

}

.interaction .live-comment-tag {
    padding: 2px 4px;
    background: #E03501;
    border-radius: 2px;
    margin-left: 5px;
}

.live-comment-item .live-comment-attachments {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
}

.live-comment-attachments .attachment-item {
    width: 30%;
    max-height: 100px;
    margin: 5px;
    box-sizing: border-box;
}

.live-comment-attachments .attachment-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.live-comment-attachments .attachment-item video {
    width: auto;
    max-width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* 当只有一张图片时，居中显示 */
.live-comment-attachments .attachment-item:first-child:nth-last-child(1),
.live-comment-attachments .attachment-item:first-child:nth-last-child(1)~.attachment-item {
    flex: 1 1 100%;
    max-height: 200px;
    text-align: center;
}

.live-comment-attachments .attachment-item:first-child:nth-last-child(1) img {
    width: 200px;
    object-fit: contain;
}

/* 当有两张图片时，每张图片占据一半宽度 */
.live-comment-attachments .attachment-item:first-child:nth-last-child(2),
.live-comment-attachments .attachment-item:first-child:nth-last-child(2)~.attachment-item {
    max-height: 150px;
    flex: 1 1 calc(50% - 10px);
}