header{
    border-bottom: 1px solid #eee;
}

.main .post-container{
    max-width: 1420px;
    width: 95%;
    margin: 25px auto 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 25px;
}

.main .post-container .post-content{
    flex: 1;
    min-width: 0;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    height: max-content;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    margin-bottom: 25px;
}

.main .post-container .post-content .post .title-movie {
    background-color: #ffffff;
    padding: 14px 20px;
    border-bottom: 2.5px solid #eb3941;
    display: flex;
    align-items: center;
    gap: 12px;
}

.main .post-container .post-content .post .title-movie .btn-back-detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    font-size: 13.5px;
    text-decoration: none;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.main .post-container .post-content .post .title-movie .btn-back-detail:hover {
    background-color: #eb3941;
    border-color: #eb3941;
    color: #ffffff;
    transform: translateX(-3px);
    box-shadow: 0 2px 8px rgba(235, 57, 65, 0.35);
}

.main .post-container .post-content .post .title-movie h1 {
    color: #1e293b;
    font-size: 18.5px;
    font-weight: 700;
    line-height: 1.45;
    margin: 0;
    letter-spacing: 0.2px;
    flex-grow: 1;
}

.main .post-container .post-content .post .title-movie h1 .badge-status-h1 {
    display: inline-block;
    vertical-align: middle;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #eb3941 0%, #ff5252 100%);
    padding: 2px 8px;
    border-radius: 5px;
    margin-left: 8px;
    letter-spacing: 0.2px;
    box-shadow: 0 2px 5px rgba(235, 57, 65, 0.3);
}

.main .post-container .post-content .post .title-movie h1 i {
    color: #eb3941;
    font-size: 20px;
    margin-right: 8px;
    vertical-align: -1px;
}

@media screen and (max-width: 768px) {
    .main .post-container .post-content .post .title-movie {
        padding: 12px 14px;
        border-bottom-width: 2px;
        gap: 8px;
    }

    .main .post-container .post-content .post .title-movie .btn-back-detail {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .main .post-container .post-content .post .title-movie h1 {
        font-size: 15px;
        line-height: 1.42;
    }

    .main .post-container .post-content .post .title-movie h1 i {
        font-size: 16px;
        margin-right: 6px;
    }
}

.main .post-container .post-content .post .post-body{
    background-color: #fff;
    padding: 15px;
    font-size: 14px;
    border-bottom: 1px solid #eee;
    line-height: 1.8em;
}

.main .post-container .post-content .post .post-body .notification{
    background-color: #000;
    border:  2px solid rgb(184, 182, 18);
    padding: 8px;
}

.main .post-container .post-content .post .post-body .notification span,
.main .post-container .post-content .post .post-body .notification span a{
    font-size: 16px;
    color: #dddddd;
}

.main .post-container .post-content .post .post-body .notification span.notification-movie{
    font-weight: 700;
}

.main .post-container .post-content .post .post-body .notification span.retry{
    color: #dacb46;
    text-decoration: underline;
    font-weight: 700;
}

.main .post-container .post-content .post .post-body .notification span a.error-report{
    color: red;
    font-weight: 600;
}

.main .post-container .post-content .post .post-body .support{
    background-color: rgb(242, 222, 222);
    border-radius: 3px;
    border: 1px solid rgb(235, 204, 209);
    padding: 8px;
}

.main .post-container .post-content .post .post-body .support span{
    font-size: large;
    font-weight: 700;
    color: #a94442;
}

.main .post-container .post-content .post .post-body #iframe-container {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
    background-color: #0b0f19;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.main .post-container .post-content .post .post-body #iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    border-radius: 12px;
}

.main .post-container .post-content .post .post-body #iframe-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    transition: transform 0.4s ease;
}

.main .post-container .post-content .post .post-body #iframe-container:hover img {
    transform: scale(1.02);
}

.main .post-container .post-content .post .post-body #iframe-container .background-button {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.55) 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.main .post-container .post-content .post .post-body #iframe-container:hover .background-button {
    background: radial-gradient(circle, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.65) 100%);
}

.main .post-container .post-content .post .post-body #iframe-container .play-button {
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #eb3941 0%, #c62828 100%);
    cursor: pointer;
    border: 3.5px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 6px 24px rgba(235, 57, 65, 0.55), 0 0 0 8px rgba(235, 57, 65, 0.25);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.main .post-container .post-content .post .post-body #iframe-container .play-button svg {
    width: 36px !important;
    height: 36px !important;
    fill: #ffffff !important;
    margin-left: 4px !important;
    transition: transform 0.25s ease;
}

.main .post-container .post-content .post .post-body #iframe-container:hover .play-button {
    transform: scale(1.12);
    box-shadow: 0 8px 32px rgba(235, 57, 65, 0.7), 0 0 0 12px rgba(235, 57, 65, 0.35);
}

.main .post-container .post-content .post .post-body #iframe-container:hover .play-button svg {
    transform: scale(1.08);
}

@media screen and (max-width: 768px) {
    .main .post-container .post-content .post .post-body #iframe-container {
        border-radius: 8px;
        margin-bottom: 15px;
    }

    .main .post-container .post-content .post .post-body #iframe-container iframe,
    .main .post-container .post-content .post .post-body #iframe-container img,
    .main .post-container .post-content .post .post-body #iframe-container .background-button {
        border-radius: 8px;
    }

    .main .post-container .post-content .post .post-body #iframe-container .play-button {
        width: 58px;
        height: 58px;
        border-width: 2.5px;
        box-shadow: 0 4px 16px rgba(235, 57, 65, 0.5), 0 0 0 6px rgba(235, 57, 65, 0.2);
    }

    .main .post-container .post-content .post .post-body #iframe-container .play-button svg {
        width: 28px !important;
        height: 28px !important;
        margin-left: 3px !important;
    }
}

.main .post-container .post-content .post .post-body .like-share{
    background-color: rgb(252, 248, 227);
    border-radius: 3px;
    border: 1px solid rgb(250, 235, 204);
    padding: 8px;
}

.main .post-container .post-content .post .post-body .like-share span{
    font-size: 16px;
    color: #1b1b1b;
}

.main .post-container .post-content .post .post-body .like-share span.attention{
    color: #dd3333;
    font-weight: 700;
}

.main .post-container .post-content .post .post-body .like-share span.like-follow{
    font-weight: 700;
}

.main .post-container .post-content .post .post-body .like-share span.facebook-page{
    font-weight: 700;
    color: #0094fc;
}

.main .post-container .post-content .post .post-body .like-share span.sieutamphim-web{
    font-weight: 700;
    color: #af499f;
}

.main .post-container .post-content .post .post-body .episode-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 22px;
    margin: 18px 0 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.main .post-container .post-content .post .post-body .episode-box .title-select {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1.5px dashed #e2e8f0;
}

.main .post-container .post-content .post .post-body .episode-box .title-select span {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.2px;
}

.main .post-container .post-content .post .post-body .episode-box .title-select span i {
    color: #eb3941;
    font-size: 18px;
}

.main .post-container .post-content .post .post-body .episode-box .list-server {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.main .post-container .post-content .post .post-body .episode-box .list-server .name-server {
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.25s ease;
}

.main .post-container .post-content .post .post-body .episode-box .list-server .name-server:hover {
    border-color: #cbd5e1;
    background: #f1f5f9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.main .post-container .post-content .post .post-body .episode-box .list-server .name-server .title-server {
    display: flex;
    align-items: center;
}

.main .post-container .post-content .post .post-body .episode-box .list-server .name-server .title-server span,
.main .post-container .post-content .post .post-body .episode-box .list-server .name-server .title-server .server-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #1e293b;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    letter-spacing: 0.2px;
    transition: all 0.25s ease;
}

.main .post-container .post-content .post .post-body .episode-box .list-server .name-server .title-server span i,
.main .post-container .post-content .post .post-body .episode-box .list-server .name-server .title-server .server-badge i {
    color: #eb3941;
    font-size: 13px;
}

.main .post-container .post-content .post .post-body .episode-box .list-server .name-server .title-server .server-badge .server-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    border-radius: 4px;
    vertical-align: middle;
    flex-shrink: 0;
}

.main .post-container .post-content .post .post-body .episode-box .list-server .name-server .title-server .server-badge:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
    transform: translateY(-1px);
}

.main .post-container .post-content .post .post-body .episode-box .list-server .name-server.is-active-server .title-server .server-badge {
    border-color: #fca5a5;
    color: #e11d48;
    background: linear-gradient(135deg, #ffffff 0%, #fff1f2 100%);
    box-shadow: 0 2px 10px rgba(225, 29, 72, 0.12);
}

.main .post-container .post-content .post .post-body .episode-box .list-episode {
    background: transparent;
    max-height: 220px;
    overflow-y: auto;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.main .post-container .post-content .post .post-body .episode-box .list-episode::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.main .post-container .post-content .post .post-body .episode-box .list-episode::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 4px;
}

.main .post-container .post-content .post .post-body .episode-box .list-episode a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 38px;
    padding: 0 14px;
    background-color: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13.5px;
    color: #334155;
    text-decoration: none;
    box-shadow: 0 1.5px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    margin: 0;
    cursor: pointer;
    user-select: none;
}

.main .post-container .post-content .post .post-body .episode-box .list-episode a:not(.active):hover {
    background-color: #fff5f5;
    border-color: #fca5a5;
    color: #eb3941;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(235, 57, 65, 0.18);
}

.main .post-container .post-content .post .post-body .episode-box .list-episode a.active {
    background: linear-gradient(135deg, #eb3941 0%, #c62828 100%);
    border-color: #eb3941;
    color: #ffffff !important;
    font-weight: 700;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(235, 57, 65, 0.4);
}

/* ========================================================
   DANH SÁCH TẬP PHIM ACCORDION (.show-ep)
   ======================================================== */
.main .post-container .post-content .post .post-body .show-ep {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 6px;
    margin-top: 25px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.main .post-container .post-content .post .post-body .show-ep:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.06);
}

.main .post-container .post-content .post .post-body .show-ep .accordion {
    background: linear-gradient(135deg, #eb3941 0%, #c62828 100%);
    color: #ffffff;
    cursor: pointer;
    padding: 14px 20px;
    width: 100%;
    text-align: left;
    font-size: 15px;
    border: none;
    outline: none;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 3px 10px rgba(235, 57, 65, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main .post-container .post-content .post .post-body .show-ep .accordion:hover {
    background: linear-gradient(135deg, #f43f5e 0%, #dc2626 100%);
    box-shadow: 0 4px 14px rgba(235, 57, 65, 0.35);
}

.main .post-container .post-content .post .post-body .show-ep .accordion span {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.main .post-container .post-content .post .post-body .show-ep .accordion span::before {
    content: '\f022'; /* fa-list-alt */
    font-family: 'FontAwesome';
    font-size: 16px;
    color: #ffffff;
}

.main .post-container .post-content .post .post-body .show-ep .accordion::after {
    content: '\f107'; /* fa-angle-down */
    font-family: 'FontAwesome';
    font-size: 17px;
    font-weight: 900;
    color: #ffffff;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.main .post-container .post-content .post .post-body .show-ep .accordion.active::after {
    transform: rotate(180deg);
}

.main .post-container .post-content .post .post-body .show-ep .panel {
    padding: 0 14px;
    background-color: #ffffff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main .post-container .post-content .post .post-body .show-ep .panel ul {
    list-style: none;
    padding: 0;
    margin: 14px 0 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.main .post-container .post-content .post .post-body .show-ep .panel li {
    margin: 0;
    padding: 9px 14px;
    background-color: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    color: #334155;
    font-size: 13.5px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.main .post-container .post-content .post .post-body .show-ep .panel li::before {
    content: '\f058'; /* fa-check-circle */
    font-family: 'FontAwesome';
    color: #eb3941;
    font-size: 14px;
    flex-shrink: 0;
}

.main .post-container .post-content .post .post-body .show-ep .panel li:hover {
    background-color: #ffffff;
    border-color: #cbd5e1;
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

@media screen and (max-width: 640px) {
    .main .post-container .post-content .post .post-body .show-ep {
        margin-top: 18px;
        padding: 5px;
        border-radius: 10px;
    }

    .main .post-container .post-content .post .post-body .show-ep .accordion {
        padding: 12px 14px;
        border-radius: 8px;
    }

    .main .post-container .post-content .post .post-body .show-ep .accordion span {
        font-size: 13.5px;
    }

    .main .post-container .post-content .post .post-body .show-ep .panel {
        padding: 0 10px;
    }

    .main .post-container .post-content .post .post-body .show-ep .panel li {
        font-size: 12.5px;
        padding: 8px 10px;
    }
}

/* ========================================================
   THÔNG TIN PHIM (.info-movie) - MODERN LIGHT CARD
   ======================================================== */
.main .post-container .post-content .post .post-body .info-movie {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    color: #1e293b;
    padding: 24px 26px;
    margin-top: 25px;
    position: relative;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.75;
    transition: all 0.3s ease;
}

.main .post-container .post-content .post .post-body .info-movie::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: #eb3941;
}

.main .post-container .post-content .post .post-body .info-movie:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.main .post-container .post-content .post .post-body .info-movie > span {
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 6px 14px;
    background: #eb3941;
    border-radius: 6px;
    letter-spacing: 0.2px;
    box-shadow: 0 2px 6px rgba(235, 57, 65, 0.25);
}

.main .post-container .post-content .post .post-body .info-movie > span::before {
    content: '\f05a'; /* fa-info-circle */
    font-family: 'FontAwesome';
    color: #ffffff;
    font-size: 15px;
    line-height: 1;
}

.main .post-container .post-content .post .post-body .info-movie p {
    color: #1e293b;
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 8px;
}

/* Tiêu đề phân mục con (Nội Dung Phim) bên trong trang xem phim giống bên ngoài */
.main .post-container .post-content .post .post-body .info-movie .info-subheading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #1e293b;
    font-size: 15.5px;
    margin-top: 16px;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 2px solid #eb3941;
    letter-spacing: 0.2px;
}

.main .post-container .post-content .post .post-body .info-movie .info-subheading i {
    color: #eb3941;
    font-size: 15px;
}

.main .post-container .post-content .post .post-body .info-movie .description-movie p {
    font-size: 14.5px;
    line-height: 1.75;
    color: #334155;
    margin-bottom: 8px;
    word-break: break-word;
}

.main .post-container .post-content .post .post-body .info-movie p:has(.info-subheading),
.main .post-container .post-content .post .post-body .info-movie p:has(.info-subheading) + p {
    margin-top: 4px;
}

.main .post-container .post-content .post .post-body .info-movie p:last-child {
    margin-bottom: 0;
}

.main .post-container .post-content .post .post-body .info-movie strong,
.main .post-container .post-content .post .post-body .info-movie b {
    color: #0f172a;
    font-weight: 700;
}

.main .post-container .post-content .post .post-body .info-movie a {
    color: #eb3941;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.main .post-container .post-content .post .post-body .info-movie a:hover {
    color: #c81e26;
    text-decoration: underline;
}

.main .post-container .post-content .post .post-body .info-movie ul,
.main .post-container .post-content .post .post-body .info-movie ol {
    padding-left: 20px;
    margin-bottom: 12px;
    color: #1e293b;
    font-size: 14px;
    line-height: 1.75;
}

@media screen and (max-width: 640px) {
    .main .post-container .post-content .post .post-body .info-movie {
        padding: 16px;
        margin-top: 18px;
        border-radius: 8px;
        font-size: 13.5px;
        line-height: 1.65;
    }

    .main .post-container .post-content .post .post-body .info-movie > span {
        font-size: 14px;
        padding: 5px 12px;
        margin-bottom: 14px;
    }

    .main .post-container .post-content .post .post-body .info-movie > span::before {
        font-size: 14px;
    }

    .main .post-container .post-content .post .post-body .info-movie p {
        font-size: 13.5px;
        line-height: 1.65;
        margin-bottom: 6px;
    }
}

/* ========================================================
   NGUỒN PHIM / SOURCE PROFILES (.source-container)
   ======================================================== */
.main .post-container .post-content .post .post-body .source-container {
    margin-top: 25px;
}

.main .post-container .post-content .post .post-body .source-container .title-source {
    color: #1e293b;
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1.5px dashed #e2e8f0;
    letter-spacing: 0.2px;
}

.main .post-container .post-content .post .post-body .source-container .profile-item {
    display: flex;
    align-items: center;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 20px 22px;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    margin-bottom: 18px;
    gap: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main .post-container .post-content .post .post-body .source-container .profile-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.main .post-container .post-content .post .post-body .source-container .profile-item .profile-img {
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    width: 84px;
    height: 84px;
    min-width: 84px;
    flex-shrink: 0;
    background-color: #ffffff;
    margin: 0;
    transition: transform 0.3s ease;
}

.main .post-container .post-content .post .post-body .source-container .profile-item:hover .profile-img {
    transform: scale(1.05);
}

.main .post-container .post-content .post .post-body .source-container .profile-item .profile-img img {
    display: block;
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info {
    flex: 1;
    min-width: 0;
}

.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .name-profile {
    font-size: 16.5px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .name-profile i {
    font-size: 15px;
    margin: 0;
}

.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .name-profile i.grey-color {
    color: #94a3b8;
}

.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .name-profile i.blue-color {
    color: #0284c7;
}

.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .description-profile {
    color: #475569;
    font-size: 13.5px;
    line-height: 1.65;
    display: block;
    margin-bottom: 12px;
}

.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .profile-category {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .profile-category a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 6px 14px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .profile-category a i {
    font-size: 12px;
    margin: 0;
}

.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .profile-category a.sieutamphim {
    background: linear-gradient(135deg, #e91e63 0%, #be185d 100%);
}

.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .profile-category a.sieutamphim:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.35);
}

.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .profile-category a.view-web {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
}

.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .profile-category a.view-web:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .profile-category a.see-more {
    background: linear-gradient(135deg, #eb3941 0%, #c62828 100%);
}

.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .profile-category a.see-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(235, 57, 65, 0.35);
}

.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .profile-shares,
.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .profile-category .profile-shares {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    width: 100%;
}

.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .more-info,
.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .profile-shares .more-info,
.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .profile-category .more-info {
    color: #1e293b;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .more-info:hover,
.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .profile-shares .more-info:hover,
.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .profile-category .more-info:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .more-info i,
.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .profile-shares .more-info i,
.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .profile-category .more-info i {
    font-size: 13px;
    margin: 0;
}

/* Tag REMUX: Tím cao cấp / Violet */
.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .more-info.tag-remux {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    border-color: #c4b5fd;
    color: #6d28d9;
}
.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .more-info.tag-remux i {
    color: #7c3aed;
}
.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .more-info.tag-remux:hover {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    border-color: #a78bfa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.18);
}

/* Tag Keep Audio: Xanh lá tươi / Emerald */
.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .more-info.tag-keep-audio {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-color: #a7f3d0;
    color: #065f46;
}
.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .more-info.tag-keep-audio i {
    color: #059669;
}
.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .more-info.tag-keep-audio:hover {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-color: #6ee7b7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.18);
}

/* Tag Việt Hóa: Vàng cam ấm / Amber */
.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .more-info.tag-viet-hoa {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-color: #fde68a;
    color: #92400e;
}
.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .more-info.tag-viet-hoa i {
    color: #d97706;
}
.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .more-info.tag-viet-hoa:hover {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: #fcd34d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.18);
}

/* Tag Share File: Xanh dương / Sky */
.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .more-info.tag-share-file {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-color: #bae6fd;
    color: #0369a1;
}
.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .more-info.tag-share-file i {
    color: #0284c7;
}
.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .more-info.tag-share-file:hover {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border-color: #7dd3fc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.18);
}

/* Tag Thuyết Minh: Đỏ hồng / Rose */
.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .more-info.tag-thuyet-minh {
    background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
    border-color: #fecdd3;
    color: #9f1239;
}
.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .more-info.tag-thuyet-minh i {
    color: #e11d48;
}
.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .more-info.tag-thuyet-minh:hover {
    background: linear-gradient(135deg, #ffe4e6 0%, #fecdd3 100%);
    border-color: #fda4af;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.18);
}

/* Tag Remix Audio: Tím chàm / Indigo */
.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .more-info.tag-remix-audio {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border-color: #c7d2fe;
    color: #4338ca;
}
.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .more-info.tag-remix-audio i {
    color: #4f46e5;
}
.main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .more-info.tag-remix-audio:hover {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    border-color: #a5b4fc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.18);
}

@media screen and (max-width: 640px) {
    .main .post-container .post-content .post .post-body .source-container .profile-item {
        padding: 16px;
        gap: 14px;
        align-items: flex-start;
        border-radius: 12px;
        margin-bottom: 14px;
    }

    .main .post-container .post-content .post .post-body .source-container .profile-item .profile-img {
        width: 56px;
        height: 56px;
        min-width: 56px;
    }

    .main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .name-profile {
        font-size: 15px;
        margin-bottom: 4px;
    }

    .main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .description-profile {
        font-size: 13px;
        line-height: 1.55;
        margin-bottom: 10px;
    }

    .main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .profile-category {
        gap: 6px;
    }

    .main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .profile-category a {
        padding: 5px 11px;
        font-size: 12px;
    }

    .main .post-container .post-content .post .post-body .source-container .profile-item .profile-info .profile-shares {
        gap: 6px;
        margin-top: 6px;
    }
}

/* ========================================================
   CÁC SEASON KHÁC (.other-seasons)
   ======================================================== */
.main .post-container .post-content .post .post-body .other-seasons {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 22px 24px;
    margin-top: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main .post-container .post-content .post .post-body .other-seasons:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
}

.main .post-container .post-content .post .post-body .other-seasons .all-seasons {
    background: linear-gradient(135deg, #eb3941 0%, #c62828 100%);
    padding: 8px 18px;
    border-radius: 10px;
    width: max-content;
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.2px;
    box-shadow: 0 3px 12px rgba(235, 57, 65, 0.28);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.main .post-container .post-content .post .post-body .other-seasons .all-seasons:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(235, 57, 65, 0.4);
    color: #ffffff;
}

.main .post-container .post-content .post .post-body .other-seasons .list-seasons {
    list-style: none;
    padding: 0;
    margin: 16px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.main .post-container .post-content .post .post-body .other-seasons .list-seasons .season {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main .post-container .post-content .post .post-body .other-seasons .list-seasons .season a {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 10px;
    padding: 12px 18px;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.main .post-container .post-content .post .post-body .other-seasons .list-seasons .season a::after {
    content: '\f105'; /* fa-angle-right */
    font-family: 'FontAwesome';
    margin-left: auto;
    color: #94a3b8;
    font-size: 15px;
    font-weight: 900;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.main .post-container .post-content .post .post-body .other-seasons .list-seasons .season a:hover {
    background: #ffffff;
    border-color: #eb3941;
    color: #eb3941;
    transform: translateX(4px);
    box-shadow: 0 4px 14px rgba(235, 57, 65, 0.12);
}

.main .post-container .post-content .post .post-body .other-seasons .list-seasons .season a:hover::after {
    color: #eb3941;
    transform: translateX(3px);
}

@media screen and (max-width: 640px) {
    .main .post-container .post-content .post .post-body .other-seasons {
        padding: 16px;
        margin-top: 18px;
        border-radius: 12px;
    }

    .main .post-container .post-content .post .post-body .other-seasons .all-seasons {
        font-size: 13.5px;
        padding: 7px 14px;
    }

    .main .post-container .post-content .post .post-body .other-seasons .list-seasons {
        margin-top: 12px;
        gap: 8px;
    }

    .main .post-container .post-content .post .post-body .other-seasons .list-seasons .season a {
        font-size: 13px;
        padding: 10px 14px;
        gap: 8px;
    }
}

/* ========================================================
   TỪ KHÓA (TAG LIST)
   ======================================================== */
.main .post-container .post-content .tag-list {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
    margin: 20px 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 16px;
}

.main .post-container .post-content .tag-list .tag-title,
.main .post-container .post-content .tag-list .label-info {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.main .post-container .post-content .tag-list .tag-title i,
.main .post-container .post-content .tag-list .label-info i {
    color: #eb3941;
    font-size: 15px;
}

.main .post-container .post-content .tag-list .tag-items {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    flex: 1;
}

.main .post-container .post-content .tag-list a,
.main .post-container .post-content .tag-list .label-info a {
    background-color: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #334155;
    padding: 5px 13px;
    font-weight: 600;
    font-size: 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.main .post-container .post-content .tag-list a:hover,
.main .post-container .post-content .tag-list .label-info a:hover {
    background-color: #fff1f2;
    border-color: #fca5a5;
    color: #eb3941;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(235, 57, 65, 0.18);
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    .main .post-container .post-content .tag-list {
        margin: 15px 12px;
        padding: 14px 14px;
        gap: 10px;
    }

    .main .post-container .post-content .tag-list .tag-title,
    .main .post-container .post-content .tag-list .label-info {
        font-size: 12.5px;
        width: 100%;
        margin-bottom: 2px;
    }

    .main .post-container .post-content .tag-list a,
    .main .post-container .post-content .tag-list .label-info a {
        font-size: 11.5px;
        padding: 4px 10px;
    }
}

/* ========================================================
   PHIM ĐỀ CỬ (RECOMMENDED / RELATED MOVIES)
   ======================================================== */
.main .post-container .post-content .related-post {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 22px;
    margin: 0 15px 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.main .post-container .post-content .related-post .relhead {
    width: 100%;
}

.main .post-container .post-content .related-post .relhead .title-related {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1.5px dashed #e2e8f0;
    letter-spacing: 0.2px;
}

.main .post-container .post-content .related-post .relhead .title-related i {
    color: #eb3941;
    font-size: 17px;
}

.main .post-container .post-content .related-post .relhead .title-related .heart-icon {
    font-size: 13px;
    margin-left: 2px;
}

.main .post-container .post-content .related-post .relhead .related-summary {
    background-color: transparent;
    padding: 0;
    margin: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.main .post-container .post-content .related-post .relhead .related-summary li {
    list-style: none;
    width: 100%;
    margin: 0;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main .post-container .post-content .related-post .relhead .related-summary li:hover {
    transform: translateY(-4px);
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.main .post-container .post-content .related-post .relhead .related-summary li .poster-related {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.35;
    overflow: hidden;
    background-color: #0f172a;
    border-radius: 9px 9px 0 0;
}

.main .post-container .post-content .related-post .relhead .related-summary li .poster-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.main .post-container .post-content .related-post .relhead .related-summary li .poster-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.main .post-container .post-content .related-post .relhead .related-summary li:hover .poster-link img {
    transform: scale(1.06);
}

.main .post-container .post-content .related-post .relhead .related-summary li .poster-link .badge-status {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(235, 57, 65, 0.92);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 5px;
    letter-spacing: 0.3px;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.main .post-container .post-content .related-post .relhead .related-summary li .poster-link .play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.main .post-container .post-content .related-post .relhead .related-summary li .poster-link .play-overlay i {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #eb3941;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    padding-left: 3px;
    box-shadow: 0 4px 15px rgba(235, 57, 65, 0.5);
    transform: scale(0.85);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.main .post-container .post-content .related-post .relhead .related-summary li:hover .poster-link .play-overlay {
    opacity: 1;
}

.main .post-container .post-content .related-post .relhead .related-summary li:hover .poster-link .play-overlay i {
    transform: scale(1);
}

.main .post-container .post-content .related-post .relhead .related-summary li .title-rel {
    color: #1e293b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
    text-align: left;
    padding: 10px 12px;
    height: 48px;
    background: transparent;
    text-decoration: none;
    transition: color 0.2s ease;
}

.main .post-container .post-content .related-post .relhead .related-summary li .title-rel:hover {
    color: #eb3941;
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    .main .post-container .post-content .related-post {
        padding: 16px 16px;
        margin: 20px 0 10px;
    }

    .main .post-container .post-content .related-post .relhead .related-summary {
        gap: 10px;
    }

    .main .post-container .post-content .related-post .relhead .related-summary li .title-rel {
        font-size: 12px;
        padding: 8px 8px;
        height: 44px;
    }

    .main .post-container .post-content .related-post .relhead .related-summary li .poster-link .badge-status {
        font-size: 10px;
        padding: 2px 6px;
    }
}

/* Star Rating Component */
.stp-star-rating {
    margin: 15px 0;
    padding: 12px 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    display: inline-block;
    max-width: 100%;
}

.stp-star-rating .stp-rating-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 13.5px;
    flex-wrap: wrap;
}

.stp-star-rating .stp-rating-label {
    font-weight: 700;
    color: #1e293b;
}

.stp-star-rating .stp-rating-label .text-gold {
    color: #f59e0b;
    margin-right: 3px;
}

.stp-star-rating .stp-rating-summary {
    color: #64748b;
    font-size: 13px;
}

.stp-star-rating .stp-rating-summary .stp-avg-text {
    color: #d97706;
    font-weight: 800;
    font-size: 14.5px;
}

.stp-star-rating .stp-stars-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    color: #cbd5e1;
    user-select: none;
    padding: 4px 0;
}

.stp-star-rating .stp-star {
    transition: transform 0.15s ease, color 0.15s ease;
    display: inline-block;
}

.stp-star-rating .stp-star:hover {
    transform: scale(1.25);
}

.stp-star-rating .stp-star.active,
.stp-star-rating .stp-star.hovered {
    color: #f59e0b;
}

.stp-star-rating .stp-rating-msg {
    margin-top: 6px;
    font-size: 12.5px;
    color: #16a34a;
    font-weight: 600;
    min-height: 16px;
    transition: opacity 0.3s;
}

.stp-star-rating.has-voted .stp-stars-wrapper {
    cursor: default;
}

.stp-star-rating.has-voted .stp-star:hover {
    transform: none;
}

@media (max-width: 991px) {
    .main .post-container {
        flex-direction: column;
    }
}

/* ==========================================================================
   Player Theater Wrapper & Controls Toolbar
   ========================================================================== */
.player-theater-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 22px;
}

.player-theater-wrapper #iframe-container {
    margin-bottom: 12px !important;
}

.player-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
}

.player-controls-left,
.player-controls-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-player {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #334155;
    text-decoration: none;
    transition: all 0.2s ease;
    outline: none;
    line-height: 1.4;
    user-select: none;
    box-sizing: border-box;
}

.btn-player:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #94a3b8;
    transform: translateY(-1px);
}

.btn-player i {
    font-size: 13.5px;
}

/* Tập kế tiếp */
.btn-player.btn-player-next {
    background: linear-gradient(135deg, #eb3941 0%, #ff5e62 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(235, 57, 65, 0.25);
}

.btn-player.btn-player-next:hover {
    background: linear-gradient(135deg, #d32f2f 0%, #eb3941 100%);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(235, 57, 65, 0.35);
}

.btn-player.btn-player-next.is-disabled,
.btn-player.btn-player-next[disabled] {
    background: #f1f5f9 !important;
    color: #94a3b8 !important;
    border-color: #e2e8f0 !important;
    cursor: not-allowed;
    box-shadow: none !important;
    transform: none !important;
    opacity: 0.65;
}

/* Tải lại */
.btn-player.btn-player-reload:hover {
    color: #2563eb;
    border-color: #93c5fd;
    background: #eff6ff;
}

/* Báo lỗi */
.btn-player.btn-player-report:hover {
    color: #dc2626;
    border-color: #fca5a5;
    background: #fef2f2;
}

/* Tắt đèn */
.btn-player.btn-player-light:hover {
    color: #d97706;
    border-color: #fcd34d;
    background: #fffbeb;
}

.btn-player.btn-player-light.active {
    background: #fef3c7;
    color: #b45309;
    border-color: #f59e0b;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.35);
}

/* Phóng to */
.btn-player.btn-player-expand:hover {
    color: #7c3aed;
    border-color: #c4b5fd;
    background: #f5f3ff;
}

.btn-player.btn-player-expand.active {
    background: #7c3aed;
    color: #ffffff;
    border-color: #6d28d9;
}

/* Close Theater Button */
.player-theater-wrapper .close-theater-btn {
    display: none;
    position: absolute;
    top: -16px;
    right: -16px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #eb3941;
    color: #ffffff;
    border: 2px solid #ffffff;
    font-size: 16px;
    line-height: 1;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100000;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease, background 0.2s ease;
    outline: none;
}

.player-theater-wrapper .close-theater-btn:hover {
    background: #c62828;
    transform: scale(1.12);
}

/* Cinema Overlay */
#cinema-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.94);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

#cinema-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Cinema Mode (Tắt đèn) */
body.cinema-mode .player-theater-wrapper {
    position: relative;
    z-index: 99999;
}

body.cinema-mode .player-controls {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

body.cinema-mode .btn-player {
    background: #0f172a;
    border-color: #334155;
    color: #cbd5e1;
}

body.cinema-mode .btn-player:hover {
    background: #334155;
    color: #ffffff;
    border-color: #475569;
}

body.cinema-mode .btn-player.btn-player-next {
    background: linear-gradient(135deg, #eb3941 0%, #ff5e62 100%);
    color: #ffffff;
    border-color: transparent;
}

body.cinema-mode .btn-player.btn-player-next.is-disabled {
    background: #1e293b !important;
    color: #64748b !important;
    border-color: #334155 !important;
}

body.cinema-mode .btn-player.btn-player-light.active {
    background: #fef3c7;
    color: #b45309;
    border-color: #f59e0b;
}

/* Theater Mode (Phóng to / Lightbox) */
body.theater-mode {
    overflow: hidden;
}

body.theater-mode .player-theater-wrapper {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(94vw, 1320px);
    max-height: 94vh;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    animation: theaterModalZoom 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes theaterModalZoom {
    from {
        opacity: 0;
        transform: translate(-50%, -48%) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

body.theater-mode .player-theater-wrapper #iframe-container {
    width: 100%;
    aspect-ratio: 16/9;
    max-height: calc(90vh - 65px);
    margin-bottom: 8px !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

body.theater-mode .player-controls {
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

body.theater-mode .btn-player {
    background: rgba(30, 41, 59, 0.85);
    border-color: rgba(255, 255, 255, 0.15);
    color: #f1f5f9;
}

body.theater-mode .btn-player:hover {
    background: #334155;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

body.theater-mode .btn-player.btn-player-next {
    background: linear-gradient(135deg, #eb3941 0%, #ff5e62 100%);
    color: #ffffff;
    border-color: transparent;
}

body.theater-mode .btn-player.btn-player-next.is-disabled {
    background: rgba(30, 41, 59, 0.5) !important;
    color: #64748b !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

body.theater-mode .player-theater-wrapper .close-theater-btn {
    display: flex;
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .player-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 9px;
    }

    .player-controls-left {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
        width: 100%;
    }

    .player-controls-right {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 6px;
        width: 100%;
    }

    .btn-player {
        padding: 8px 6px;
        font-size: 12px;
        gap: 5px;
        justify-content: center;
        text-align: center;
    }

    .btn-player span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .player-theater-wrapper .close-theater-btn {
        top: -10px;
        right: -10px;
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    body.theater-mode .player-theater-wrapper {
        width: 96vw;
    }
}

/* ==========================================================================
   Player Loading Screen (.player-loader)
   ========================================================================== */
.player-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #172033 0%, #06090e 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.45s ease, visibility 0.45s ease, transform 0.45s ease;
    user-select: none;
    pointer-events: none;
    border-radius: 12px;
}

.player-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.02);
}

.player-loader-spinner {
    position: relative;
    width: 66px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.player-loader-spinner .spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3.5px solid rgba(235, 57, 65, 0.15);
    border-top-color: #eb3941;
    border-right-color: #ff6b72;
    animation: stpPlayerSpin 0.9s cubic-bezier(0.55, 0.15, 0.45, 0.85) infinite;
    box-shadow: 0 0 25px rgba(235, 57, 65, 0.3);
    box-sizing: border-box;
}

.player-loader-spinner .spinner-ring::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 1.5px solid transparent;
    border-bottom-color: rgba(255, 255, 255, 0.45);
    animation: stpPlayerSpinRev 1.8s linear infinite;
    box-sizing: border-box;
}

.player-loader-spinner .spinner-core {
    color: #eb3941;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: stpPulseGlow 1.5s ease-in-out infinite alternate;
}

.player-loader-spinner .spinner-core i {
    margin-left: 3px;
}

.player-loader-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.player-loader-text .loader-title {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.player-loader-text .loader-sub {
    color: #94a3b8;
    font-size: 12.5px;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.player-loader-text .loader-dots span {
    animation: stpBlinkDot 1.4s infinite both;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
}

.player-loader-text .loader-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.player-loader-text .loader-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes stpPlayerSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes stpPlayerSpinRev {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

@keyframes stpPulseGlow {
    0% {
        transform: scale(0.92);
        opacity: 0.75;
        filter: drop-shadow(0 0 3px rgba(235, 57, 65, 0.4));
    }
    100% {
        transform: scale(1.08);
        opacity: 1;
        filter: drop-shadow(0 0 10px rgba(235, 57, 65, 0.85));
    }
}

@keyframes stpBlinkDot {
    0%, 20% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

@media (max-width: 640px) {
    .player-loader-spinner {
        width: 52px;
        height: 52px;
        margin-bottom: 12px;
    }
    .player-loader-spinner .spinner-core {
        font-size: 16px;
    }
    .player-loader-text .loader-title {
        font-size: 13.5px;
    }
    .player-loader-text .loader-sub {
        font-size: 11.5px;
    }
}



