#nt_body .nt-container {
    max-width: 100% !important;
}
#nt_body > div > div.na-row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.col-md-3.na-col:last-child {
    display: none;
}
.live-wrap {
    max-width: 1400px;
    display: flex;
    background: #111;
    margin: auto;
    margin-bottom: 50px;
}

.video-area {
    flex: 3;
    background: #fff;
    position: relative;
}
body.dark-mode .video-area {
    background: #212529;
}

.chat-area {
    flex: 1;
    background: #1c1c1c;
}
iframe {
    width: 100%;
    height: 100%;
    border: none;
    aspect-ratio: 16 / 9;
}
.live-controls {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1000;
}

.cinema-btn {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
}

.cinema-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}

.live-wrap.cinema-mode {
    max-width: 1800px;
}

.live-wrap.cinema-mode .video-area {
    flex: 5;
}

.live-wrap.cinema-mode .chat-area {
    flex: 1.2;
}

.moblie-none {
    display: block;
}
.moblie-show {
    display: none;
}
@media (max-width: 768px) {
    .moblie-none {
        display: none;
    }
    .moblie-show {
        display: block;
        padding: 5px;
        padding-left: 10px;
    }
    .chat-area {
        background: #fff;
    }
    body.dark-mode .chat-area {
        background: #212529;
    }
    .video-area iframe {
        height: 100% !important;
    }
    .live-wrap {
        flex-wrap: wrap;
        margin-bottom: 10px;
    }
    .video-area,
    .live-wrap.cinema-mode .video-area,
    .live-wrap.cinema-mode .chat-area {
        width: 100%;
        flex: unset;
    }
    .chat-area {
        width: 100%;
    }
    .chat-area {
        border-left: 1px solid #fff;
        height: 400px;
        transition: height 0.25s ease;
    }
    #nt_footer {
        display: none;
    }
    .live-controls {
        display: none;
    }
    #nt_body .na-col {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
}
@media (min-width: 768px) {
    .col-md-9 {
        max-width: 100%;
        flex: 0 0 100%;
    }
}

#nt_sidebar_move {
    display: none !important;
}

.video-area {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.video-area iframe {
    flex: 1;
    width: 100%;
    border: 0;
}

.stream-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.live-badge {
    background: #ff2d55;
    color: #fff;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 8px;
}

.stream-meta {
    font-size: 13px;
    color: #aaa;
    margin-top: 4px;
    display: flex;
    gap: 5px;
    display: none;
}

.follow-btn {
    background: #53fc18;
    color: #000;
    border: 0;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.follow-btn:hover {
    opacity: 0.9;
}
.vod-btn {
    background: #333;
    color: #fff;
    border: 1px solid #444;
    padding: 8px 14px;
    border-radius: 6px;
    margin-left: 8px;
    cursor: pointer;
}

.vod-btn:hover {
    background: #444;
}

#vodListWrap {
    max-width: 1400px;
    display: flex;
    margin: auto;
}

.vod-item {
    cursor: pointer;
}

/* ===== ��� ���� �� ��ü ===== */
.stream-info-bar {
    background: #0f0f11;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* border-top: 1px solid #222; */
    width: 100%;
    box-sizing: border-box;
    flex: 1;
}

/* ===== ���� ���� ===== */
.stream-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* ===== ������ �̹��� ===== */
.stream-avatar {
    position: relative;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

/* ===== �ؽ�Ʈ ���� ===== */
.stream-text {
    display: flex;
    flex-direction: column;
}

.stream-name {
    font-size: 14px;
    font-weight: 700;
    color: #aaa;
    line-height: normal;
}

.stream-desc {
    font-size: 16px;
    color: #fff;
    font-weight: bold;
}

/* ī�װ��� ���� */
.category-badge {
    display: inline-block;
    padding: 4px 10px;
    background: #1f1f23;
    border-radius: 20px;
    font-size: 9px;
    color: #ccc;
}

/* ===== ������ ���� ===== */
.stream-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* ===== �ȷο� ��ư ===== */
.follow-btn {
    background: #53fc18;
    color: #000;
    border: 0;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.follow-btn:hover {
    background: #47e014;
}

/* ===== �ٽú��� ��ư ===== */
.vod-btn {
    background: #2a2a2e;
    color: #fff;
    border: 1px solid #333;
    padding: 9px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.vod-btn:hover {
    background: #3a3a3f;
}

/* ===== VOD ��ü ���� ===== */
.vod-list-wrap {
    width: 100%;
    padding: 20px 0;
}

/* ���� ��ũ�� */
.vod-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    overflow-x: auto;
    padding: 24px;
    scroll-behavior: smooth;
    background: #fff;
    width: 100%;
}

body.dark-mode .vod-list {
    background: #212529;
}

/* ��ũ�ѹ� ��Ÿ�� */
.vod-list::-webkit-scrollbar {
    height: 6px;
}
.vod-list::-webkit-scrollbar-track {
    background: #1a1a1a;
}
.vod-list::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}
.vod-list::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* ===== ���� ī�� ===== */
.vod-item {
    min-width: 240px;
    max-width: 240px;
    background: #18181b;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

/* hover ȿ�� */
.vod-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* ����� */
.vod-item img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

/* ���� ���� */
.vod-title {
    padding: 5px 12px;
    font-size: 16px;
    color: #ddd;
    font-weight: bold;
    line-height: 1.4;
    padding-bottom: 0;
}

.vod-date {
    padding: 5px 12px;
    font-size: 12px;
    color: #ddd;
    font-weight: 500;
    line-height: 1.4;
    padding-top: 0;
}

/* ������ */
@media (max-width: 768px) {
    .stream-info-bar {
        align-items: center;
        gap: 10px;
    }
    .stream-left {
        width: 90%;
    }
    .stream-right {
        justify-content: end;
    }
    .vod-manage-btn,
    .vod-btn {
        white-space: nowrap;
        font-size: 10px;
    }
    .vod-item {
        min-width: calc(50% - 16px);
        max-width: calc(50% - 16px);
    }
    .vod-list {
        justify-content: space-between;
        padding: 10px;
    }
    .vod-list-wrap {
        padding: 10px 0;
    }
    .vod-item img {
        height: 110px;
    }

    .vod-title {
        font-size: 12px;
    }

    .stream-avatar {
        width: 40px;
        height: 40px;
    }
    .stream-name {
        font-size: 12px;
        line-height: 18px;
    }
    .stream-desc {
        font-size: 12px;
        line-height: 18px;
    }
    .stream-info-bar {
        padding: 5px 10px;
    }
    .stream-meta {
        margin-top: 0;
    }
    .top-banner {
        display: none;
    }
    .category-badge {
        padding: 2px 10px;
    }
    .chat-area {
        transition: all 0.3s ease;
    }

    .live-wrap.chat-hidden .chat-area {
        display: none;
    }

    .live-wrap.chat-hidden .video-area {
        width: 100%;
    }
}

.video-area {
    transition: height 0.3s ease;
}

/* ä�� �����Ǿ��� �� */
body.chat-open .video-area {
    height: 45vh; /* ���� ���� */
}

/* ����Ͽ��� ���� ��� */
.chat-area.mobile-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 55vh;
    height: 55vh;
    z-index: 9999;
    background: #111;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

/* iframe �� ä��� */
.chat-area iframe {
    width: 100%;
    height: 100%;
    border: none;
}
@media (max-width: 768px) {
    .live-wrap {
        display: flex;
        flex-direction: column;

        overflow: hidden;
    }

    /* ������ 16:9 ���� */
    .video-area {
        flex: 0 0 auto;
    }

    .video-area iframe {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    /* ä���� ���� ���� */
    .chat-area {
        flex: 1;
        overflow: hidden;
    }

    .chat-area iframe {
        width: 100%;
        height: 100%;
        border: none;
    }

    .live-wrap.vod-open {
        height: auto !important;
        overflow: visible !important;
    }
    .vod-date {
        font-size: 11px;
    }
}

.vod-manage-btn {
    background: #f39c12;
    color: #000;
    border: 0;
    padding: 9px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
    margin-left: 8px;
}

.vod-manage-btn:hover {
    background: #e67e22;
}

/* �⺻ ���� */
.vod-list-wrap {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.vote-title {
    color: white;
}

/* ���� �� */
.vod-list-wrap.active {
    max-height: 2000px; /* ����� ū �� */
    opacity: 1;
    transform: translateY(0);
}

/* ===== Vote UI ===== */
.vote-container {
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 14px 14px 12px;
    margin: 10px 0 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    color: white;
}

.vote-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.vote-title {
    color: #fff; /* ? ���� ��� */
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
}

.vote-meta {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 120px;
}

.vote-meta .meta-line {
    color: #fff; /* ? �����ð�/�����ο� ��� */
    font-size: 12px;
    font-weight: 600;
    opacity: 0.95;
}

.vote-meta .meta-sub {
    font-size: 11px;
    opacity: 0.75;
}

.vote-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.vote-option {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px;
}

.vote-option button {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: 0.18s;
}

.vote-option button:hover {
    transform: translateY(-1px);
    border-color: rgba(76, 175, 80, 0.8);
}

.vote-option button.is-selected {
    background: rgba(76, 175, 80, 0.2);
    border-color: rgba(76, 175, 80, 0.75);
}

.vote-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
}

.vote-percent {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    opacity: 0.9;
    white-space: nowrap;
}

.vote-bar-wrap {
    flex: 1;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.vote-bar {
    height: 100%;
    width: 0%;
    background: rgba(76, 175, 80, 0.95);
    border-radius: 999px;
    transition: width 0.25s;
}

.vote-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.vote-submit {
    flex: 1;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(76, 175, 80, 0.55);
    background: rgba(76, 175, 80, 0.25);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    transition: 0.18s;
}

.vote-submit:hover {
    transform: translateY(-1px);
}
.vote-submit:disabled {
    cursor: not-allowed;
    opacity: 0.55;
    transform: none;
}

.vote-end {
    margin-top: 10px;
    color: #fff;
    opacity: 0.85;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.vod-item {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    position: relative;
}

.vod-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.vod-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vod-time {
    position: absolute;
    flex: 0 0 auto;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.88);
    top: 110px;
    right: 5px;
}
@media (max-width: 768px) {
    .vod-time {
        top: 75px;
    }
}
