.three-dimensional-viewer-container {
    width: 100%;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(255, 182, 193, 0.3);
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.three-dimensional-viewer-header {
    background: linear-gradient(135deg, #ff85a2, #ff6b9d);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.three-dimensional-viewer-title {
    font-size: 1.2rem;
    font-weight: 500;
}

.three-dimensional-viewer-controls {
    display: flex;
    gap: 10px;
}

.three-dimensional-control-btn {
    background: rgba(255, 255, 255, 0.25);
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(5px);
}

.three-dimensional-control-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.three-dimensional-viewer-content {
    width: 100%;
    height: 500px;
    position: relative;
}

#three-dimensional-viewer {
    width: 100%;
    height: 100%;
}

.three-dimensional-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 105, 180, 0.8);
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    display: none;
    backdrop-filter: blur(5px);
}

.three-dimensional-zoom-hint {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(255, 105, 180, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
    animation: three-dimensional-fadeInOut 3s ease-in-out infinite;
    backdrop-filter: blur(5px);
}

@keyframes three-dimensional-fadeInOut {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.three-dimensional-instructions {
    padding: 15px 20px;
    background: rgba(255, 240, 245, 0.7);
    border-top: 1px solid rgba(255, 182, 193, 0.3);
    font-size: 0.9rem;
    color: #d63384;
}

.three-dimensional-instructions ul {
    margin-left: 20px;
}

.three-dimensional-instructions li {
    margin-bottom: 5px;
}

@media (max-width: 600px) {
    .three-dimensional-viewer-content {
        height: 400px;
    }
    
    .three-dimensional-viewer-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .three-dimensional-viewer-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .three-dimensional-zoom-hint {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
}