.vod-scroll-container {
    overflow-y: auto;
    max-height: calc(100vh - 120px);
    scrollbar-width: none;
    flex: 1;
}

/* Player */
.player-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
}

.player-wrapper #player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Info Section */
.vod-info-section {
    padding: 16px;
}

.vod-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-main);
    margin-bottom: 8px;
}

.vod-meta {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 3px;
    height: 3px;
    background: var(--text-dim);
    border-radius: 50%;
}

/* Channel Row */
.channel-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.channel-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.channel-profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.ch-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
}

.ch-subs {
    font-size: 11px;
    color: var(--text-muted);
}

.sub-btn {
    background: var(--text-main);
    color: var(--bg-app);
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.sub-btn.subscribed {
    background: var(--bg-divider);
    color: var(--text-muted);
}

/* Action Bar */
.action-bar {
    display: flex;
    gap: 8px;
    padding-bottom: 16px;
    overflow-x: auto;
    scrollbar-width: none;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-divider);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.action-item svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-main);
    fill: none;
    stroke-width: 2;
}

.action-item.active {
    background: var(--primary-color);
    color: #fff;
}

.action-item.active svg {
    stroke: #fff;
    fill: #fff;
}

/* Description */
.description-box {
    background: var(--bg-divider);
    border-radius: 12px;
    padding: 12px;
    margin-top: 12px;
    position: relative;
}

.desc-content {
    font-size: 13px;
    color: var(--text-main);
    line-height: 1.5;
    max-height: 60px;
    overflow: hidden;
    white-space: pre-wrap;
}

.description-box.expanded .desc-content {
    max-height: none;
}

.desc-more {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-main);
    margin-top: 4px;
    cursor: pointer;
}

/* Category Setter */
.category-setter {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 16px;
}

.v3-select-box {
    flex: 1;
}

.v3-select-box select {
    width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-main);
    font-size: 13px;
}

.v3-btn-small {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-app);
    color: var(--text-main);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

/* Comments */
.comments-section {
    padding: 16px;
}

.comment-input-box {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.user-thumb {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.input-wrapper {
    flex: 1;
}

.input-wrapper textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-main);
    font-size: 14px;
    resize: none;
    min-height: 32px;
    outline: none;
    padding: 4px 0;
}

.send-btn {
    margin-top: 8px;
    float: right;
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.login-prompt {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    background: var(--bg-divider);
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
}

.comment-list {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-item {
    display: flex;
    gap: 12px;
}

.cmt-user-thumb {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.cmt-user {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}

.cmt-date {
    font-weight: 400;
    color: var(--text-dim);
    margin-left: 4px;
}

.cmt-text {
    font-size: 13px;
    color: var(--text-main);
    line-height: 1.4;
}

.load-more-btn {
    width: 100%;
    padding: 12px;
    margin-top: 16px;
    border: none;
    background: var(--bg-divider);
    color: var(--text-main);
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
}

/* Recommendations */
.recommend-list {
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rec-card {
    display: flex;
    gap: 12px;
    cursor: pointer;
}

.rec-thumb {
    width: 140px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.rec-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rec-info h3 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.rec-meta {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Modal */
.v3-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.v3-modal.active {
    display: flex;
}

.v3-modal-content {
    background: var(--bg-app);
    width: 100%;
    max-width: 360px;
    border-radius: 16px;
    padding: 24px;
}

.v3-modal-content h3 {
    margin-bottom: 8px;
}

.v3-modal-content p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.radio-item {
    display: block;
    padding: 10px 0;
    font-size: 14px;
    cursor: pointer;
}

.v3-modal-content textarea, .v3-modal-content input[type="text"] {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-main);
}

.modal-btns {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.modal-btns button {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    border: none;
    font-weight: 700;
    cursor: pointer;
}

.btn-cancel {
    background: var(--bg-divider);
    color: var(--text-main);
}

.btn-submit {
    background: var(--primary-color);
    color: #fff;
}

/* Utilities */
.divider-thin {
    height: 1px;
    background: var(--border-color);
    margin: 16px 0;
}

@media (min-width: 768px) {
    .vod-scroll-container {
        display: grid;
        grid-template-columns: 1fr 320px;
        gap: 24px;
        padding: 32px;
        align-items: start;
    }
    
    .player-wrapper {
        grid-column: 1;
    }
    
    .vod-info-section {
        grid-column: 1;
        padding: 16px 0;
    }
    
    .recommend-list {
        grid-column: 2;
        grid-row: 1 / 4;
        padding: 0;
    }
    
    .comments-section {
        grid-column: 1;
        padding: 16px 0;
    }
}

/* Comment interactions & replies */
.cmt-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.cmt-action-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.cmt-action-btn:hover {
    background: var(--bg-divider);
    color: var(--text-main);
}

.cmt-action-btn svg.thumb-icon {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
}

.cmt-action-btn.active {
    color: var(--primary-color);
}

.cmt-action-btn.active svg.thumb-icon {
    fill: var(--primary-color);
}

.replies-list {
    margin-left: 44px;
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-left: 2px solid var(--border-color);
    padding-left: 12px;
}

.reply-item {
    display: flex;
    gap: 10px;
}

.cmt-user-thumb-small {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.reply-input-box {
    margin-left: 44px;
    margin-top: 12px;
    display: flex;
    gap: 12px;
    background: var(--bg-card);
    padding: 10px;
    border-radius: 8px;
    border: 1px dashed var(--border-color);
}

.user-thumb-small {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.cmt-action-btn.delete-btn {
    color: var(--text-muted);
    margin-left: auto;
    font-size: 11px;
}

.cmt-action-btn.delete-btn:hover {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}
