.viewOverview {
    display: none;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.viewOverview.active {
    display: block;
}

.mainContainer.editActive .viewOverview {
    border: 10px solid #f8f8f8;
    box-sizing: border-box;
}

.viewOverview .overviewList {
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
    padding: 30px;
    box-sizing: border-box;
    align-content: start;
    grid-auto-rows: auto;
}

.viewOverview .overviewList .hypervideoThumb {
    -webkit-transition-property: all;
    -moz-transition-property: all;
    -o-transition-property: all;
    transition-property: all;
    width: 100%;
    height: auto;
    margin: 0;
    aspect-ratio: 16 / 9;
    grid-column: span 6;
}

/* Responsive grid columns for hypervideo thumbs (container-relative) */
@container ft-root (min-width: 768px) {
    .viewOverview .overviewList .hypervideoThumb {
        grid-column: span 4;
    }
}

@container ft-root (min-width: 992px) {
    .viewOverview .overviewList .hypervideoThumb {
        grid-column: span 4;
    }
}

@container ft-root (min-width: 1200px) {
    .viewOverview .overviewList .hypervideoThumb {
        grid-column: span 3;
    }
}

.viewOverview .overviewList .hypervideoThumb.newHypervideoThumb {
    background: transparent !important;
    border: 2px dashed var(--secondary-fg-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    color: var(--primary-fg-color);
    opacity: 0.7;
    transition-property: opacity, border-color;
}

.viewOverview .overviewList .hypervideoThumb.newHypervideoThumb:hover {
    border-color: var(--primary-fg-color);
    background-size: unset;
    opacity: 1;
}

.viewOverview .overviewList .hypervideoThumb.newHypervideoThumb [class^="icon-"]::before {
    position: static;
    font-size: 22px;
    margin: 0;
    color: inherit;
    text-shadow: none;
}

.viewOverview .overviewList .hypervideoThumb.newHypervideoThumb .newHypervideoLabel {
    color: var(--primary-fg-color);
}

.viewOverview .emptyStateHint {
    position: absolute;
    top: 12px;
    right: 6px;
    background: var(--primary-fg-color);
    color: var(--primary-bg-color);
    padding: 9px 14px;
    border-radius: 6px;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: none;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.viewOverview .emptyStateHint::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 11px;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 8px solid var(--primary-fg-color);
}

.viewOverview .emptyStateHint.visible {
    display: flex;
}