.ylb-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 24px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.ylb-header {
    margin-bottom: 20px;
}

.ylb-header h2 {
    margin: 0 0 8px;
    font-size: 32px;
    font-weight: 700;
    color: #1f2a44;
}

.ylb-header p {
    margin: 0;
    color: #666;
    font-size: 15px;
}

.ylb-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    align-items: start;
}

.ylb-main-video {
    min-width: 0;
}

.ylb-iframe-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}

.ylb-iframe-container iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.ylb-main-info {
    margin-top: 16px;
}

.ylb-badge {
    display: inline-block;
    background: #d71920;
    color: #fff;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}

.ylb-main-info h3 {
    margin: 0 0 10px;
    font-size: 24px;
    color: #1f2a44;
    line-height: 1.2;
}

.ylb-main-info p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.ylb-sidebar {
    min-width: 0;
}

.ylb-sidebar h3 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 20px;
    color: #1f2a44;
}

.ylb-video-list {
    max-height: 520px;
    overflow-y: auto;
    padding-right: 6px;
}

.ylb-video-item {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}

.ylb-video-item:hover {
    transform: translateY(-1px);
}

.ylb-video-item img {
    width: 150px;
    height: 84px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.ylb-video-meta {
    flex: 1;
    min-width: 0;
}

.ylb-video-meta h4 {
    margin: 0 0 6px;
    font-size: 14px;
    color: #1f2a44;
    line-height: 1.35;
    word-break: break-word;
}

.ylb-video-meta span {
    font-size: 12px;
    color: #888;
}

.ylb-message {
    max-width: 1200px;
    margin: 30px auto;
    padding: 18px;
    background: #fff3f3;
    border: 1px solid #f1c0c0;
    color: #b00020;
    border-radius: 12px;
}

@media (max-width: 991px) {
    .ylb-grid {
        grid-template-columns: 1fr;
    }

    .ylb-wrapper {
        padding: 18px;
    }

    .ylb-header h2 {
        font-size: 26px;
    }

    .ylb-video-list {
        max-height: none;
        overflow-y: visible;
    }
}

@media (max-width: 576px) {
    .ylb-video-item {
        flex-direction: column;
    }

    .ylb-video-item img {
        width: 100%;
        height: auto;
    }

    .ylb-main-info h3 {
        font-size: 20px;
    }
}