.display-container {
    width: 100%;
    height: 500px;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

#main-view {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.thumbnail-belt {
    display: flex;
    gap: 10px;
    padding: 20px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Modern, clean look */
}

.thumb {
    width: 120px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid var(--border);
    opacity: 0.5;
    scroll-snap-align: start;
    transition: all 0.2s ease;
}

.thumb.active, .thumb:hover {
    opacity: 1;
    border-color: var(--accent);
}

/* Shared Modal Styles */
.modal-overlay {
    display: none; /* Hidden */
    position: fixed;
    z-index: 1000;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(10, 10, 10, 0.95); /* Deep matte */
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 90%;
    max-height: 80%;
}

#modal-img {
    width: 100%;
    height: auto;
    border: 1px solid var(--border);
}

.close-modal {
    position: absolute;
    top: 30px; right: 40px;
    color: var(--muted);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover { color: white; }
