/*-------------------------------- AI講解彈跳視窗設定1 --------------------------------*/
#imageIndex {
    /* position: absolute; */
    top: 20px;
    left: 20px;
    font-size: 18px;
    color: #fff;
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: none;
    /* justify-content: center; */
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
}

@media (max-width: 1000px) {
    .popup {
        justify-content: flex-end;
        padding-bottom: 140px;
    }
}

.popup-header {
    width: 100%;
    max-width: 2000px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 10px 20px;
    box-sizing: border-box;

    color: #fff;
}

/* 關閉按鈕 */
#closePopup {
    /* position: absolute; */
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: #fff;
    background: transparent !important;
    z-index: 1000;
}

/* 圖片大小 */
.popup-image {
    /* max-width: 90%;
    max-height: 80%; */
    max-width: 90%;
    max-height: 60vh;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .popup-image {
        max-width: 100%;
        max-height: 100%;
    }
}

@media (max-width: 480px) {
    .popup-image {
        max-width: 100%;
        max-height: 100%;
    }
}


/* 圖片的箭頭區域 */
.popup-nav {
    font-size: 36px;
    color: #fff;
    background: transparent;
    border: none;
    cursor: pointer;
}

#prev {
    position: absolute;
    left: 10px;
    font-size: 36px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

#next {
    position: absolute;
    right: 10px;
    font-size: 36px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}


/* AI講解影片（與 #popupVideoContainer2 相同定位與尺寸） */
#popupVideoContainer1 {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    max-width: 400px;
    min-height: 200px;
    margin: 20px auto;

    padding-bottom: 10px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    z-index: 999;
    display: flex;
    flex-direction: column;
    cursor: grab;
    transition: height 0.3s ease, width 0.3s ease;
}


#popupVideoContainer1.minimized {
    height: 30px !important;
    min-height: 30px !important;
    overflow: hidden;
}


@media (min-width: 401px) and (max-width: 768px) {
    #popupVideoContainer1 {
        width: 250px;
        height: 350px;
    }
}

@media (min-width: 769px) and (max-width: 1000px) {
    #popupVideoContainer1 {
        width: 400px;
        height: 500px;
    }
}

@media (min-width: 1001px) and (max-width: 1299px) {
    #popupVideoContainer1 {
        width: 150px;
        height: 250px;
    }
}

@media (min-width: 1300px) {
    #popupVideoContainer1 {
        width: 350px;
        height: 450px;
    }
}

/* AI講解區域 */
#popupVideoContainer1 .video-header {
    height: 30px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    flex-shrink: 0;
    z-index: 2;
}

#popupVideoContainer1 .video-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

#popupVideoContainer1 .video-body {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#popupVideoContainer1 .video-body video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

#popupVideoContainer1.video-container {
    cursor: grab;
}

#popupVideoContainer1.video-container:active {
    cursor: grabbing;
}

/* 
.video-header {
    height: 30px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    flex-shrink: 0;
    z-index: 2;
}

.video-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

.video-body {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-body video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
} */

/* AI講解影片拖拽 */
.video-container {
    cursor: grab;
}

.video-container:active {
    cursor: grabbing;
}

.ppt-area {
    padding-bottom: 10px;
}

@media (min-width: 1001px) {
    .ppt-area {
        padding-bottom: 140px;
    }
}

/* 縮圖區域 */
.thumbnail-container {
    position: fixed;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: start;
    gap: 10px;
    overflow-x: auto;
    z-index: 9999;
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 12px;
    padding-left: 10px;
    padding-right: 10px;
}

.thumbnail {
    max-width: 100px;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.thumbnail:hover {
    transform: scale(1.1);
}

.thumbnail.active {
    border: 3px solid #1dabbd;
    transform: scale(1.1);
}

.thumbnail-container img {
    max-width: 100px;
    cursor: pointer;
    border-radius: 8px;
}

.thumbnail-container::-webkit-scrollbar {
    height: 8px;
}

.thumbnail-container::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

/*-------------------------------- AI講解彈跳視窗設定2 --------------------------------*/
#imageIndex2 {
    /* position: absolute; */
    top: 20px;
    left: 20px;
    font-size: 18px;
    color: #fff;
}

#popup2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: none;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
}

@media (max-width: 1000px) {
    #popup2 {
        justify-content: flex-end;
        padding-bottom: 140px;/
    }
}

.popup-header {
    width: 100%;
    max-width: 2000px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 10px 20px;
    box-sizing: border-box;

    color: #fff;
}

/* 關閉按鈕 */
#closePopup2 {
    /* position: absolute; */
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: #fff;
    background: transparent !important;
    z-index: 1000;
}

/* 圖片的箭頭區域 */
.popup-nav {
    font-size: 36px;
    color: #fff;
    background: transparent;
    border: none;
    cursor: pointer;
}

#prev2 {
    position: absolute;
    left: 10px;
    font-size: 36px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

#next2 {
    position: absolute;
    right: 10px;
    font-size: 36px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

/* AI講解影片2 */
#popupVideoContainer2 {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    max-width: 400px;
    min-height: 200px;
    margin: 20px auto;

    padding-bottom: 10px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    z-index: 999;
    display: flex;
    flex-direction: column;
    cursor: grab;
    transition: height 0.3s ease, width 0.3s ease;
}

#popupVideoContainer2.minimized {
    height: 30px !important;
    min-height: 30px !important;
    overflow: hidden;
}

@media (min-width: 401px) and (max-width: 768px) {
    #popupVideoContainer2 {
        width: 250px;
        height: 350px;
    }
}

@media (min-width: 769px) and (max-width: 1000px) {
    #popupVideoContainer2 {
        width: 400px;
        height: 500px;
    }
}

@media (min-width: 1001px) and (max-width: 1299px) {
    #popupVideoContainer2 {
        width: 150px;
        height: 250px;
    }
}

@media (min-width: 1300px) {
    #popupVideoContainer2 {
        width: 350px;
        height: 450px;
    }
}


/* AI講解區域 */
#popupVideoContainer2 .video-header {
    height: 30px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    flex-shrink: 0;
    z-index: 2;
}

#popupVideoContainer2 .video-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

#popupVideoContainer2 .video-body {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#popupVideoContainer2 .video-body video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* AI講解影片拖拽 */
#popupVideoContainer2.video-container {
    cursor: grab;
}

#popupVideoContainer2.video-container:active {
    cursor: grabbing;
}

/* 縮圖區域2 */
.thumbnail-container2 {
    position: fixed;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: start;
    gap: 10px;
    overflow-x: auto;
    z-index: 9999;
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 12px;
    padding-left: 10px;
    padding-right: 10px;
}

.thumbnail2 {
    max-width: 100px;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.thumbnail2:hover {
    transform: scale(1.1);
}

.thumbnail2.active {
    border: 3px solid #1dabbd;
    transform: scale(1.1);
}

.thumbnail-container img {
    max-width: 100px;
    cursor: pointer;
    border-radius: 8px;
}

.thumbnail-container::-webkit-scrollbar {
    height: 8px;
}

.thumbnail-container::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

/*-------------------------------- AI講解彈跳視窗設定3 --------------------------------*/
#popupVideoContainer3 {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    max-width: 400px;
    min-height: 200px;
    margin: 20px auto;

    padding-bottom: 10px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    z-index: 999;
    display: flex;
    flex-direction: column;
    cursor: grab;
    transition: height 0.3s ease, width 0.3s ease;
}


#imageIndex3 {
    /* position: absolute; */
    top: 20px;
    left: 20px;
    font-size: 18px;
    color: #fff;
}

#popup3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: none;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
}

@media (max-width: 1000px) {
    #popup3 {
        justify-content: flex-end;
        padding-bottom: 140px;
    }
}

#popupVideoContainer3.minimized {
    height: 30px !important;
    min-height: 30px !important;
    overflow: hidden;
}

@media (min-width: 401px) and (max-width: 768px) {
    #popupVideoContainer3 {
        width: 250px;
        height: 350px;
    }
}

@media (min-width: 769px) and (max-width: 1000px) {
    #popupVideoContainer3 {
        width: 400px;
        height: 500px;
    }
}

@media (min-width: 1001px) and (max-width: 1299px) {
    #popupVideoContainer3 {
        width: 150px;
        height: 250px;
    }
}

@media (min-width: 1300px) {
    #popupVideoContainer3 {
        width: 350px;
        height: 450px;
    }
}

.popup-header {
    width: 100%;
    max-width: 2000px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 10px 20px;
    box-sizing: border-box;

    color: #fff;
}

/* 關閉按鈕 */
#closePopup3 {
    /* position: absolute; */
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: #fff;
    background: transparent !important;
    z-index: 1000;
}

/* 圖片的箭頭區域 */
.popup-nav {
    font-size: 36px;
    color: #fff;
    background: transparent;
    border: none;
    cursor: pointer;
}

#prev3 {
    position: absolute;
    left: 10px;
    font-size: 36px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

#next3 {
    position: absolute;
    right: 10px;
    font-size: 36px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

/* AI講解區域 */
#popupVideoContainer3 .video-header {
    height: 30px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    flex-shrink: 0;
    z-index: 2;
}

#popupVideoContainer3 .video-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

#popupVideoContainer3 .video-body {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#popupVideoContainer3 .video-body video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* AI講解影片拖拽 */
#popupVideoContainer3.video-container {
    cursor: grab;
}

#popupVideoContainer3.video-container:active {
    cursor: grabbing;
}

/* 縮圖區域3 */
.thumbnail-container3 {
    position: fixed;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: start;
    gap: 10px;
    overflow-x: auto;
    z-index: 9999;
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 12px;
    padding-left: 10px;
    padding-right: 10px;
}

.thumbnail3 {
    max-width: 100px;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.thumbnail3:hover {
    transform: scale(1.1);
}

.thumbnail3.active {
    border: 3px solid #1dabbd;
    transform: scale(1.1);
}

.thumbnail-container3 img {
    max-width: 100px;
    cursor: pointer;
    border-radius: 8px;
}

.thumbnail-container3::-webkit-scrollbar {
    height: 8px;
}

.thumbnail-container3::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

/*-------------------------------- AI講解彈跳視窗設定4 --------------------------------*/
#popupVideoContainer4 {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    max-width: 400px;
    min-height: 200px;
    margin: 20px auto;

    padding-bottom: 10px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    z-index: 999;
    display: flex;
    flex-direction: column;
    cursor: grab;
    transition: height 0.3s ease, width 0.3s ease;
}


#popupVideoContainer4.minimized {
    height: 30px !important;
    min-height: 30px !important;
    overflow: hidden;
}

@media (min-width: 401px) and (max-width: 768px) {
    #popupVideoContainer4 {
        width: 250px;
        height: 350px;
    }
}

@media (min-width: 769px) and (max-width: 1000px) {
    #popupVideoContainer4 {
        width: 400px;
        height: 500px;
    }
}

@media (min-width: 1001px) and (max-width: 1299px) {
    #popupVideoContainer4 {
        width: 150px;
        height: 250px;
    }
}

@media (min-width: 1300px) {
    #popupVideoContainer4 {
        width: 350px;
        height: 450px;
    }
}


#imageIndex4 {
    /* position: absolute; */
    top: 20px;
    left: 20px;
    font-size: 18px;
    color: #fff;
}

#popup4 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: none;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
}

@media (max-width: 1000px) {
    #popup4 {
        justify-content: flex-end;
        padding-bottom: 140px;/
    }
}

.popup-header {
    width: 100%;
    max-width: 2000px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 10px 20px;
    box-sizing: border-box;

    color: #fff;
}

/* 關閉按鈕 */
#closePopup4 {
    /* position: absolute; */
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: #fff;
    background: transparent !important;
    z-index: 1000;
}

/* 圖片的箭頭區域 */
.popup-nav {
    font-size: 36px;
    color: #fff;
    background: transparent;
    border: none;
    cursor: pointer;
}

#prev4 {
    position: absolute;
    left: 10px;
    font-size: 36px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

#next4 {
    position: absolute;
    right: 10px;
    font-size: 36px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

/* AI講解區域 */
#popupVideoContainer4 .video-header {
    height: 30px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    flex-shrink: 0;
    z-index: 2;
}

#popupVideoContainer4 .video-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

#popupVideoContainer4 .video-body {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#popupVideoContainer4 .video-body video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* AI講解影片拖拽 */
#popupVideoContainer4.video-container {
    cursor: grab;
}

#popupVideoContainer4.video-container:active {
    cursor: grabbing;
}

/* 縮圖區域4 */
.thumbnail-container4 {
    position: fixed;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: start;
    gap: 10px;
    overflow-x: auto;
    z-index: 9999;
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 12px;
    padding-left: 10px;
    padding-right: 10px;
}

.thumbnail4 {
    max-width: 100px;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.thumbnail4:hover {
    transform: scale(1.1);
}

.thumbnail4.active {
    border: 3px solid #1dabbd;
    transform: scale(1.1);
}

.thumbnail-container4 img {
    max-width: 100px;
    cursor: pointer;
    border-radius: 8px;
}

.thumbnail-container4::-webkit-scrollbar {
    height: 8px;
}

.thumbnail-container4::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

/*-------------------------------- AI講解彈跳視窗設定5 --------------------------------*/
#popupVideoContainer5 {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    max-width: 400px;
    min-height: 200px;
    margin: 20px auto;

    padding-bottom: 10px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    z-index: 999;
    display: flex;
    flex-direction: column;
    cursor: grab;
    transition: height 0.3s ease, width 0.3s ease;
}

#imageIndex5 {
    /* position: absolute; */
    top: 20px;
    left: 20px;
    font-size: 18px;
    color: #fff;
}

#popup5 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: none;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
}

@media (max-width: 1000px) {
    #popup5 {
        justify-content: flex-end;
        padding-bottom: 140px;
    }
}

#popupVideoContainer5.minimized {
    height: 30px !important;
    min-height: 30px !important;
    overflow: hidden;
}

@media (min-width: 401px) and (max-width: 768px) {
    #popupVideoContainer5 {
        width: 250px;
        height: 350px;
    }
}

@media (min-width: 769px) and (max-width: 1000px) {
    #popupVideoContainer5 {
        width: 400px;
        height: 500px;
    }
}

@media (min-width: 1001px) and (max-width: 1299px) {
    #popupVideoContainer5 {
        width: 150px;
        height: 250px;
    }
}

@media (min-width: 1300px) {
    #popupVideoContainer5 {
        width: 350px;
        height: 450px;
    }
}

.popup-header {
    width: 100%;
    max-width: 2000px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 10px 20px;
    box-sizing: border-box;

    color: #fff;
}

/* 關閉按鈕 */
#closePopup5 {
    /* position: absolute; */
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: #fff;
    background: transparent !important;
    z-index: 1000;
}

/* 圖片的箭頭區域 */
.popup-nav {
    font-size: 36px;
    color: #fff;
    background: transparent;
    border: none;
    cursor: pointer;
}

#prev5 {
    position: absolute;
    left: 10px;
    font-size: 36px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

#next5 {
    position: absolute;
    right: 10px;
    font-size: 36px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

/* AI講解區域 */
#popupVideoContainer5 .video-header {
    height: 30px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    flex-shrink: 0;
    z-index: 2;
}

#popupVideoContainer5 .video-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

#popupVideoContainer5 .video-body {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#popupVideoContainer5 .video-body video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* AI講解影片拖拽 */
#popupVideoContainer5.video-container {
    cursor: grab;
}

#popupVideoContainer5.video-container:active {
    cursor: grabbing;
}

/* 縮圖區域5 */
.thumbnail-container5 {
    position: fixed;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: start;
    gap: 10px;
    overflow-x: auto;
    z-index: 9999;
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 12px;
    padding-left: 10px;
    padding-right: 10px;
}

.thumbnail5 {
    max-width: 100px;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.thumbnail5:hover {
    transform: scale(1.1);
}

.thumbnail5.active {
    border: 3px solid #1dabbd;
    transform: scale(1.1);
}

.thumbnail-container5 img {
    max-width: 100px;
    cursor: pointer;
    border-radius: 8px;
}

.thumbnail-container5::-webkit-scrollbar {
    height: 8px;
}

.thumbnail-container5::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

/*-------------------------------- AI講解彈跳視窗設定6 --------------------------------*/
#popupVideoContainer6 {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    max-width: 400px;
    min-height: 200px;
    margin: 20px auto;

    padding-bottom: 10px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    z-index: 999;
    display: flex;
    flex-direction: column;
    cursor: grab;
    transition: height 0.3s ease, width 0.3s ease;
}

#popupVideoContainer6.minimized {
    height: 30px !important;
    min-height: 30px !important;
    overflow: hidden;
}

@media (min-width: 401px) and (max-width: 768px) {
    #popupVideoContainer6 {
        /* width: 120px;
        height: 180px; */
        width: 250px;
        height: 350px;
    }
}

@media (min-width: 769px) and (max-width: 1000px) {
    #popupVideoContainer6 {
        /* width: 150px;
        height: 240px; */
        width: 400px;
        height: 500px;
    }
}

@media (min-width: 1001px) and (max-width: 1299px) {
    #popupVideoContainer6 {
        /* width: 220px;
        height: 360px; */
        width: 150px;
        height: 250px;
    }
}

@media (min-width: 1300px) {
    #popupVideoContainer6 {
        /* width: 220px;
        height: 360px; */
        width: 350px;
        height: 450px;
    }
}


#imageIndex6 {
    /* position: absolute; */
    top: 20px;
    left: 20px;
    font-size: 18px;
    color: #fff;
}

#popup6 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: none;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
}

@media (max-width: 1000px) {
    #popup6 {
        justify-content: flex-end;
        padding-bottom: 140px;/
    }
}

.popup-header {
    width: 100%;
    max-width: 2000px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 10px 20px;
    box-sizing: border-box;

    color: #fff;
}

/* 關閉按鈕 */
#closePopup6 {
    /* position: absolute; */
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: #fff;
    background: transparent !important;
    z-index: 1000;
}

/* 圖片的箭頭區域 */
.popup-nav {
    font-size: 36px;
    color: #fff;
    background: transparent;
    border: none;
    cursor: pointer;
}

#prev6 {
    position: absolute;
    left: 10px;
    font-size: 36px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

#next6 {
    position: absolute;
    right: 10px;
    font-size: 36px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

/* AI講解區域 */
#popupVideoContainer6 .video-header {
    height: 30px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    flex-shrink: 0;
    z-index: 2;
}

#popupVideoContainer6 .video-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

#popupVideoContainer6 .video-body {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#popupVideoContainer6 .video-body video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* AI講解影片拖拽 */
#popupVideoContainer6.video-container {
    cursor: grab;
}

#popupVideoContainer6.video-container:active {
    cursor: grabbing;
}

/* 縮圖區域6 */
.thumbnail-container6 {
    position: fixed;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: start;
    gap: 10px;
    overflow-x: auto;
    z-index: 9999;
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 12px;
    padding-left: 10px;
    padding-right: 10px;
}

.thumbnail6 {
    max-width: 100px;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.thumbnail6:hover {
    transform: scale(1.1);
}

.thumbnail6.active {
    border: 3px solid #1dabbd;
    transform: scale(1.1);
}

.thumbnail-container6 img {
    max-width: 100px;
    cursor: pointer;
    border-radius: 8px;
}

.thumbnail-container6::-webkit-scrollbar {
    height: 8px;
}

.thumbnail-container6::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

/*-------------------------------- AI講解彈跳視窗設定7 --------------------------------*/
#popupVideoContainer7 {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    max-width: 400px;
    min-height: 200px;
    margin: 20px auto;

    padding-bottom: 10px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    z-index: 999;
    display: flex;
    flex-direction: column;
    cursor: grab;
    transition: height 0.3s ease, width 0.3s ease;
}

#popupVideoContainer7.minimized {
    height: 30px !important;
    min-height: 30px !important;
    overflow: hidden;
}

@media (min-width: 401px) and (max-width: 768px) {
    #popupVideoContainer7 {
        /* width: 120px;
        height: 180px; */
        width: 250px;
        height: 350px;
    }
}

@media (min-width: 769px) and (max-width: 1000px) {
    #popupVideoContainer7 {
        /* width: 150px;
        height: 240px; */
        width: 400px;
        height: 500px;
    }
}

@media (min-width: 1001px) and (max-width: 1299px) {
    #popupVideoContainer7 {
        /* width: 220px;
        height: 360px; */
        width: 150px;
        height: 250px;
    }
}

@media (min-width: 1300px) {
    #popupVideoContainer7 {
        /* width: 220px;
        height: 360px; */
        width: 350px;
        height: 450px;
    }
}


#imageIndex7 {
    /* position: absolute; */
    top: 20px;
    left: 20px;
    font-size: 18px;
    color: #fff;
}

#popup7 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: none;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
}

@media (max-width: 1000px) {
    #popup7 {
        justify-content: flex-end;
        padding-bottom: 140px;/
    }
}

.popup-header {
    width: 100%;
    max-width: 2000px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 10px 20px;
    box-sizing: border-box;

    color: #fff;
}

/* 關閉按鈕 */
#closePopup7 {
    /* position: absolute; */
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: #fff;
    background: transparent !important;
    z-index: 1000;
}

/* 圖片的箭頭區域 */
.popup-nav {
    font-size: 36px;
    color: #fff;
    background: transparent;
    border: none;
    cursor: pointer;
}

#prev7 {
    position: absolute;
    left: 10px;
    font-size: 36px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

#next7 {
    position: absolute;
    right: 10px;
    font-size: 36px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

/* AI講解區域 */
#popupVideoContainer7 .video-header {
    height: 30px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    flex-shrink: 0;
    z-index: 2;
}

#popupVideoContainer7 .video-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

#popupVideoContainer7 .video-body {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#popupVideoContainer7 .video-body video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* AI講解影片拖拽 */
#popupVideoContainer7.video-container {
    cursor: grab;
}

#popupVideoContainer7.video-container:active {
    cursor: grabbing;
}

/* 縮圖區域7 */
.thumbnail-container7 {
    position: fixed;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: start;
    gap: 10px;
    overflow-x: auto;
    z-index: 9999;
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 12px;
    padding-left: 10px;
    padding-right: 10px;
}

.thumbnail7 {
    max-width: 100px;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.thumbnail7:hover {
    transform: scale(1.1);
}

.thumbnail7.active {
    border: 3px solid #1dabbd;
    transform: scale(1.1);
}

.thumbnail-container7 img {
    max-width: 100px;
    cursor: pointer;
    border-radius: 8px;
}

.thumbnail-container7::-webkit-scrollbar {
    height: 8px;
}

.thumbnail-container7::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

/*-------------------------------- AI講解彈跳視窗設定8 --------------------------------*/
#popupVideoContainer8 {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    max-width: 400px;
    min-height: 200px;
    margin: 20px auto;

    padding-bottom: 10px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    z-index: 999;
    display: flex;
    flex-direction: column;
    cursor: grab;
    transition: height 0.3s ease, width 0.3s ease;
}

#popupVideoContainer8.minimized {
    height: 30px !important;
    min-height: 30px !important;
    overflow: hidden;
}

@media (min-width: 401px) and (max-width: 768px) {
    #popupVideoContainer8 {
        /* width: 120px;
        height: 180px; */
        width: 250px;
        height: 350px;
    }
}

@media (min-width: 769px) and (max-width: 1000px) {
    #popupVideoContainer8 {
        /* width: 150px;
        height: 240px; */
        width: 400px;
        height: 500px;
    }
}

@media (min-width: 1001px) and (max-width: 1299px) {
    #popupVideoContainer8 {
        /* width: 220px;
        height: 360px; */
        width: 150px;
        height: 250px;
    }
}

@media (min-width: 1300px) {
    #popupVideoContainer8 {
        /* width: 220px;
        height: 360px; */
        width: 350px;
        height: 450px;
    }
}


#imageIndex8 {
    /* position: absolute; */
    top: 20px;
    left: 20px;
    font-size: 18px;
    color: #fff;
}

#popup8 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: none;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
}

@media (max-width: 1000px) {
    #popup8 {
        justify-content: flex-end;
        padding-bottom: 140px;/
    }
}

.popup-header {
    width: 100%;
    max-width: 2000px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 10px 20px;
    box-sizing: border-box;

    color: #fff;
}

/* 關閉按鈕 */
#closePopup8 {
    /* position: absolute; */
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: #fff;
    background: transparent !important;
    z-index: 1000;
}

/* 圖片的箭頭區域 */
.popup-nav {
    font-size: 36px;
    color: #fff;
    background: transparent;
    border: none;
    cursor: pointer;
}

#prev8 {
    position: absolute;
    left: 10px;
    font-size: 36px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

#next8 {
    position: absolute;
    right: 10px;
    font-size: 36px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

/* AI講解區域 */
#popupVideoContainer8 .video-header {
    height: 30px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    flex-shrink: 0;
    z-index: 2;
}

#popupVideoContainer8 .video-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

#popupVideoContainer8 .video-body {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#popupVideoContainer8 .video-body video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* AI講解影片拖拽 */
#popupVideoContainer8.video-container {
    cursor: grab;
}

#popupVideoContainer8.video-container:active {
    cursor: grabbing;
}

/* 縮圖區域8 */
.thumbnail-container8 {
    position: fixed;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: start;
    gap: 10px;
    overflow-x: auto;
    z-index: 9999;
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 12px;
    padding-left: 10px;
    padding-right: 10px;
}

.thumbnail8 {
    max-width: 100px;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.thumbnail8:hover {
    transform: scale(1.1);
}

.thumbnail8.active {
    border: 3px solid #1dabbd;
    transform: scale(1.1);
}

.thumbnail-container8 img {
    max-width: 100px;
    cursor: pointer;
    border-radius: 8px;
}

.thumbnail-container8::-webkit-scrollbar {
    height: 8px;
}

.thumbnail-container8::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

/*-------------------------------- AI講解彈跳視窗設定9 --------------------------------*/
#popupVideoContainer9 {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    max-width: 400px;
    min-height: 200px;
    margin: 20px auto;

    padding-bottom: 10px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    z-index: 999;
    display: flex;
    flex-direction: column;
    cursor: grab;
    transition: height 0.3s ease, width 0.3s ease;
}

#popupVideoContainer9.minimized {
    height: 30px !important;
    min-height: 30px !important;
    overflow: hidden;
}

@media (min-width: 401px) and (max-width: 768px) {
    #popupVideoContainer9 {
        /* width: 120px;
        height: 180px; */
        width: 250px;
        height: 350px;
    }
}

@media (min-width: 769px) and (max-width: 1000px) {
    #popupVideoContainer9 {
        /* width: 150px;
        height: 240px; */
        width: 400px;
        height: 500px;
    }
}

@media (min-width: 1001px) and (max-width: 1299px) {
    #popupVideoContainer9 {
        /* width: 220px;
        height: 360px; */
        width: 150px;
        height: 250px;
    }
}

@media (min-width: 1300px) {
    #popupVideoContainer9 {
        /* width: 220px;
        height: 360px; */
        width: 350px;
        height: 450px;
    }
}


#imageIndex9 {
    /* position: absolute; */
    top: 20px;
    left: 20px;
    font-size: 18px;
    color: #fff;
}

#popup9 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: none;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
}

@media (max-width: 1000px) {
    #popup9 {
        justify-content: flex-end;
        padding-bottom: 140px;/
    }
}

.popup-header {
    width: 100%;
    max-width: 2000px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 10px 20px;
    box-sizing: border-box;

    color: #fff;
}

/* 關閉按鈕 */
#closePopup9 {
    /* position: absolute; */
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: #fff;
    background: transparent !important;
    z-index: 1000;
}

/* 圖片的箭頭區域 */
.popup-nav {
    font-size: 36px;
    color: #fff;
    background: transparent;
    border: none;
    cursor: pointer;
}

#prev9 {
    position: absolute;
    left: 10px;
    font-size: 36px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

#next9 {
    position: absolute;
    right: 10px;
    font-size: 36px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

/* AI講解區域 */
#popupVideoContainer9 .video-header {
    height: 30px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    flex-shrink: 0;
    z-index: 2;
}

#popupVideoContainer9 .video-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

#popupVideoContainer9 .video-body {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#popupVideoContainer9 .video-body video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* AI講解影片拖拽 */
#popupVideoContainer9.video-container {
    cursor: grab;
}

#popupVideoContainer9.video-container:active {
    cursor: grabbing;
}

/* 縮圖區域9 */
.thumbnail-container9 {
    position: fixed;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: start;
    gap: 10px;
    overflow-x: auto;
    z-index: 9999;
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 12px;
    padding-left: 10px;
    padding-right: 10px;
}

.thumbnail9 {
    max-width: 100px;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.thumbnail9:hover {
    transform: scale(1.1);
}

.thumbnail9.active {
    border: 3px solid #1dabbd;
    transform: scale(1.1);
}

.thumbnail-container9 img {
    max-width: 100px;
    cursor: pointer;
    border-radius: 8px;
}

.thumbnail-container9::-webkit-scrollbar {
    height: 8px;
}

.thumbnail-container9::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

/*-------------------------------- AI講解彈跳視窗設定10 --------------------------------*/
#popupVideoContainer10 {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    max-width: 400px;
    min-height: 200px;
    margin: 20px auto;

    padding-bottom: 10px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    z-index: 999;
    display: flex;
    flex-direction: column;
    cursor: grab;
    transition: height 0.3s ease, width 0.3s ease;
}

#popupVideoContainer10.minimized {
    height: 30px !important;
    min-height: 30px !important;
    overflow: hidden;
}

@media (min-width: 401px) and (max-width: 768px) {
    #popupVideoContainer10 {
        /* width: 120px;
        height: 180px; */
        width: 250px;
        height: 350px;
    }
}

@media (min-width: 769px) and (max-width: 1000px) {
    #popupVideoContainer10 {
        /* width: 150px;
        height: 240px; */
        width: 400px;
        height: 500px;
    }
}

@media (min-width: 1001px) and (max-width: 1299px) {
    #popupVideoContainer10 {
        /* width: 220px;
        height: 360px; */
        width: 150px;
        height: 250px;
    }
}

@media (min-width: 1300px) {
    #popupVideoContainer10 {
        /* width: 220px;
        height: 360px; */
        width: 350px;
        height: 450px;
    }
}


#imageIndex10 {
    /* position: absolute; */
    top: 20px;
    left: 20px;
    font-size: 18px;
    color: #fff;
}

#popup10 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: none;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
}

@media (max-width: 1000px) {
    #popup10 {
        justify-content: flex-end;
        padding-bottom: 140px;/
    }
}

.popup-header {
    width: 100%;
    max-width: 2000px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 10px 20px;
    box-sizing: border-box;

    color: #fff;
}

/* 關閉按鈕 */
#closePopup10 {
    /* position: absolute; */
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: #fff;
    background: transparent !important;
    z-index: 1000;
}

/* 圖片的箭頭區域 */
.popup-nav {
    font-size: 36px;
    color: #fff;
    background: transparent;
    border: none;
    cursor: pointer;
}

#prev10 {
    position: absolute;
    left: 10px;
    font-size: 36px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

#next10 {
    position: absolute;
    right: 10px;
    font-size: 36px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

/* AI講解區域 */
#popupVideoContainer10 .video-header {
    height: 30px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    flex-shrink: 0;
    z-index: 2;
}

#popupVideoContainer10 .video-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

#popupVideoContainer10 .video-body {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#popupVideoContainer10 .video-body video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* AI講解影片拖拽 */
#popupVideoContainer10.video-container {
    cursor: grab;
}

#popupVideoContainer10.video-container:active {
    cursor: grabbing;
}

/* 縮圖區域10 */
.thumbnail-container10 {
    position: fixed;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: start;
    gap: 10px;
    overflow-x: auto;
    z-index: 9999;
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 12px;
    padding-left: 10px;
    padding-right: 10px;
}

.thumbnail10 {
    max-width: 100px;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.thumbnail10:hover {
    transform: scale(1.1);
}

.thumbnail10.active {
    border: 3px solid #1dabbd;
    transform: scale(1.1);
}

.thumbnail-container10 img {
    max-width: 100px;
    cursor: pointer;
    border-radius: 8px;
}

.thumbnail-container10::-webkit-scrollbar {
    height: 8px;
}

.thumbnail-container10::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

/*-------------------------------- AI講解彈跳視窗設定11 --------------------------------*/
#popupVideoContainer11 {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    max-width: 400px;
    min-height: 200px;
    margin: 20px auto;

    padding-bottom: 10px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    z-index: 999;
    display: flex;
    flex-direction: column;
    cursor: grab;
    transition: height 0.3s ease, width 0.3s ease;
}

#popupVideoContainer11.minimized {
    height: 30px !important;
    min-height: 30px !important;
    overflow: hidden;
}

@media (min-width: 401px) and (max-width: 768px) {
    #popupVideoContainer11 {
        /* width: 120px;
        height: 180px; */
        width: 250px;
        height: 350px;
    }
}

@media (min-width: 769px) and (max-width: 1000px) {
    #popupVideoContainer11 {
        /* width: 150px;
        height: 240px; */
        width: 400px;
        height: 500px;
    }
}

@media (min-width: 1001px) and (max-width: 1299px) {
    #popupVideoContainer11 {
        /* width: 220px;
        height: 360px; */
        width: 150px;
        height: 250px;
    }
}

@media (min-width: 1300px) {
    #popupVideoContainer11 {
        /* width: 220px;
        height: 360px; */
        width: 350px;
        height: 450px;
    }
}


#imageIndex11 {
    /* position: absolute; */
    top: 20px;
    left: 20px;
    font-size: 18px;
    color: #fff;
}

#popup11 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: none;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
}

@media (max-width: 1000px) {
    #popup11 {
        justify-content: flex-end;
        padding-bottom: 140px;/
    }
}

.popup-header {
    width: 100%;
    max-width: 2000px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 10px 20px;
    box-sizing: border-box;

    color: #fff;
}

/* 關閉按鈕 */
#closePopup11 {
    /* position: absolute; */
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: #fff;
    background: transparent !important;
    z-index: 1000;
}

/* 圖片的箭頭區域 */
.popup-nav {
    font-size: 36px;
    color: #fff;
    background: transparent;
    border: none;
    cursor: pointer;
}

#prev11 {
    position: absolute;
    left: 10px;
    font-size: 36px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

#next11 {
    position: absolute;
    right: 10px;
    font-size: 36px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

/* AI講解區域 */
#popupVideoContainer11 .video-header {
    height: 30px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    flex-shrink: 0;
    z-index: 2;
}

#popupVideoContainer11 .video-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

#popupVideoContainer11 .video-body {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#popupVideoContainer11 .video-body video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* AI講解影片拖拽 */
#popupVideoContainer11.video-container {
    cursor: grab;
}

#popupVideoContainer11.video-container:active {
    cursor: grabbing;
}

/* 縮圖區域11 */
.thumbnail-container11 {
    position: fixed;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: start;
    gap: 10px;
    overflow-x: auto;
    z-index: 9999;
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 12px;
    padding-left: 10px;
    padding-right: 10px;
}

.thumbnail11 {
    max-width: 100px;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.thumbnail11:hover {
    transform: scale(1.1);
}

.thumbnail11.active {
    border: 3px solid #1dabbd;
    transform: scale(1.1);
}

.thumbnail-container11 img {
    max-width: 100px;
    cursor: pointer;
    border-radius: 8px;
}

.thumbnail-container11::-webkit-scrollbar {
    height: 8px;
}

.thumbnail-container11::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

/*-------------------------------- AI講解彈跳視窗設定12 --------------------------------*/
#popupVideoContainer12 {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    max-width: 400px;
    min-height: 200px;
    margin: 20px auto;

    padding-bottom: 10px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    z-index: 999;
    display: flex;
    flex-direction: column;
    cursor: grab;
    transition: height 0.3s ease, width 0.3s ease;
}

#popupVideoContainer12.minimized {
    height: 30px !important;
    min-height: 30px !important;
    overflow: hidden;
}

@media (min-width: 401px) and (max-width: 768px) {
    #popupVideoContainer12 {
        /* width: 120px;
        height: 180px; */
        width: 250px;
        height: 350px;
    }
}

@media (min-width: 769px) and (max-width: 1000px) {
    #popupVideoContainer12 {
        /* width: 150px;
        height: 240px; */
        width: 400px;
        height: 500px;
    }
}

@media (min-width: 1001px) and (max-width: 1299px) {
    #popupVideoContainer12 {
        /* width: 220px;
        height: 360px; */
        width: 150px;
        height: 250px;
    }
}

@media (min-width: 1300px) {
    #popupVideoContainer12 {
        /* width: 220px;
        height: 360px; */
        width: 350px;
        height: 450px;
    }
}


#imageIndex12 {
    /* position: absolute; */
    top: 20px;
    left: 20px;
    font-size: 18px;
    color: #fff;
}

#popup12 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: none;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
}

@media (max-width: 1000px) {
    #popup12 {
        justify-content: flex-end;
        padding-bottom: 140px;/
    }
}

.popup-header {
    width: 100%;
    max-width: 2000px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 10px 20px;
    box-sizing: border-box;

    color: #fff;
}

/* 關閉按鈕 */
#closePopup12 {
    /* position: absolute; */
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: #fff;
    background: transparent !important;
    z-index: 1000;
}

/* 圖片的箭頭區域 */
.popup-nav {
    font-size: 36px;
    color: #fff;
    background: transparent;
    border: none;
    cursor: pointer;
}

#prev12 {
    position: absolute;
    left: 10px;
    font-size: 36px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

#next12 {
    position: absolute;
    right: 10px;
    font-size: 36px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

/* AI講解區域 */
#popupVideoContainer12 .video-header {
    height: 30px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    flex-shrink: 0;
    z-index: 2;
}

#popupVideoContainer12 .video-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

#popupVideoContainer12 .video-body {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#popupVideoContainer12 .video-body video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* AI講解影片拖拽 */
#popupVideoContainer12.video-container {
    cursor: grab;
}

#popupVideoContainer12.video-container:active {
    cursor: grabbing;
}

/* 縮圖區域12 */
.thumbnail-container12 {
    position: fixed;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: start;
    gap: 10px;
    overflow-x: auto;
    z-index: 9999;
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 12px;
    padding-left: 10px;
    padding-right: 10px;
}

.thumbnail12 {
    max-width: 100px;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.thumbnail12:hover {
    transform: scale(1.1);
}

.thumbnail12.active {
    border: 3px solid #1dabbd;
    transform: scale(1.1);
}

.thumbnail-container12 img {
    max-width: 100px;
    cursor: pointer;
    border-radius: 8px;
}

.thumbnail-container12::-webkit-scrollbar {
    height: 8px;
}

.thumbnail-container12::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

/*-------------------------------- AI講解彈跳視窗設定13 --------------------------------*/
#popupVideoContainer13 {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    max-width: 400px;
    min-height: 200px;
    margin: 20px auto;

    padding-bottom: 10px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    z-index: 999;
    display: flex;
    flex-direction: column;
    cursor: grab;
    transition: height 0.3s ease, width 0.3s ease;
}

#popupVideoContainer13.minimized {
    height: 30px !important;
    min-height: 30px !important;
    overflow: hidden;
}

@media (min-width: 401px) and (max-width: 768px) {
    #popupVideoContainer13 {
        /* width: 120px;
        height: 180px; */
        width: 250px;
        height: 350px;
    }
}

@media (min-width: 769px) and (max-width: 1000px) {
    #popupVideoContainer13 {
        /* width: 150px;
        height: 240px; */
        width: 400px;
        height: 500px;
    }
}

@media (min-width: 1001px) and (max-width: 1299px) {
    #popupVideoContainer13 {
        /* width: 220px;
        height: 360px; */
        width: 150px;
        height: 250px;
    }
}

@media (min-width: 1300px) {
    #popupVideoContainer13 {
        /* width: 220px;
        height: 360px; */
        width: 350px;
        height: 450px;
    }
}


#imageIndex13 {
    /* position: absolute; */
    top: 20px;
    left: 20px;
    font-size: 18px;
    color: #fff;
}

#popup13 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: none;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
}

@media (max-width: 1000px) {
    #popup13 {
        justify-content: flex-end;
        padding-bottom: 140px;/
    }
}

/* 關閉按鈕 */
#closePopup13 {
    /* position: absolute; */
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: #fff;
    background: transparent !important;
    z-index: 1000;
}


#prev13 {
    position: absolute;
    left: 10px;
    font-size: 36px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

#next13 {
    position: absolute;
    right: 10px;
    font-size: 36px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

/* AI講解區域 */
#popupVideoContainer13 .video-header {
    height: 30px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    flex-shrink: 0;
    z-index: 2;
}

#popupVideoContainer13 .video-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

#popupVideoContainer13 .video-body {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#popupVideoContainer13 .video-body video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* AI講解影片拖拽 */
#popupVideoContainer13.video-container {
    cursor: grab;
}

#popupVideoContainer13.video-container:active {
    cursor: grabbing;
}

/* 縮圖區域13 */
.thumbnail-container13 {
    position: fixed;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: start;
    gap: 10px;
    overflow-x: auto;
    z-index: 9999;
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 12px;
    padding-left: 10px;
    padding-right: 10px;
}

.thumbnail13 {
    max-width: 100px;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.thumbnail13:hover {
    transform: scale(1.1);
}

.thumbnail13.active {
    border: 3px solid #1dabbd;
    transform: scale(1.1);
}

.thumbnail-container13 img {
    max-width: 100px;
    cursor: pointer;
    border-radius: 8px;
}

.thumbnail-container13::-webkit-scrollbar {
    height: 8px;
}

.thumbnail-container13::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

/*-------------------------------- AI講解彈跳視窗設定14 --------------------------------*/
#popupVideoContainer14 {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    max-width: 400px;
    min-height: 200px;
    margin: 20px auto;

    padding-bottom: 10px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    z-index: 999;
    display: flex;
    flex-direction: column;
    cursor: grab;
    transition: height 0.3s ease, width 0.3s ease;
}

#popupVideoContainer14.minimized {
    height: 30px !important;
    min-height: 30px !important;
    overflow: hidden;
}

@media (min-width: 401px) and (max-width: 768px) {
    #popupVideoContainer14 {
        /* width: 120px;
        height: 180px; */
        width: 250px;
        height: 350px;
    }
}

@media (min-width: 769px) and (max-width: 1000px) {
    #popupVideoContainer14 {
        /* width: 150px;
        height: 240px; */
        width: 400px;
        height: 500px;
    }
}

@media (min-width: 1001px) and (max-width: 1299px) {
    #popupVideoContainer14 {
        /* width: 220px;
        height: 360px; */
        width: 150px;
        height: 250px;
    }
}

@media (min-width: 1300px) {
    #popupVideoContainer14 {
        /* width: 220px;
        height: 360px; */
        width: 350px;
        height: 450px;
    }
}


#imageIndex14 {
    /* position: absolute; */
    top: 20px;
    left: 20px;
    font-size: 18px;
    color: #fff;
}

#popup14 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: none;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
}

@media (max-width: 1000px) {
    #popup14 {
        justify-content: flex-end;
        padding-bottom: 140px;/
    }
}


/* 關閉按鈕 */
#closePopup14 {
    /* position: absolute; */
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: #fff;
    background: transparent !important;
    z-index: 1000;
}

#prev14 {
    position: absolute;
    left: 10px;
    font-size: 36px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

#next14 {
    position: absolute;
    right: 10px;
    font-size: 36px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

/* AI講解區域 */
#popupVideoContainer14 .video-header {
    height: 30px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    flex-shrink: 0;
    z-index: 2;
}

#popupVideoContainer14 .video-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

#popupVideoContainer14 .video-body {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#popupVideoContainer14 .video-body video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* AI講解影片拖拽 */
#popupVideoContainer14.video-container {
    cursor: grab;
}

#popupVideoContainer14.video-container:active {
    cursor: grabbing;
}

/* 縮圖區域14 */
.thumbnail-container14 {
    position: fixed;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: start;
    gap: 10px;
    overflow-x: auto;
    z-index: 9999;
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 12px;
    padding-left: 10px;
    padding-right: 10px;
}

.thumbnail14 {
    max-width: 100px;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.thumbnail14:hover {
    transform: scale(1.1);
}

.thumbnail14.active {
    border: 3px solid #1dabbd;
    transform: scale(1.1);
}

.thumbnail-container14 img {
    max-width: 100px;
    cursor: pointer;
    border-radius: 8px;
}

.thumbnail-container14::-webkit-scrollbar {
    height: 8px;
}

.thumbnail-container14::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}


.video-controls {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    color: #fff;
}

.popup-trigger,
.popup-trigger2,
.popup-trigger3,
.popup-trigger4,
.popup-trigger5,
.popup-trigger6,
.popup-trigger7,
.popup-trigger8,
.popup-trigger9,
.popup-trigger10,
.popup-trigger11,
.popup-trigger12,
.popup-trigger13,
.popup-trigger14 {
    text-decoration: none;
    color: #000;
}

.popup-trigger:hover,
.popup-trigger2:hover,
.popup-trigger3:hover,
.popup-trigger4:hover,
.popup-trigger5:hover,
.popup-trigger6:hover,
.popup-trigger7:hover,
.popup-trigger8:hover,
.popup-trigger9:hover,
.popup-trigger10:hover,
.popup-trigger11:hover,
.popup-trigger12:hover,
.popup-trigger13:hover,
.popup-trigger14:hover {
    color: #333;
    /* 深灰色 */
}